commit f0b833a352f8859c7b7e299d90440acfbd42e9db
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/637536 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f0b833a352f 8859c7b7e299d90 440acfbd42e9db
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit f0b833a352f8859 c7b7e299d90440a cfbd42e9db
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