In the Neutron network API implementation, there is a race condition
between a thread performing periodic task to read and heal instance
network info cache and another thread servicing interface-attach or
interface-detach calls. This patch ensures that instance info cache is
read and then updated in a synchronized block to ensure atomicity.
Please see the bug report for more details.
Change-Id: Ifc76f2b1cce834b3c9927359ac9b957bc9f9c65f
Closes-Bug: #1326183
Co-Authored-By: Dan Smith <email address hidden>
Reviewed: https:/ /review. openstack. org/97662 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=232cbfe67ff b7696f115830c71 1a960af5fa0828
Committed: https:/
Submitter: Jenkins
Branch: master
commit 232cbfe67ffb769 6f115830c711a96 0af5fa0828
Author: Praveen Yalagandula <email address hidden>
Date: Wed Jun 4 00:42:56 2014 +0000
Neutron: Atomic update of instance info cache
In the Neutron network API implementation, there is a race condition detach calls. This patch ensures that instance info cache is
between a thread performing periodic task to read and heal instance
network info cache and another thread servicing interface-attach or
interface-
read and then updated in a synchronized block to ensure atomicity.
Please see the bug report for more details.
Change-Id: Ifc76f2b1cce834 b3c9927359ac9b9 57bc9f9c65f
Closes-Bug: #1326183
Co-Authored-By: Dan Smith <email address hidden>