commit 3310c3cbf534f5d75477ed206a8fb68eb53c6c10
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/637534 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3310c3cbf53 4f5d75477ed206a 8fb68eb53c6c10
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 3310c3cbf534f5d 75477ed206a8fb6 8eb53c6c10
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