-
Notifications
You must be signed in to change notification settings - Fork 111
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
Can't start a VM till the lease expires #41
Comments
What version of the kvm driver are you using? |
|
@gheibia I think he was wondering what version of docker-machine-kvm did you download? This should have been fixed in v0.8.2 of this driver |
@r2d4 I don't think I've downloaded this directly. My guess is that this would be part of the docker-machine. If so, here is what I got:
|
After a bit of digging, it seems that I'm using 0.7.0. I couldn't determine the version through the command line ( |
I can confirm that this has indeed been resolved in 0.8.2. I manually replaced my older plugin with the new one and dropped and recreated the cluster. I can now stop and start the VM right after. I still see the error message about not finding the old lease files, but at least the cluster starts up. Thanks so much for the help. |
Having this fixed though I now observe that the VM's IP changes between restarts. I wonder if there is a workaround for this. Do I need to open another ticket for it? |
After updating minikube to v0.18.0 the problem returned. I figured if I update the docker-machine-kvm to its latest version (https://github.com/dhiltgen/docker-machine-kvm/releases/tag/v0.10.0), the problem might disappear, but it didn't. Basically, the VM won't start till the lease expires. |
There is a workaround for this:
|
not reproducible with current versions of the driver plugin |
I experience the same issue since a few days. |
I'm using Minikube with KVM through libvirt. Every time I stop the VM (which is the Minikube cluster's VM), I can't start it till the lease is expired.
Here is some detail:
Minikube version: v0.17.1
Environment:
What happened:
Whether or not the Minikube cluster's VM is properly stopped, I can't start it until the DHCP lease is expired.
It seems that this driver can't find the right lease file. That's the only error I see.
What you expected to happen:
Find the correct lease file and start without an error.
How to reproduce it:
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1228631
It seems that libvirt is changed to read lease records from custom made files (named after interface). But I think you already knew that.
The text was updated successfully, but these errors were encountered: