Registering nodes to overcloud Ironic fails with ipmitool error

Bug #1745409 reported by Steven Hardy on 2018-01-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Mike Fedosin

Bug Description

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"
        }
      ]
    }
  ]
}

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → queens-rc1
Changed in tripleo:
assignee: nobody → Mike Fedosin (mfedosin)
status: Triaged → In Progress
Dmitry Tantsur (divius) wrote :

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.

Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/545084
Reason: This patch has no activity for a while, per policy, we abandon it. Feel free to re-open if you think you're working on it.

Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers