pm_type need be pxe_ipmitool, not ipmi

Bug #1402132 reported by Leslie Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-cloud-config
Incomplete
Undecided
Unassigned

Bug Description

Currently pm_type in os_cloud_config is ipmi, actually should be pxe_ipmitool when registering ironic node.

def register_ironic_node(service_host, node, client=None, blocking=True):
    properties = {"cpus": six.text_type(node["cpu"]),
                  "memory_mb": six.text_type(node["memory"]),
                  "local_gb": six.text_type(node["disk"]),
                  "cpu_arch": node["arch"]}
    if "ipmi" in node["pm_type"]:
        driver_info = {"ipmi_address": node["pm_addr"],
                       "ipmi_username": node["pm_user"],
                       "ipmi_password": node["pm_password"]}

The impact is TripleO can not deploy real bare metal nodes if using devtest_xxx scripts because of register_nodes failure.

Leslie Wang (wqyuwss)
summary: - pm_type need be pxe_ipmitool, not ilmi
+ pm_type need be pxe_ipmitool, not ipmi
Revision history for this message
James Slagle (james-slagle) wrote :

isn't the fact that the code is checking if "ipmi" is in the string at node["pm_type"] sufficient enough so that this gets handled? it's not an exact match check.

Changed in os-cloud-config:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.