Address re-allocation before DHCP lease's expire
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Stephen Gran | ||
Folsom |
Fix Released
|
High
|
Gary Kotton |
Bug Description
This is related to https:/
Running a Folsom install on Ubuntu precise, I am seeing:
I'm getting log lines of the form:
Feb 5 11:18:08 ucsprodcntl04 dnsmasq-
Feb 5 11:18:08 ucsprodcntl04 dnsmasq-
Which led me to debug further and find this sequence:
initial allocation:
2013-02-05 14:20:31 DEBUG [quantum.
2013-02-05 14:20:31 DEBUG [quantum.
2013-02-05 14:20:31 DEBUG [quantum.
<VM killed>
2013-02-05 14:21:42 DEBUG [quantum.
2013-02-05 14:21:42 DEBUG [quantum.
<New VM created>
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
2013-02-05 14:24:06 DEBUG [quantum.
Feb 5 14:25:49 ucsprodcntl04 dnsmasq-dhcp[6945]: not using configured address 10.252.8.55 because it is leased to fa:16:3e:44:00:53
Feb 5 14:25:49 ucsprodcntl04 dnsmasq-dhcp[6945]: DHCPDISCOVER(
Which I've finally tracked down to two issues:
1st) It turns out that dnsmasq's lease time is controlled with the setting 'dhcp_lease_time' in dhcp_agent.ini, while quantum-server's database entry for expiration time is controlled by the setting 'dhcp_lease_
Can I ask why there are 2 flags for this? I can't see the utility of being able to purposefully configure them to do different things, and it make it easy for an admin to miss one. Can the functionality please be merged?
2nd) It seems that quantum/
Please let me know what I can do to help.
tags: | added: folsom-backport-potential |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-3 → 2013.1 |
tags: | removed: folsom-backport-potential in-stable-folsom |
need someone from ipam/dhcp team to look into this. assigning to G-3 as we should triage by that point.