commit 17b3d5734af9c7b916cfc7007e98f43df975b8e8
Author: Gary Kotton <email address hidden>
Date: Wed Feb 13 09:50:14 2019 -0800
Lock detach_volume
A detach_volume operation may take place during a attach_volume or
delete_instance opertaion. This may lead to a race condition which
would result in an instance going into an error state as the volume
operation is not atomic.
Commit 4c4dc3a6d added the lock around the attach_volume. This
follows that same pattern.
Co-Authored-By: Matthew Booth <email address hidden>
Change-Id: I7261135a44f0c2eca4732c8360b9c74b729991a8
Closes-bug: #1662483
(cherry picked from commit 2e4e203c1a4c4f91dd1aabae8c8d7b745df99be7)
Reviewed: https:/ /review. openstack. org/637535 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=17b3d5734af 9c7b916cfc7007e 98f43df975b8e8
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 17b3d5734af9c7b 916cfc7007e98f4 3df975b8e8
Author: Gary Kotton <email address hidden>
Date: Wed Feb 13 09:50:14 2019 -0800
Lock detach_volume
A detach_volume operation may take place during a attach_volume or
delete_instance opertaion. This may lead to a race condition which
would result in an instance going into an error state as the volume
operation is not atomic.
Commit 4c4dc3a6d added the lock around the attach_volume. This
follows that same pattern.
Co-Authored-By: Matthew Booth <email address hidden>
Change-Id: I7261135a44f0c2 eca4732c8360b9c 74b729991a8 1dd1aabae8c8d7b 745df99be7)
Closes-bug: #1662483
(cherry picked from commit 2e4e203c1a4c4f9