← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1427122] [NEW] dvr case with 1 subnet attaches multi routers, fail to create router netns

 

Public bug reported:

#### Environment ####
1+2 env with DVR enabled, l3agent on all these nodes are configured with "router_delete_namespaces = True".
Create router R1, subnet sn1 and sn2, attach sn1 and sn4 to router R1.
Create router R2, subnet sn3 and sn4, attach sn3 and sn4 to router R2.
Boot instances vm1 on sn1 on CN1, vm2 on sn2 on CN2, vm3 on sn3 on CN1, vm4 on sn4 on CN2.
Create port p1 on sn1's network by running "neutron port-create --name p1 n1",  and attach p1 to R2 by running "neutron router-interface-add R2 port=p1"(this instruction try to connect sn1 with sn3 and sn4 by router R2)

#### Steps to raise issue ####
1) delete vm1, and make sure qrouter netns will disappear on CN1
2) create vm5 on sn1 on CN1, but qrouter netns doesn't come out.

#### Workaround ####
restart l3-agent on CN1.

In normal case(a subnet will only be attached to one router), this issue
will not raise.

** Affects: neutron
     Importance: Undecided
     Assignee: ZongKai LI (lzklibj)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => ZongKai LI (lzklibj)

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

Title:
  dvr case with 1 subnet attaches multi routers, fail to create router
  netns

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  #### Environment ####
  1+2 env with DVR enabled, l3agent on all these nodes are configured with "router_delete_namespaces = True".
  Create router R1, subnet sn1 and sn2, attach sn1 and sn4 to router R1.
  Create router R2, subnet sn3 and sn4, attach sn3 and sn4 to router R2.
  Boot instances vm1 on sn1 on CN1, vm2 on sn2 on CN2, vm3 on sn3 on CN1, vm4 on sn4 on CN2.
  Create port p1 on sn1's network by running "neutron port-create --name p1 n1",  and attach p1 to R2 by running "neutron router-interface-add R2 port=p1"(this instruction try to connect sn1 with sn3 and sn4 by router R2)

  #### Steps to raise issue ####
  1) delete vm1, and make sure qrouter netns will disappear on CN1
  2) create vm5 on sn1 on CN1, but qrouter netns doesn't come out.

  #### Workaround ####
  restart l3-agent on CN1.

  In normal case(a subnet will only be attached to one router), this
  issue will not raise.

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


Follow ups

References