Fixes the wrong resources status after restore was finished
Change-Id: I6e85d4c6c7a1dfa81d086f5b316f9ac9b8d0f83c Closes-Bug: #1710540
This commit is contained in:
parent
283586f264
commit
4df11604cb
|
@ -193,6 +193,7 @@ class RestoreOperation(protection_plugin.Operation):
|
|||
failure_statuses=VOLUME_FAILURE_STATUSES,
|
||||
ignore_statuses=VOLUME_IGNORE_STATUSES,
|
||||
)
|
||||
volume = cinder_client.volumes.get(volume.id)
|
||||
if is_success is not True:
|
||||
LOG.error('The status of volume is invalid. status:%s',
|
||||
volume.status)
|
||||
|
|
Loading…
Reference in New Issue