dhcp dnsmasq lost port in host config file
Bug #1192381 reported by
Wu Wenxiang
This bug affects 19 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Critical
|
Maru Newby | ||
Havana |
Fix Released
|
Critical
|
Maru Newby |
Bug Description
Version: Stable/Grizzly
In sometimes, If start up 5 vm, and each one has 2 nics, some of their nics could got a IP address from dhcp-agent.
Run dhclient or ipconfig /renew couldn't work around.
And I found there's no related port MAC in their dnsmasq config file => host, that caused this issue.
And the work around method is delete the VM, create again.
Or, kill all of the dnsmasq processes and dhcp-agent, then start them again.
Changed in neutron: | |
assignee: | nobody → Maru Newby (maru) |
Changed in neutron: | |
importance: | Medium → Critical |
tags: | added: neutron-parallel |
Changed in neutron: | |
milestone: | none → icehouse-2 |
tags: | added: havana-backport-potential |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
tags: | removed: havana-backport-potential |
Changed in neutron: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
With debug, I found the funciton port_update_end() didn't be called when quantum is busy, which caused the cache didn't updated when a port created with creating a VM, so that the host file (used for dnsmasq) didn't contain the new VM's MAC & IP address.
And I made a change, in dhcp-agent, I run a period thread to modify the sync flag to True every 10 mins.
Then the cache updated every 10 mins. Any VM who didn't get the IP from DHCP-agent then could got IP in 10 mins.
My solution couldn't fix this issue graceful but improvement.