yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55701
[Bug 1599287] Re: Cleanup snat redirect rules when agent restarts after stale snat namespace is cleaned.
Reviewed: https://review.openstack.org/337855
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=34e51cad42960bdb08a92d1a60a33594bdf057ba
Submitter: Jenkins
Branch: master
commit 34e51cad42960bdb08a92d1a60a33594bdf057ba
Author: Swaminathan Vasudevan <swaminathan.vasudevan@xxxxxxx>
Date: Tue Jul 5 13:22:04 2016 -0700
DVR: Cleanup the stale snat redirect rules in router namespace
After the stale snat namespace is deleted the snat redirect rules
in router namespace should be cleaned.
Here we are basically reading the ip rule from the router namespace
and just cleaning up all the snat redirect rules leaving the default
ones untouched.
Change-Id: Ic505a46e56d9e950bd36a1596d3f1adfb5ef5577
Closes-Bug: #1599287
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1599287
Title:
Cleanup snat redirect rules when agent restarts after stale snat
namespace is cleaned.
Status in neutron:
Fix Released
Bug description:
When the L3 agent is dead, if the gateway is removed, the snat
namespace and its rules are not properly cleaned when agent restarts.
Even though the patch https://review.openstack.org/#/c/326729/
addresses the cleanup of the snat namespace, it does not remove the
redirect rules and the gateway device from the router namespace when
gateway is disabled.
When agent restarts the agent does not get the gateway data from the
server, and so it is not possible for the agent to clean it properly.
In order to clean the snat redirect rules, the gateway data should be
cached to the local file system and reused later when necessary.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1599287/+subscriptions
References