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:
parent
f5feb87ab8
commit
c843b9b209
@ -976,7 +976,7 @@ class CephBackupDriver(driver.BackupDriver):
|
||||
self.delete_backup(backup)
|
||||
else:
|
||||
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.")
|
||||
raise exception.BackupRBDOperationFailed
|
||||
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)
|
||||
pool = host['capabilities'].get('pool_name', self.pool)
|
||||
|
||||
LOG.info('Migrating volume: %(volume), '
|
||||
LOG.info('Migrating volume: %(volume)s, '
|
||||
'host: %(host)s, '
|
||||
'backend: %(volume_backend_name)s',
|
||||
{'volume': src_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user