← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1225035] Re: nicira plugin - metadata ops in delete_router might trigger eventlet deadlock

 

** Also affects: vmware-nsx
   Importance: Undecided
       Status: New

** No longer affects: neutron

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

Title:
  nicira plugin - metadata ops in delete_router might trigger eventlet
  deadlock

Status in vmware-nsx:
  New

Bug description:
  https://github.com/openstack/neutron/blob/master/neutron/plugins/nicira/NeutronPlugin.py#L1540

  delete_router calls handle_router_metadata_access.
  The latter method creates 1 network, 1 subnet, and attaches that subnet to the router, performing db and nvp operations.
  This results in a very long transaction which can trigger eventlet deadlocks which have already been observed.

  However, this is unlikely to happen in practice as router deletion is
  not allowed until the last interface has been removed. This means
  handle_router_metadata_access is likely to be  a no-op.

  while a simple fix might be just removing the metadata network mgmt
  code, it might be worth keeping it there in case the logic for router
  deletion might change in the future.

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmware-nsx/+bug/1225035/+subscriptions