-
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
kvm2 v1.2.0: Failed to delete cluster: Requested operation is not valid: domain is not running #4319
Comments
I deleted the VM manually from libvirt. Had to explicitly re-delete in minikube before minikube was able to recreate the cluster:
|
Very strange:
Do you mind sharing the output of Do you mind sharing the command you used to delete the "minikube" domain? |
Ow, I forgot to add my OS and version information:
As per deleting the VM, I used virt-manager, but the equivalent would be virsh undefine minikube I guess. Re-reading the error message, seems that the deletion should work regardless of the VM is running or not? |
@tstromberg This isn't that strange. Deleting a domain in kvm is a two step action. Eg:
The error above will happen if one destroys the running VM instance by It would also be a problem if one only did a I'll take a look on this. |
Hi, Can someone please comment if there is a workaround for this temporarily? |
|
@amruthar I'm not sure lastest kvm driver has my changes, but if you can build it from source, this problem is fixed. |
this issue still happens as on the integration tests : #4418 |
here is logs from integration test for KVM:
more :
|
@josedonizetti I confirm this issue is still happening with kvm2 driver and latest What happens :when trying to delete a stopped minikube a with kvm2 driver it fails with this error:
This started to show up when I killed a versions:$ docker-machine-driver-kvm2 --version $ minikube version OS :Debian rodete |
@medyagh Thanks. I'll work on this. :) |
There was an existing cluster created by Minikube 1.0.1 and shutdown.
After upgrading minikube to 1.1.0 and the corresponding docker-machine-driver-kvm2, deleting the existing cluster didn't work.
Starting the existing cluster triggered minikube to perform a successful upgrade, although deleting the upgraded cluster afterwards still doesn't work.
Upgrading the cluster:
Deleting the cluster:
The text was updated successfully, but these errors were encountered: