Merge "Consider volume in 'reserved' status as detachment in progress"
This commit is contained in:
commit
aabf0d5e16
|
@ -140,7 +140,7 @@ class CinderClientPlugin(client_plugin.ClientPlugin):
|
||||||
if server_id and server_id not in server_ids:
|
if server_id and server_id not in server_ids:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if vol.status in ('in-use', 'detaching'):
|
if vol.status in ('in-use', 'detaching', 'reserved'):
|
||||||
LOG.debug('%s - volume still in use', vol_id)
|
LOG.debug('%s - volume still in use', vol_id)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue