← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1292232] Re: BigSwitch plugin eventlet/mysql deadlocks on port deletion

 

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

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

Title:
  BigSwitch plugin eventlet/mysql deadlocks on port deletion

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

Bug description:
  The current BigSwitch plugin performs REST calls inside of the
  transactions making it prone to eventlet deadlocks on simultaneous
  operations of the same type.

  One operation will get the sql lock for update and then make it to the
  rest call, which performs a socket operation causing eventlet to yield
  to other threads. One of these threads then attempts to get the SQL
  lock for update, which never yields back to the thread in the rest
  call that has the lock. They are then stuck in a deadlock until the
  SQL lock times out and the transaction fails.

  This happens frequently on port deletion where up to 4 operations
  (port delete, dhcp agent port delete, subnet delete, network delete)
  will try to lock the port table and then perform a rest call.

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


References