Merge "Add missing parameters in log messages"

This commit is contained in:
Zuul 2020-01-23 15:39:29 +00:00 committed by Gerrit Code Review
commit 5e3c7c6680
2 changed files with 3 additions and 2 deletions

View File

@ -4226,7 +4226,8 @@ class StorwizeSVCCommonDriver(san.SanDriver,
else:
self._helpers.start_rccg(rccg_name, primary='aux')
else:
LOG.warning('group %(grp)s is not in sync.')
LOG.warning('group %(grp)s is not in sync.',
{'grp': rccg_name})
except exception.VolumeBackendAPIException as ex:
LOG.warning('Fail to copy data from aux group %(rccg)s to master '
'group. Please recheck the relationship and '

View File

@ -2407,7 +2407,7 @@ class SolidFireDriver(san.SanISCSIDriver):
for v in volumes:
if v['status'] == "error":
LOG.debug("Skipping operation for Volume %s as it is "
"on error state.")
"on error state.", v['id'])
continue
target_vlist = [sfv for sfv in target_vols