With a recent change to the neutron server code, the server was
processing floating IPs that were not bound to the respective
agent during fullsync operation.
Change to always initialize floating IP host info so callers
can determine if info should be sent to an agent or not.
Also changed the logic that decides when the server should
send a floating IP to an agent to be easier to understand.
Closes-bug: #1713927
Change-Id: Ic916225e0a11c3fb8cd94437ca063e0d3295a569
(cherry picked from commit 7bff99ac4a5ef0d4b2cc6f77f5679bb8e01f86d7)
Reviewed: https:/ /review. openstack. org/509630 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=6051e3d672a 8401272dc345d11 d10bc097f116ed
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 6051e3d672a8401 272dc345d11d10b c097f116ed
Author: Brian Haley <email address hidden>
Date: Fri Sep 1 13:52:51 2017 -0400
DVR: Always initialize floating IP host
With a recent change to the neutron server code, the server was
processing floating IPs that were not bound to the respective
agent during fullsync operation.
Change to always initialize floating IP host info so callers
can determine if info should be sent to an agent or not.
Also changed the logic that decides when the server should
send a floating IP to an agent to be easier to understand.
Closes-bug: #1713927 fb8cd94437ca063 e0d3295a569 4b2cc6f77f5679b b8e01f86d7)
Change-Id: Ic916225e0a11c3
(cherry picked from commit 7bff99ac4a5ef0d