Merge "Trivial: Cleanup in neutron common code"
This commit is contained in:
commit
5a28e00d18
@ -366,10 +366,10 @@ def add_ports_to_network(task, network_uuid, security_groups=None):
|
|||||||
except openstack_exc.OpenStackCloudException as e:
|
except openstack_exc.OpenStackCloudException as e:
|
||||||
failures.append(ironic_port.uuid)
|
failures.append(ironic_port.uuid)
|
||||||
LOG.warning("Could not create neutron port for node's "
|
LOG.warning("Could not create neutron port for node's "
|
||||||
"%(node)s port %(ir-port)s on the neutron "
|
"%(node)s port %(ir_port)s on the neutron "
|
||||||
"network %(net)s. %(exc)s",
|
"network %(net)s. %(exc)s",
|
||||||
{'net': network_uuid, 'node': node.uuid,
|
{'net': network_uuid, 'node': node.uuid,
|
||||||
'ir-port': ironic_port.uuid, 'exc': e})
|
'ir_port': ironic_port.uuid, 'exc': e})
|
||||||
else:
|
else:
|
||||||
ports[ironic_port.uuid] = port.id
|
ports[ironic_port.uuid] = port.id
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user