Merge "Fix error log level in restore-backup routine"
This commit is contained in:
commit
07534bef77
@ -322,10 +322,13 @@ class BackupManager(manager.SchedulerDependentManager):
|
|||||||
raise exception.InvalidBackup(reason=err)
|
raise exception.InvalidBackup(reason=err)
|
||||||
|
|
||||||
if volume['size'] > backup['size']:
|
if volume['size'] > backup['size']:
|
||||||
LOG.warn('Volume: %s, size: %d is larger than backup: %s, '
|
LOG.info(_('Volume: %(vol_id)s, size: %(vol_size)d is '
|
||||||
'size: %d, continuing with restore.',
|
'larger than backup: %(backup_id)s, '
|
||||||
volume['id'], volume['size'],
|
'size: %(backup_size)d, continuing with restore.'),
|
||||||
backup['id'], backup['size'])
|
{'vol_id': volume['id'],
|
||||||
|
'vol_size': volume['size'],
|
||||||
|
'backup_id': backup['id'],
|
||||||
|
'backup_size': backup['size']})
|
||||||
|
|
||||||
backup_service = self._map_service_to_driver(backup['service'])
|
backup_service = self._map_service_to_driver(backup['service'])
|
||||||
configured_service = self.driver_name
|
configured_service = self.driver_name
|
||||||
|
Loading…
Reference in New Issue
Block a user