Fix 'TypeError: format requires a mapping' in OVS agent
Discovered via functional tests logging (That already provide coverage). Change-Id: I5ec35b464b0f5f3b5f5902159e9459ad46b8c8c9
This commit is contained in:
parent
be4701a977
commit
7b9acb69ef
|
@ -1544,7 +1544,7 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
|
|||
LOG.info(_LI("Devices down %s "), devices_down)
|
||||
failed_devices = set(devices_down.get('failed_devices_down'))
|
||||
if failed_devices:
|
||||
LOG.debug("Port removal failed for %(devices)s", failed_devices)
|
||||
LOG.debug("Port removal failed for %s", failed_devices)
|
||||
for detail in devices_down.get('devices_down'):
|
||||
if detail['exists']:
|
||||
LOG.info(_LI("Port %s updated."), detail['device'])
|
||||
|
|
Loading…
Reference in New Issue