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
Error during delete of xhyve VM #2102
Comments
This might be because xhyve is running setuid so the disk files end up owned by root, minikube would need to use sudo or route the delete via something in the xhyve driver to do the cleanup. |
I encountered the same issue. Looks to be a permission issue with docker-machine-driver-xhyve. Not sure if it was caused by update to macOS 10.13 or minikube v0.23.0. This related issue provides a viable workaround: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Environment:
Minikube version: 0.22.3
What happened:
Was trying to delete my VM and restart with a new kubernetes version. The delete failed with this error:
$ minikube delete Deleting local Kubernetes cluster... Errors occurred deleting machine: unexpected EOF remove /Users/coderanger/.minikube/machines/minikube/root-volume.sparsebundle/bands/909: permission denied
Trying to delete again just gives
open /Users/coderanger/.minikube/machines/minikube/config.json: no such file or directory
.Trying to continue on resulted in this:
What you expected to happen:
Delete should only remove the config.json after all other steps succeed.
How to reproduce it (as minimally and precisely as possible):
Not sure.
Anything else do we need to know:
I'm guessing the workaround is just to delete
~/.minikube
or maybe~/.minikube/machines
or similar?The text was updated successfully, but these errors were encountered: