From 77631971f302a14f2eb69d720a09014a713e7061 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 2 Jun 2016 09:57:15 -0400 Subject: [PATCH] GPFS: Fix consistency group ERROR_CREATE status ERROR_CREATE is not a valid status, should just be ERROR. Closes-Bug: #1588382 Change-Id: Ic598dd209afa7ec17396eeb5ef8eafc2faa7759f --- cinder/volume/drivers/ibm/gpfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/ibm/gpfs.py b/cinder/volume/drivers/ibm/gpfs.py index 08ed0b512c7..339156cfcf9 100644 --- a/cinder/volume/drivers/ibm/gpfs.py +++ b/cinder/volume/drivers/ibm/gpfs.py @@ -1205,7 +1205,7 @@ class GPFSDriver(driver.ConsistencyGroupVD, driver.ExtendVD, self.create_snapshot(snapshot) except exception.VolumeBackendAPIException as err: model_update['status'] = ( - fields.ConsistencyGroupStatus.ERROR_CREATE) + fields.ConsistencyGroupStatus.ERROR) LOG.error(_LE("Failed to create the snapshot %(snap)s of " "CGSnapshot. Exception: %(exception)s."), {'snap': snapshot.name, 'exception': err})