Fix the format problem of LOG in failover_host
In the failover_host function in manager.py. it misses the 's' after %(backend_id), so if the driver throws exception, it will throw another one too. Change-Id: Ie676f3e0fb76a85c752d0e8dbe74bd9b214e4d0d Closes-Bug: 1559399
This commit is contained in:
parent
092618aab8
commit
8008489243
|
@ -3328,7 +3328,7 @@ class VolumeManager(manager.SchedulerDependentManager):
|
|||
if exception_encountered:
|
||||
LOG.error(
|
||||
_LE("Error encountered during failover on host: "
|
||||
"%(host)s invalid target ID %(backend_id)"),
|
||||
"%(host)s invalid target ID %(backend_id)s"),
|
||||
{'host': self.host, 'backend_id':
|
||||
secondary_backend_id})
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue