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/640676 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=bf8a2c879ed 02efd8776ee38a1 bad404c2c27df0
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit bf8a2c879ed02ef d8776ee38a1bad4 04c2c27df0
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