Add required spaces in log messages
Added required spaces in between two words for log messages. cinder/volume/drivers/huawei/huawei_t.py validate_connector method. cinder/transfer/api.py accept method. cinder/brick/initiator/linuxscsi.py flush_device_io method. Closes-Bug: #1372788 Change-Id: Ia0ab72d930c1b9099dd2796032b7b2b0b857bad5
This commit is contained in:
parent
db2c817fc7
commit
44c635574b
|
@ -102,7 +102,7 @@ class LinuxSCSI(executor.Executor):
|
||||||
root_helper=self._root_helper)
|
root_helper=self._root_helper)
|
||||||
except putils.ProcessExecutionError as exc:
|
except putils.ProcessExecutionError as exc:
|
||||||
msg = _("Failed to flush IO buffers prior to removing"
|
msg = _("Failed to flush IO buffers prior to removing"
|
||||||
"device: (%(code)s)") % {'code': exc.exit_code}
|
" device: (%(code)s)") % {'code': exc.exit_code}
|
||||||
LOG.warn(msg)
|
LOG.warn(msg)
|
||||||
|
|
||||||
def flush_multipath_device(self, device):
|
def flush_multipath_device(self, device):
|
||||||
|
|
|
@ -185,7 +185,7 @@ class API(base.Base):
|
||||||
except Exception:
|
except Exception:
|
||||||
donor_reservations = None
|
donor_reservations = None
|
||||||
LOG.exception(_("Failed to update quota donating volume"
|
LOG.exception(_("Failed to update quota donating volume"
|
||||||
"transfer id %s") % transfer_id)
|
" transfer id %s") % transfer_id)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Transfer ownership of the volume now, must use an elevated
|
# Transfer ownership of the volume now, must use an elevated
|
||||||
|
|
|
@ -436,7 +436,7 @@ class HuaweiTFCDriver(driver.FibreChannelDriver):
|
||||||
"""Check for wwpns in connector."""
|
"""Check for wwpns in connector."""
|
||||||
if 'wwpns' not in connector:
|
if 'wwpns' not in connector:
|
||||||
err_msg = (_('validate_connector: The FC driver requires the'
|
err_msg = (_('validate_connector: The FC driver requires the'
|
||||||
'wwpns in the connector.'))
|
' wwpns in the connector.'))
|
||||||
LOG.error(err_msg)
|
LOG.error(err_msg)
|
||||||
raise exception.VolumeBackendAPIException(data=err_msg)
|
raise exception.VolumeBackendAPIException(data=err_msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue