From 0d943c635b8713943f3b285538c3d809c3e9b0ac Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Thu, 10 Jan 2019 16:17:26 -0800 Subject: [PATCH] Follow-up logging change Reviewer consensus on change 628097 was that one of the messages should be a warning. As such, changing. Change-Id: I2425d46c84f72de36789e671785c587ede68e5e8 --- ironic/drivers/modules/redfish/inspect.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ironic/drivers/modules/redfish/inspect.py b/ironic/drivers/modules/redfish/inspect.py index 7f26b47220..aab0427c39 100644 --- a/ironic/drivers/modules/redfish/inspect.py +++ b/ironic/drivers/modules/redfish/inspect.py @@ -216,10 +216,10 @@ class RedfishInspect(base.InspectInterface): inspect_utils.create_ports_if_not_exist( task, enabled_macs, get_mac_address=lambda x: x[0]) else: - LOG.info("Not attempted to create any port as no NICs being " - "discovered in 'enabled' state for node %(node)s: " - "%(mac_data)s", {'mac_data': macs, - 'node': task.node.uuid}) + LOG.warning("Not attempting to create any port as no NICs " + "were discovered in 'enabled' state for node " + "%(node)s: %(mac_data)s", + {'mac_data': macs, 'node': task.node.uuid}) else: LOG.warning("No NIC information discovered " "for node %(node)s", {'node': task.node.uuid})