cinder/cinder/tests/unit/attachments
j-griffith 7d7dc2659d 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
2018-11-29 20:17:55 +00:00
..
__init__.py Add new attachment APIS 2017-01-20 11:47:10 -07:00
test_attachments_api.py Check Volume Status on attahcment create/update 2018-11-29 20:17:55 +00:00
test_attachments_manager.py Add ability to specify mode to attachment-create 2018-07-17 15:50:03 -05:00