← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1085276] Re: The router interface cannot be deleted by using Quantum Metaplugin

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

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

Title:
  The router interface cannot be deleted by using Quantum Metaplugin

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  The router interface cannot be deleted when testing the Metaplugin
  against Quantum stable/folsom with l3 agent configured using
  OVSInterfaceDriver or MetaInterfaceDriver.

  1) Configured the l3_agent.ini as following,
  interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver

  Run
  $quantum net-create netA

  $quantum subnet-create --name subnetA netA 10.0.1.0/24

  $quantum router-create routerA

  $quantum router-interface-add routeA subnetA

  $quantum router-interface-delete routerA subnetA
  L3PortInUse: Port bd7d261a-6a73-43ce-8cff-f531f7d8553b has owner network:router_interface and therefore cannot be deleted directly via the port API.

  2) Configured the l3_agent.ini as following,
  interface_driver = quantum.agent.linux.interface.MetaInterfaceDriver

  Run
  $quantum net-create netB

  $quantum subnet-create --name subnetB netB 10.0.2.0/24

  $quantum router-create routerB

  $quantum router-list
  +--------------------------------------+---------+-----------------------+
  | id                                   | name    | external_gateway_info |
  +--------------------------------------+---------+-----------------------+
  | 8cf61fa5-b716-4df2-a02e-8f1fea0d0ae0 | routerB | null                  |
  +--------------------------------------+---------+-----------------------+

  $quantum router-interface-add routeB subnetB

  $quantum router-interface-delete routerB subnetB

  $ip netns list
  qrouter-8cf61fa5-b716-4df2-a02e-8f1fea0d0ae0

  $sudo ip netns exec qrouter-8cf61fa5-b716-4df2-a02e-8f1fea0d0ae0 ip link show
  45: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  46: qr-b66a8aad-69: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
      link/ether fa:16:3e:ed:49:85 brd ff:ff:ff:ff:ff:ff

  The port:qr-b66a8aad-69 cannot be deleted

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