Comment 11 for bug 1302774

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/90353
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d955c1da4490987233e252f94dffcfa106746c14
Submitter: Jenkins
Branch: master

commit d955c1da4490987233e252f94dffcfa106746c14
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: Ie87eb0c9aea068affc94032ab2e53a91888d272a
    Partial-bug: #1302774