yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76657
[Bug 1645835] Re: protect for dhcp agent cache out of sync with neutron server
Reviewed: https://review.openstack.org/626641
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ffbf65126fcd25ca242e5512b6e30cb7a1b4ef37
Submitter: Zuul
Branch: master
commit ffbf65126fcd25ca242e5512b6e30cb7a1b4ef37
Author: aojeagarcia <aojeagarcia@xxxxxxxx>
Date: Thu Dec 20 19:49:56 2018 +0100
protect DHCP agent cache out of sync
If DHCP agent port cache is out of sync with neutron server, dnsmasq
entries are wrong and VMs may not acquire an IP because of duplicate
entries.
When DHCP agent executes port_create_end method, port's
IP should be checked before being used, if there are duplicate IP
addresses in the same network in the cache we should resync.
Co-Authored-By: doreilly@xxxxxxxx
Closes-Bug: #1645835
Change-Id: Icc555050283420fddfb90bb67e02bc303e989e27
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1645835
Title:
protect for dhcp agent cache out of sync with neutron server
Status in neutron:
Fix Released
Bug description:
If DHCP agent port cache is out of sync with neutron server, new VM
may not get it's IP. when DHCP agent execute port_create_end method,
port's IP should be checked before being used.
The scenario might be:
1)create a VM, neutron server notify DHCP agent port_create_end
2)destroy this VM, neutron server notify DHCP agent port_delete_end
if rpc message of port_delete_end lost at this step, neutron server will be out of sync with DHCP agent cache. The port will still exit in DHCP agent cache, Dnsmasq will still have port's mac-host-ip record in host file.
3)create a new VM, neutron server may allocate the IP which cached in DHCP agent, this VM will not get IP when it start, because Dnsmasq have two records about this IP.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1645835/+subscriptions
References