commit 4318de7addfdd158ef797963165c09602835891d
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/456779 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=4318de7addf dd158ef79796316 5c09602835891d
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 4318de7addfdd15 8ef797963165c09 602835891d
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