Like it's counterpart from Nova's volume-attach functionality standpoint
- reserve_volume, begin_detaching should fail if the volume is not in
the correct state to be detached. This will prevent nova from
attempting to check and then detach, which is inherently racy.
Reviewed: https:/ /review. openstack. org/90353 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=d955c1da449 0987233e252f94d ffcfa106746c14
Committed: https:/
Submitter: Jenkins
Branch: master
commit d955c1da4490987 233e252f94dffcf a106746c14
Author: Nikola Dipanov <email address hidden>
Date: Fri Apr 25 13:38:31 2014 +0200
Make begin_detaching fail if volume not "in-use"
Like it's counterpart from Nova's volume-attach functionality standpoint
- reserve_volume, begin_detaching should fail if the volume is not in
the correct state to be detached. This will prevent nova from
attempting to check and then detach, which is inherently racy.
Change-Id: Ie87eb0c9aea068 affc94032ab2e53 a91888d272a
Partial-bug: #1302774