-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
vbox: Cannot delete or start minikube if VM is deleted outside of minikube #5509
Comments
Ugh. |
Stepping through the code when doing this noticed that the executed command
returned with the following error
and it is returned as part of the err object however the DeleteHost(..) is printing out as a generic error as 'Unable to get the status of the cluster.' Is the requirement to report the error as what is returned to DeleteHost(..) or thinking of something else. Happy to take this on if required. |
Can I work on this? |
I'm checking the code about this error. minikube/pkg/minikube/cluster/cluster.go Line 110 in 5c6f33b
minikube/pkg/minikube/cluster/cluster.go Line 279 in 5c6f33b
Now there is not "machine does not exist" error handling in |
/assign |
I'm now fixing this. And I noticed the |
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. |
/remove-lifecycle stale |
The exact command to reproduce the issue:
Cancelled the start with
Ctrl+c
Failed:
Try to delete
Failed
To fix the problem
rm -r ~/.minikube/machines/minikube
You can reproduce the issue if you run
minikube start
and then delete the vm in the hypervisor GUI.The output of the
minikube logs
command:💣 command runner: getting ssh client for bootstrapper: Error dialing tcp via ssh client: dial tcp 127.0.0.1:22: connect: connection refused
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose
The operating system version:
Mac OS 10.14.6
The text was updated successfully, but these errors were encountered: