commit 636d4a5d204e1d2690594881631a2fa8d84d0b6c
Author: Quan Tian <email address hidden>
Date: Thu Feb 16 20:28:45 2017 +0800
DVR: Don't clean snat-ns of DVR HA router when fullsync
Since [1], when the l3 agent does fullsync, for every router, it calls
ensure_snat_cleanup depending on whether the agent is dvr_snat or not.
However, DVR+HA routers always have snat namespaces on dvr_snat agents
holding themselves for keepalived. Therefore, the cleanup call is
unexpected and will cause a series of issues.
This patch ensures that snat namespaces of DVR+HA routers will not be
cleaned when the agent do fullsync.
Reviewed: https:/ /review. openstack. org/456780 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=636d4a5d204 e1d269059488163 1a2fa8d84d0b6c
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 636d4a5d204e1d2 690594881631a2f a8d84d0b6c
Author: Quan Tian <email address hidden>
Date: Thu Feb 16 20:28:45 2017 +0800
DVR: Don't clean snat-ns of DVR HA router when fullsync
Since [1], when the l3 agent does fullsync, for every router, it calls snat_cleanup depending on whether the agent is dvr_snat or not.
ensure_
However, DVR+HA routers always have snat namespaces on dvr_snat agents
holding themselves for keepalived. Therefore, the cleanup call is
unexpected and will cause a series of issues.
This patch ensures that snat namespaces of DVR+HA routers will not be
cleaned when the agent do fullsync.
[1] https:/ /review. openstack. org/#/c/ 326729/
Change-Id: I5df0a1404f1a80 ab0b226d7a60c28 85e24247e02 c667c8a8a2790ff a345e0efad)
Closes-Bug: #1632540
(cherry picked from commit 1346b4a65701aae