commit 7d1db366bec234e1a12de73874f16cfe6f772b3c
Author: Eugene Nikanorov <email address hidden>
Date: Sun Oct 25 15:47:38 2015 +0400
Cleanup dhcp namespace upon dhcp setup.
In some cases when more than 1 DHCP agents were assigned
to a network and then they became dead, their DHCP ports
become reserved. Later, when those agents revive or start
again, they acquire reserved ports, but it's not guaranteed
that they get exactly same ports. In such case DHCP agent
may create interface in the namespaces despite that another
interface already exist. In such case there will be two
hosts with dhcp namespaces each containing duplicate ports,
e.g. one port will be present on two hosts. This breaks
DHCP.
Closes-Bug: #1509959
Change-Id: I34eb1ad5c44dd3528c9910462e26536186e7a4fb
(cherry picked from commit 6ac43c119bff9da93f438d10033b209819a32230)
Reviewed: https:/ /review. openstack. org/245413 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7d1db366bec 234e1a12de73874 f16cfe6f772b3c
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 7d1db366bec234e 1a12de73874f16c fe6f772b3c
Author: Eugene Nikanorov <email address hidden>
Date: Sun Oct 25 15:47:38 2015 +0400
Cleanup dhcp namespace upon dhcp setup.
In some cases when more than 1 DHCP agents were assigned
to a network and then they became dead, their DHCP ports
become reserved. Later, when those agents revive or start
again, they acquire reserved ports, but it's not guaranteed
that they get exactly same ports. In such case DHCP agent
may create interface in the namespaces despite that another
interface already exist. In such case there will be two
hosts with dhcp namespaces each containing duplicate ports,
e.g. one port will be present on two hosts. This breaks
DHCP.
Closes-Bug: #1509959 528c9910462e265 36186e7a4fb 93f438d10033b20 9819a32230)
Change-Id: I34eb1ad5c44dd3
(cherry picked from commit 6ac43c119bff9da