DVR edge router: avoid accidental centralized floating IP remove
Need to pass centralized floating IPs as preserve_ips to
_external_gateway_added during DVR router update.
Otherwise IP addresses will be deleted from gw device in certain case.
The case is when a router with active centralized floating IPs is
being scheduled to a new dvr_snat L3 agent (rescheduled from a down one).
Please see corresponding traces in the bug description.
Change-Id: Iaeb9fbed73144df6fcd9092c665ed19986e85f4d
Closes-bug: #1817306
(cherry picked from commit 1ee18775a99492f445f1fb29e2d4639cbdff613d)
Reviewed: https:/ /review. openstack. org/640642 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c620b3c91ef cf38c039981f315 3c02ed3bf67de3
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit c620b3c91efcf38 c039981f3153c02 ed3bf67de3
Author: Oleg Bondarev <email address hidden>
Date: Fri Feb 22 16:00:30 2019 +0400
DVR edge router: avoid accidental centralized floating IP remove
Need to pass centralized floating IPs as preserve_ips to gateway_ added during DVR router update.
_external_
Otherwise IP addresses will be deleted from gw device in certain case.
The case is when a router with active centralized floating IPs is
being scheduled to a new dvr_snat L3 agent (rescheduled from a down one).
Please see corresponding traces in the bug description.
Change-Id: Iaeb9fbed73144d f6fcd9092c665ed 19986e85f4d 445f1fb29e2d463 9cbdff613d)
Closes-bug: #1817306
(cherry picked from commit 1ee18775a99492f