]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix race condition on ml2 delete and update port methods
authorEugene Nikanorov <enikanorov@mirantis.com>
Thu, 9 Jan 2014 09:23:02 +0000 (13:23 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Fri, 10 Jan 2014 06:18:17 +0000 (10:18 +0400)
commitd9bcd597c67900472709cd11604afe1616e0af4e
tree696d0a034e60d8090b09393bc488fcd03c808a80
parent3f561d98d1d151a6f965c726fd0bed79dbe5d6ec
Fix race condition on ml2 delete and update port methods

Synchronize access to ports table when deleting and updating
a port. Otherwise concurrent update/delete request for the same port
may cause neutron server to throw an exception and return
'500 Internal server error' for such requests.

Change-Id: I868002643147ce6baace5671cffb38b4f5e66729
Closes-Bug: #1266537
neutron/plugins/ml2/plugin.py