Comment 4 for bug 1541838

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/nova (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/12657
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: e4894aadcb2e10aae2fd780b5c2700fae0d04f8a
Author: Mark Goddard <email address hidden>
Date: Mon Feb 29 16:21:02 2016

Refresh instance info cache within lock

Fix interface attachment bug where multiple concurrent attachment
requests can cause corruption of the nova instance info cache. This
change refreshes the info cache object from the database whilst
holding the refresh-cache lock, ensuring that changes are
synchronised.

Conflicts:
 nova/network/base_api.py
 nova/network/neutronv2/api.py
 nova/tests/network/test_neutronv2.py

Closes-Bug: #1501430
Closes-Bug: #1541838

Change-Id: I6ea2eda8a61f418b0c32f13a7ed6904352712857