summaryrefslogtreecommitdiff
path: root/ironic/dhcp
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2017-10-05 22:57:26 -0700
committerJohn L. Villalovos <john.l.villalovos@intel.com>2017-10-05 22:57:26 -0700
commitdf5da4ce7a32e64e34a489b741bd911f9c55ea34 (patch)
tree42ad8960af10081f348469cab2fa77a51be8a593 /ironic/dhcp
parente63947b5d2fb986559125a635967a8f48ba43b4d (diff)
downloadironic-df5da4ce7a32e64e34a489b741bd911f9c55ea34.tar.gz
Fix mis-formatted log messages
Fix errors in log messages. These were detected by a patch that catches these types of errors. Submitting these fixes first as the patch to detect the errors will likely take more time to get merged. Change-Id: Ibe451f9cd97971cb83366fdc6f7f5c31d2af4793
Diffstat (limited to 'ironic/dhcp')
-rw-r--r--ironic/dhcp/neutron.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/dhcp/neutron.py b/ironic/dhcp/neutron.py
index 6f56c3918..a474c501d 100644
--- a/ironic/dhcp/neutron.py
+++ b/ironic/dhcp/neutron.py
@@ -183,7 +183,7 @@ class NeutronDHCPApi(base.BaseDHCP):
if isinstance(p_obj, objects.Port):
obj_name = 'port'
LOG.warning("No VIFs found for node %(node)s when attempting "
- "to get IP address for %(obj_name)s: %(obj_id).",
+ "to get IP address for %(obj_name)s: %(obj_id)s.",
{'node': task.node.uuid, 'obj_name': obj_name,
'obj_id': p_obj.uuid})
raise exception.FailedToGetIPAddressOnPort(port_id=p_obj.uuid)