Fix DNS connectivity issues with DVR+HA routers and DHCP-HA
Before this change, DVR_SNAT agents would get no routers when
asking for updates due to provisioning of DHCP ports on the
node they are running on. This means that there's no connectivity
between the DHCP port and the network gateway (that may be
hosted on a different node), and therefore things like DNS may
break when a VM attempts resolution when talking to the affected
DHCP port.
This change relaxed a conditional that prevents the right list of
routers to be compiled and returned from the server to the agent.
The agent on the other hand needs to make sure to allocate the
right type of router based on what is being returned from the server.
Closes-bug: #1733987
Change-Id: I6124738c3324e0cc3f7998e3a541ff7547f2a8a7
(cherry picked from commit b24013f569024f71197370b10dd23a7647d22c73)
(cherry picked from commit cd4527733767721f1d5198536a79b3a24d5d1fea)
Reviewed: https:/ /review. openstack. org/528009 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2a4b74a98ab 07b9cb50db70296 1790b13940dd66
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit 2a4b74a98ab07b9 cb50db702961790 b13940dd66
Author: Armando Migliaccio <email address hidden>
Date: Wed Nov 22 10:59:27 2017 -0800
Fix DNS connectivity issues with DVR+HA routers and DHCP-HA
Before this change, DVR_SNAT agents would get no routers when
asking for updates due to provisioning of DHCP ports on the
node they are running on. This means that there's no connectivity
between the DHCP port and the network gateway (that may be
hosted on a different node), and therefore things like DNS may
break when a VM attempts resolution when talking to the affected
DHCP port.
This change relaxed a conditional that prevents the right list of
routers to be compiled and returned from the server to the agent.
The agent on the other hand needs to make sure to allocate the
right type of router based on what is being returned from the server.
Closes-bug: #1733987
Change-Id: I6124738c3324e0 cc3f7998e3a541f f7547f2a8a7 1197370b10dd23a 7647d22c73) f1d5198536a79b3 a24d5d1fea)
(cherry picked from commit b24013f569024f7
(cherry picked from commit cd4527733767721