7d7dc2659d
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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_attachments_api.py | ||
test_attachments_manager.py |