Merge "Generating fencing for capitalized MACs"

This commit is contained in:
Zuul 2018-11-23 12:28:25 +00:00 committed by Gerrit Code Review
commit 1b589e3529

View File

@ -394,7 +394,7 @@ class GenerateFencingParametersAction(base.TripleOAction):
if "ports" in node:
# Not all Ironic drivers present a MAC address, so we only
# capture it if it's present
mac_addr = node['ports'][0]['address']
mac_addr = node['ports'][0]['address'].lower()
node_data["host_mac"] = mac_addr
# If the MAC isn't in the hostmap, this node hasn't been