Public bug reported:

Removing an active or a standby ha-router from an agent, does not clear the 
router namespace and the Snat namespaces.
This leads to sometimes having two Active HA routers and two 'ha-interface' in 
the snat namespace for DVR routers.
This can be very easily reproduced.

1. Create a HA-DVR router. ( minimum two node setup with 'dvr_snat' agent mode)
2. Attach interface to the router
3. Attach gateway to the router.
4. Now check the l3-agent-list-hosting-router for router.
5. Then remove the router from one of the agent ( l3-agent-router-remove )
6. Expected result is router namespace and snat namespace to be removed. ( But 
it is removed).
7. At the minimum we should clear the HA interfaces for that agent so that the 
HA router does not get into Active mode again.

This bug might have been introduced by this patch.
https://review.openstack.org/#/c/522362/7

This bug is seen since Ocata/Pike and probably also in master branch.

** Affects: neutron
     Importance: High
         Status: Confirmed


** Tags: l3-dvr-backlog l3-ha

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
   Importance: Undecided => High

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

Title:
  DVR-HA: Removing a router from an agent, does not clear the namespaces
  on the agent

Status in neutron:
  Confirmed

Bug description:
  Removing an active or a standby ha-router from an agent, does not clear the 
router namespace and the Snat namespaces.
  This leads to sometimes having two Active HA routers and two 'ha-interface' 
in the snat namespace for DVR routers.
  This can be very easily reproduced.

  1. Create a HA-DVR router. ( minimum two node setup with 'dvr_snat' agent 
mode)
  2. Attach interface to the router
  3. Attach gateway to the router.
  4. Now check the l3-agent-list-hosting-router for router.
  5. Then remove the router from one of the agent ( l3-agent-router-remove )
  6. Expected result is router namespace and snat namespace to be removed. ( 
But it is removed).
  7. At the minimum we should clear the HA interfaces for that agent so that 
the HA router does not get into Active mode again.

  This bug might have been introduced by this patch.
  https://review.openstack.org/#/c/522362/7

  This bug is seen since Ocata/Pike and probably also in master branch.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to