Merge "GPFS: Fix consistency group ERROR_CREATE status"
This commit is contained in:
commit
f16cc2f590
@ -1205,7 +1205,7 @@ class GPFSDriver(driver.ConsistencyGroupVD, driver.ExtendVD,
|
|||||||
self.create_snapshot(snapshot)
|
self.create_snapshot(snapshot)
|
||||||
except exception.VolumeBackendAPIException as err:
|
except exception.VolumeBackendAPIException as err:
|
||||||
model_update['status'] = (
|
model_update['status'] = (
|
||||||
fields.ConsistencyGroupStatus.ERROR_CREATE)
|
fields.ConsistencyGroupStatus.ERROR)
|
||||||
LOG.error(_LE("Failed to create the snapshot %(snap)s of "
|
LOG.error(_LE("Failed to create the snapshot %(snap)s of "
|
||||||
"CGSnapshot. Exception: %(exception)s."),
|
"CGSnapshot. Exception: %(exception)s."),
|
||||||
{'snap': snapshot.name, 'exception': err})
|
{'snap': snapshot.name, 'exception': err})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user