Add missing ws seperator between words

This is to add missing ws seperator between words, usually
in log messages.

Change-Id: I3d0ffb5a32397998de1e66b823141cb0cc7d039c
This commit is contained in:
zhufl 2018-11-16 17:05:09 +08:00
parent 18d0576bb5
commit 13c59aebd6
17 changed files with 34 additions and 34 deletions

View File

@ -4579,7 +4579,7 @@ class VMAXCommon(object):
LOG.info("Reverted the volume to snapshot successfully")
except Exception as e:
exception_message = (_(
"Failed to revert the volume to the snapshot"
"Failed to revert the volume to the snapshot. "
"Exception received was %(e)s") % {'e': six.text_type(e)})
LOG.error(exception_message)
raise exception.VolumeBackendAPIException(

View File

@ -1143,7 +1143,7 @@ class VMAXRest(object):
host_lun_id = int(host_lun_id, 16)
except Exception as e:
LOG.error("Unable to retrieve connection information "
"for volume %(vol)s in masking view %(mv)s"
"for volume %(vol)s in masking view %(mv)s. "
"Exception received: %(e)s.",
{'vol': device_id, 'mv': maskingview,
'e': e})

View File

@ -1976,7 +1976,7 @@ class StorwizeHelpers(object):
pool=None):
"""Create a FlashCopy mapping and add to consistent group."""
LOG.debug('Enter: create_flashcopy_to_consistgrp: create FlashCopy'
' from source %(source)s to target %(target)s'
' from source %(source)s to target %(target)s. '
'Then add the flashcopy to %(cg)s.',
{'source': source, 'target': target, 'cg': consistgrp})
@ -3511,7 +3511,7 @@ class StorwizeSVCCommonDriver(san.SanDriver,
{'master': volume['name'], 'aux': tgt_volume})
continue
LOG.debug('_failover_replica_volumes: vol=%(vol)s, master_vol='
'%(master_vol)s, aux_vol=%(aux_vol)s, state=%(state)s'
'%(master_vol)s, aux_vol=%(aux_vol)s, state=%(state)s, '
'primary=%(primary)s',
{'vol': volume['name'],
'master_vol': rep_info['master_vdisk_name'],

View File

@ -1360,7 +1360,7 @@ class InStorageMCSCommonDriver(driver.VolumeDriver, san.SanDriver):
{'master': volume.name, 'aux': tgt_volume})
continue
LOG.debug('_failover_replica_volumes: vol=%(vol)s, master_vol='
'%(master_vol)s, aux_vol=%(aux_vol)s, state=%(state)s'
'%(master_vol)s, aux_vol=%(aux_vol)s, state=%(state)s, '
'primary=%(primary)s',
{'vol': volume.name,
'master_vol': rep_info['master_vdisk_name'],
@ -2753,7 +2753,7 @@ class InStorageAssistant(object):
pool=None):
"""Create a LocalCopy mapping and add to consistent group."""
LOG.debug('Enter: create_localcopy_to_consistgrp: create LocalCopy '
' from source %(source)s to target %(target)s'
'from source %(source)s to target %(target)s. '
'Then add the localcopy to %(cg)s.',
{'source': source, 'target': target, 'cg': consistgrp})

View File

@ -234,7 +234,7 @@ class ZFSSAApi(object):
'pool: %(pool)s '
'Project: %(proj)s '
'volume: %(vol)s '
'for target: %(tgt)s and pool: %(tgt_pool)s'
'for target: %(tgt)s and pool: %(tgt_pool)s. '
'Return code: %(ret.status)d '
'Message: %(ret.data)s .')
% {'pool': host_pool,