Following these docs https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/baremetal_overcloud.html
I hit this problem:
(overcloud) [stack@undercloud tripleo-heat-templates]$ openstack baremetal create ~/openshift_nodes.json
During resources creation, the following error(s) were encountered:
Unable to create the node with the specified attributes: {u'properties': {u'memory_mb': u'8192', u'cpu_arch': u'x86_64', u'local_gb': u'50', u'cpus': u'2'}, u'driver': u'ipmi', u'ports': [{u'address': u'00:8a:7b:25:d5:f7'}], u'driver_info': {u'ipmi_port': u'6232', u'ipmi_address': u'192.168.24.1', u'ipmi_username': u'admin', u'ipmi_password': u'password'}, u'name': u'openshift-master-0'}. The error is: Driver, hardware type or interface IPMIManagement could not be loaded. Reason: Unable to locate usable ipmitool command in the system path when checking ipmitool version. (HTTP 500)
Unable to create the node with the specified attributes: {u'properties': {u'memory_mb': u'8192', u'cpu_arch': u'x86_64', u'local_gb': u'50', u'cpus': u'2'}, u'driver': u'ipmi', u'ports': [{u'address': u'00:8a:7b:25:d5:fb'}], u'driver_info': {u'ipmi_port': u'6233', u'ipmi_address': u'192.168.24.1', u'ipmi_username': u'admin', u'ipmi_password': u'password'}, u'name': u'openshift-worker-0'}. The error is: Driver, hardware type or interface IPMIManagement could not be loaded. Reason: Unable to locate usable ipmitool command in the system path when checking ipmitool version. (HTTP 500)
(overcloud) [stack@undercloud tripleo-heat-templates]$ ipmi
ipmievd ipmitool
(overcloud) [stack@undercloud tripleo-heat-templates]$ ipmitool
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
(overcloud) [stack@undercloud tripleo-heat-templates]$ which ipmitool
/usr/bin/ipmitool
(overcloud) [stack@undercloud tripleo-heat-templates]$ cat ~/openshift_nodes.json
{
"nodes": [
{
"driver": "ipmi",
"name": "openshift-master-0",
"driver_info": {
"ipmi_username": "admin",
"ipmi_address": "192.168.24.1",
"ipmi_password": "password",
"ipmi_port": "6232"
},
"properties": {
"cpus": "2",
"cpu_arch": "x86_64",
"local_gb": "50",
"memory_mb": "8192"
},
"ports": [
{
"address": "00:8a:7b:25:d5:f7"
}
]
},
{
"driver": "ipmi",
"name": "openshift-worker-0",
"driver_info": {
"ipmi_username": "admin",
"ipmi_address": "192.168.24.1",
"ipmi_password": "password",
"ipmi_port": "6233"
},
"properties": {
"cpus": "2",
"cpu_arch": "x86_64",
"local_gb": "50",
"memory_mb": "8192"
},
"ports": [
{
"address": "00:8a:7b:25:d5:fb"
}
]
}
]
}
Note that you're checking the the 'ipmitool' utility is present on the undercloud node, while it has to be present in the ironic-conductor containers on the overcloud.