← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1564776] Re: DVR l3 agent should check for snat namespace existence before adding or deleting anything from the namespace

 

** Changed in: neutron
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1564776

Title:
  DVR l3 agent should check for snat namespace existence before adding
  or deleting anything from the namespace

Status in neutron:
  Invalid

Bug description:
  Check for snat_namespace existence in the node before any operation
  in the namespace.

  Today we check the self.snatnamespace which may or may not reflect
  the exact state of the system.                    

  If the snat_namespace is accidentally deleted and if we try to
  remove the gateway from the router, the agent throws in a bunch of
  error messages and the agent goes in loop constantly spewing error
  messages.

  Here is the link to the error message.

  http://paste.openstack.org/show/492700/

  This can be easily reproduced.

  1. Create a network
  2. Create a subnet
  3. Create a router ( dvr)
  4. Attach the subnet to the router.
  5. Configure default gateway to the router.
  6. Now verify the namespaces in the 'dvr_snat' node.
  7. You should see
      a. snat_namespace
      b. router_namespace
      c. dhcp namespace.
  8. Now delete the snat_namespace.
  9. Try to remove the gateway from the router.
  10. Watch the L3 agent logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1564776/+subscriptions


References