Merge "IBM-Storage: group-create-from-src fail with error"
This commit is contained in:
commit
8a6f4fd00e
@ -1453,8 +1453,8 @@ class XIVProxyTest(test.TestCase):
|
||||
{}, group_obj, [volume],
|
||||
cgsnap_group_obj, [snapshot], None, None)
|
||||
|
||||
p.ibm_storage_cli.cmd.cg_create.assert_called_once_with(cg=group_obj,
|
||||
pool='WTF32')
|
||||
p.ibm_storage_cli.cmd.cg_create.assert_called_once_with(
|
||||
cg=p._cg_name_from_id(group_obj.id), pool='WTF32')
|
||||
|
||||
self.assertEqual('available', model_update['status'])
|
||||
|
||||
|
@ -1775,7 +1775,7 @@ class XIVProxy(proxy.IBMStorageProxy):
|
||||
LOG.debug("Creating from cgsnapshot %(cg)s",
|
||||
{'cg': self._cg_name_from_group(cgsnapshot)})
|
||||
try:
|
||||
self._create_consistencygroup(context, group)
|
||||
self._create_consistencygroup(context, cgname)
|
||||
except Exception as e:
|
||||
LOG.error(
|
||||
"Creating CG from cgsnapshot failed: %(details)s",
|
||||
|
Loading…
Reference in New Issue
Block a user