Comment 21 for bug 1632540

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ocata)

Reviewed: https://review.openstack.org/456779
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4318de7addfdd158ef797963165c09602835891d
Submitter: Jenkins
Branch: stable/ocata

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.

    [1] https://review.openstack.org/#/c/326729/

    Change-Id: I5df0a1404f1a80ab0b226d7a60c2885e24247e02
    Closes-Bug: #1632540
    (cherry picked from commit 1346b4a65701aaec667c8a8a2790ffa345e0efad)