Parallel requests fail due to db locks in N1kv plugin

Bug #1290646 reported by Abhishek Raut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Abhishek Raut
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

Parallel requests for create/delete of network ports and subnets sometimes cause DB lock errors in cisco N1kv tables which results in failure of the respective resource request.

Abhishek Raut (abhraut)
description: updated
Changed in neutron:
assignee: nobody → Abhishek Raut (abhraut)
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/82266

Changed in neutron:
status: New → In Progress
Kyle Mestery (mestery)
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/82266
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1e210c7cc9d3d8dd6b3a72112dd8395cad4dc3a9
Submitter: Jenkins
Branch: master

commit 1e210c7cc9d3d8dd6b3a72112dd8395cad4dc3a9
Author: Abhishek Raut <email address hidden>
Date: Fri Mar 21 02:26:10 2014 -0700

    Segregate the VSM calls from database calls in N1kv plugin

    Rearrange the code in such a way that the calls to the VSM are
    outside the database session. This avoids DB locks on n1kv tables.

    Change-Id: Ic0f0d816cca06a3b03fdd9b58ee7599ddf65473e
    Closes-Bug: 1290646

Changed in neutron:
status: In Progress → Fix Committed
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → juno-1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/99869

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/99869
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ac90f9b9c92d6fb3e7eb083f4612fbbe5eb103b8
Submitter: Jenkins
Branch: stable/icehouse

commit ac90f9b9c92d6fb3e7eb083f4612fbbe5eb103b8
Author: Abhishek Raut <email address hidden>
Date: Fri Mar 21 02:26:10 2014 -0700

    Segregate the VSM calls from database calls in N1kv plugin

    Rearrange the code in such a way that the calls to the VSM are
    outside the database session. This avoids DB locks on n1kv tables.

    Conflicts:
     neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py

    Change-Id: Ic0f0d816cca06a3b03fdd9b58ee7599ddf65473e
    Closes-Bug: 1290646
    (cherry picked from commit 1e210c7cc9d3d8dd6b3a72112dd8395cad4dc3a9)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
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.