Fix missing print format in log messages
This is to fix: 1. print format is missing in "%(volume)" 2. ws is missing between words in log messages. Change-Id: Iff2712a8157895d5a67bccee596a80a8b255fc40
This commit is contained in:
@@ -976,7 +976,7 @@ class CephBackupDriver(driver.BackupDriver):
|
|||||||
self.delete_backup(backup)
|
self.delete_backup(backup)
|
||||||
else:
|
else:
|
||||||
if backup.parent_id:
|
if backup.parent_id:
|
||||||
LOG.debug("Volume file is NOT RBD: can't perform"
|
LOG.debug("Volume file is NOT RBD: can't perform "
|
||||||
"incremental backup.")
|
"incremental backup.")
|
||||||
raise exception.BackupRBDOperationFailed
|
raise exception.BackupRBDOperationFailed
|
||||||
LOG.debug("Volume file is NOT RBD: will do full backup.")
|
LOG.debug("Volume file is NOT RBD: will do full backup.")
|
||||||
|
|||||||
@@ -967,7 +967,7 @@ class MacroSANBaseDriver(driver.VolumeDriver):
|
|||||||
owner = self.client.get_lun_sp(src_name)
|
owner = self.client.get_lun_sp(src_name)
|
||||||
pool = host['capabilities'].get('pool_name', self.pool)
|
pool = host['capabilities'].get('pool_name', self.pool)
|
||||||
|
|
||||||
LOG.info('Migrating volume: %(volume), '
|
LOG.info('Migrating volume: %(volume)s, '
|
||||||
'host: %(host)s, '
|
'host: %(host)s, '
|
||||||
'backend: %(volume_backend_name)s',
|
'backend: %(volume_backend_name)s',
|
||||||
{'volume': src_name,
|
{'volume': src_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user