Allow reserved status for attach check
This issue was due to Nova changes it's volume attach workflow (https://review.openstack.org/#/c/330285) which allows `reserved` status. Closes-Bug: #1737343 Change-Id: I13f1906f53a89586bb51c0b70fa768a9500dfa26
This commit is contained in:
parent
653c130a1d
commit
81a2e4ab43
|
@ -154,7 +154,7 @@ class CinderClientPlugin(client_plugin.ClientPlugin):
|
|||
|
||||
def check_attach_volume_complete(self, vol_id):
|
||||
vol = self.client().volumes.get(vol_id)
|
||||
if vol.status in ('available', 'attaching'):
|
||||
if vol.status in ('available', 'attaching', 'reserved'):
|
||||
LOG.debug("Volume %(id)s is being attached - "
|
||||
"volume status: %(status)s",
|
||||
{'id': vol_id, 'status': vol.status})
|
||||
|
|
Loading…
Reference in New Issue