-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
VR: DHCP doesn't work on new instance "not using configured address ... because it is leased to ..." #10436
Comments
One more bit of information:
Also according to the dnsmasq log "backup-test" did indeed have this IP once but that was more than a month ago:
|
@salfers |
I don't think so. How do I find out if it was? |
You can run
It would explain that entries were not removed from the leases file, though. |
This matches the 3 month uptime the
For the MAC that is "blocking" the lease there indeed seems to be no 'remove' entry:
|
I did a quick test on a shared network in 4.20. I do see some commands like below
however, the file I've create a draft PR #10440, let's see if it works and no regression |
problem
After creating a new instance in a shared network it would not successfully get an IP. DHCP requests were not answered.
Investigating the Virtual Router reveals the following:
1e:00:ac:00:08:8d
belongs to the newly created VM (called "installdev") and according to the cloudstack UI it should have IP62.113.210.163
.A VM with
1e:00:cf:00:08:8d
indeed exists but is turned off and has a totally different IP.The information in dnsmasq's data files looks correct:
Checking the lease file for the same IP reveals older VMs that had this IP but all were already deleted:
Given the situation I don't understand why dnsmasq think the IP is leased to different host.
versions
CloudStack 4.19.1.1
KVM virtualization
The steps to reproduce the bug
This happened randomly, so unfortunately I don't have reproducible steps.
What to do about it?
Maybe this check in dnsmasq can be turned off? Because Cloudstack is the sole authority on instance IP assignment.
The text was updated successfully, but these errors were encountered: