Comment 5 for bug 1805762

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

Reviewed: https://review.openstack.org/646043
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=b9a9492baca004494dd099e2e2d0180cc8483b28
Submitter: Zuul
Branch: stable/rocky

commit b9a9492baca004494dd099e2e2d0180cc8483b28
Author: j-griffith <email address hidden>
Date: Thu Nov 29 18:07:58 2018 +0000

    Check Volume Status on attahcment create/update

    Currently the new Attachment calls in Cinder aren't checking the status
    of the volume when create or update is called. This isn't good because
    it can mask problems with attach processes on the volume.

    This patch adds an explicit check of the volume status in both
    attachment_create and attachment_update, and if the volume status is in
    any error state, the call will result in an InvalidVolume exception.

    This is an API change to fix a bug, and is not microversioned.

    Closes-Bug: #1805762

    Change-Id: I9b32c4db93879dda6490b244643de1a18bddbbf5
    (cherry picked from commit 7d7dc2659d1ad07ef77892306827ca4a662e315d)