← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1599287] [NEW] Cleanup snat redirect rules when agent restarts after stale snat namespace is cleaned.

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Swaminathan Vasudevan (swaminathan-vasudevan)
         Status: In Progress


** Tags: l3-dvr-backlog

** Tags added: l3-dvr-backlog

-- 
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:
  In Progress

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


Follow ups