Merge "Follow-up logging change"
This commit is contained in:
commit
53823d7f93
@ -216,10 +216,10 @@ class RedfishInspect(base.InspectInterface):
|
|||||||
inspect_utils.create_ports_if_not_exist(
|
inspect_utils.create_ports_if_not_exist(
|
||||||
task, enabled_macs, get_mac_address=lambda x: x[0])
|
task, enabled_macs, get_mac_address=lambda x: x[0])
|
||||||
else:
|
else:
|
||||||
LOG.info("Not attempted to create any port as no NICs being "
|
LOG.warning("Not attempting to create any port as no NICs "
|
||||||
"discovered in 'enabled' state for node %(node)s: "
|
"were discovered in 'enabled' state for node "
|
||||||
"%(mac_data)s", {'mac_data': macs,
|
"%(node)s: %(mac_data)s",
|
||||||
'node': task.node.uuid})
|
{'mac_data': macs, 'node': task.node.uuid})
|
||||||
else:
|
else:
|
||||||
LOG.warning("No NIC information discovered "
|
LOG.warning("No NIC information discovered "
|
||||||
"for node %(node)s", {'node': task.node.uuid})
|
"for node %(node)s", {'node': task.node.uuid})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user