minishift: Error deleting a running VM
Scenario:
I was running minishift, when I restarted the host laptop. After restart the laptop, I updated the client to latest minishift (1.2.0) although I don’t think this is related. I tried to delete the minishift VM to test caching of images, and I got this output:
$ minishift delete
Current Minishift VM is registered, but unregistration failed. Do you still want to delete the VM [y/N]?: n
Delete aborted.
$ minishift status
Running
$ minishift stop
Stopping local OpenShift cluster...
Error unregistering the VM: ssh command error:
command : sudo cat /etc/os-release
err : exit status 255
output : No user exists for uid 501
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (16 by maintainers)
I don’t see a any error/issue mentioned as above while running the same on minishift 1.6.0 and 1.7.0.
Closing the issue. If you find the issue still persist, please feel free to reopen it or create a new issue in minishift repo.
@jorgemoralespou The instructions for KVM are described: https://github.com/minishift/minishift/blob/master/docs/source/using/troubleshooting.adoc#kvm-domain-minishift-already-exists but the title might need an update. For xhyve I do not have a good alternative, as there are to my knowledge no real commandline tools ? /cc: @hardy @praveenkumar Do we have a way to debug or interact with xhyve ?
Forcibly stopping the xhyve process can be done with: