Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minikube delete giving error : X Exiting due to GUEST_PROFILE_DELETION: CreateFile C:\Users\username\.minikube\machines\minikube\boot2docker.iso: Access is denied., even though I'm running this command in administrator shell #10050

Closed
Allah-The-Dev opened this issue Dec 27, 2020 · 5 comments
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@Allah-The-Dev
Copy link

Steps to reproduce the issue:

  1. minikube start --cpus=4 --memory=8000M --driver=hyperv
  2. minikube delete

Full output of failed command:

  • Removing C:\Users\username.minikube\machines\minikube ...

X Exiting due to GUEST_PROFILE_DELETION: CreateFile C:\Users\username.minikube\machines\minikube\boot2docker.iso: Access is denied.
*

Full output of minikube start command used, if not already included:

minikube start --cpus=4 --memory=8000M --driver=hyperv

Optional: Full output of minikube logs command:

X Exiting due to GUEST_NOT_FOUND: load: filestore "minikube": open C:\Users\username\.minikube\machines\minikube\config.json: The system cannot find the file specified. * Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete' * Related issue: https://github.com//issues/9130
@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Dec 28, 2020
@medyagh
Copy link
Member

medyagh commented Jan 27, 2021

@Allah-The-Dev do u mind checking if u ave access to the folder ? C:\Users\username.minikube\machines\minikube\b

and also do u mind installing the latest verison of minikbue ? your verison seems to be outdated.

and also can u please share the full output of these commands ?

minikube delete --all
minikube start --cpus=4 --memory=8000M --alsologtostderr

@medyagh
Copy link
Member

medyagh commented Jan 27, 2021

/triage needs-information
/kind support

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Jan 27, 2021
@Allah-The-Dev
Copy link
Author

After this problem I uninstalled minikube using chocolatey and installed again, it worked. Now after minikube version 16, I never faced this issue again, may be it is fixed or not sure.

@medyagh
Copy link
Member

medyagh commented Feb 3, 2021

glad to see u dont have this issue

@medyagh medyagh closed this as completed Feb 3, 2021
@maxuellstalin
Copy link

Sorry I'm using the translator.

The same error happened to me, I simply deleted the minikube from my VM, which in this case is the HYPER-V, and then ran the minikube delete --all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

5 participants