BigSwitch: async port create susceptible to deadlock

Bug #1300607 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Kevin Benton

Bug Description

In the async port creation function used by the Big Switch plugin and ML2 driver, the calls to _set_port_status are susceptible to the well-known eventlet/mysql deadlock.

Tags: bigswitch
Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84368

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/84368
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=946c34619d2adfcf4b9b27d6e907167ff8bfe0b2
Submitter: Jenkins
Branch: master

commit 946c34619d2adfcf4b9b27d6e907167ff8bfe0b2
Author: Kevin Benton <email address hidden>
Date: Mon Mar 31 23:32:41 2014 -0700

    BigSwitch: Semaphore on port status update

    Adds a semaphore to the _set_port_status
    function used by the Big Switch ML2 driver and
    plugin. Without it, the async threads are
    susceptible to deadlocking and causing the
    known eventlet/mysql timeout exception.

    Closes-Bug: #1300607
    Change-Id: Ie89213a0bef37f9e7a30945df39c0f1b87a33b82

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.