← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1258150] [NEW] nicira: tempest fails to delete routers in parallel

 

Public bug reported:

when parallel tempest tests are enabled, the nicira plugin shows erros when deleting routers.
Parallel operations indeed cause the usual eventlet/mysql deadlock in delete_router as the nvp operation is nested within the db transaction.

The root cause for the deadlock is that the nvp api client uses eventlet
to dispatch requests.

while a solution might be to rework the API client, an easier,
backportable solution would be to move the NVP operation out of the
transaction and ensuring consistency in case of failure.

note: in the same delete_router routine also the metada access network
handling should be moved out of the transaction.

** Affects: neutron
     Importance: High
     Assignee: Salvatore Orlando (salvatore-orlando)
         Status: New


** Tags: havana-backport-potential nicira

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

Title:
  nicira: tempest fails to delete routers in parallel

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  when parallel tempest tests are enabled, the nicira plugin shows erros when deleting routers.
  Parallel operations indeed cause the usual eventlet/mysql deadlock in delete_router as the nvp operation is nested within the db transaction.

  The root cause for the deadlock is that the nvp api client uses
  eventlet to dispatch requests.

  while a solution might be to rework the API client, an easier,
  backportable solution would be to move the NVP operation out of the
  transaction and ensuring consistency in case of failure.

  note: in the same delete_router routine also the metada access network
  handling should be moved out of the transaction.

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


Follow ups

References