Race between list_networks and delete_network in OVS plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Eugene Nikanorov |
Bug Description
When listing networks, OVS plugin fetches networks bindings via additional per-network db-query.
In case some network (and its binding) from the list is getting deleted in the process of extending networks dict, _extend_
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
TRACE neutron.
This issue is reproducible easily with tempest.
tags: | added: db ovs |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | icehouse-2 → 2014.1 |
Reviewed: https:/ /review. openstack. org/63918 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=126a26367b4 0125b3e434c948f 21a4980bc86340
Committed: https:/
Submitter: Jenkins
Branch: master
commit 126a26367b40125 b3e434c948f21a4 980bc86340
Author: Eugene Nikanorov <email address hidden>
Date: Tue Dec 24 15:08:22 2013 +0400
Fix race in get_network(s) in OVS plugin
Load network bindings eagerly with networks.
Otherwise a different db query could try to fetch network bindings
for already deleted networks. The issue is reproducible with
concurrent tempest network API tests.
Closes-Bug: 1263686 6a62491ff8e7e4a 9f6d7bef6c4
Change-Id: I0521ab162220c6