openstack overcloud node import fails with "Error: IPMI call failed: power status."
Issue
When following the steps from Director Installation and Usage Chapter 16.1. Adding nodes to the overcloud, the command openstack overcloud node import
fails with Error: IPMI call failed: power status.
[stack@undercloud-0 ~]$ source stackrc
(undercloud) [stack@undercloud-0 ~]$ cat newnodes.json
{
"nodes":[
{
"name": "compute-2",
"mac":[
"aa:bb:cc:dd:ee:ff"
],
"cpu":"24",
"memory":"94932",
"disk":"223",
"arch":"x86_64",
"pm_type":"ipmi",
"pm_user":"ipmiuser",
"pm_password":"ipmipassword",
"pm_addr":"10.10.10.40"
}
]
}
(undercloud) [stack@undercloud-0 ~]$ openstack overcloud node import newnodes.json
Waiting for messages on queue 'tripleo' with no timeout.
[{'result': 'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.'}]{'result': 'Failure caused by error in tasks: send_message\n\n send_message [task_ex_id=57d58c5a-0774-4a6f-bb72-4e0e3f1f8939] -> Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.\'},)\n [wf_ex_id=4425a2d5-35aa-49ec-a2d1-25579a94a1d9, idx=0]: Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.\'},)\n', 'status': 'FAILED', 'message': [{'result': 'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.'}]} Exception registering nodes: {'result': 'Failure caused by error in tasks: send_message\n\n send_message [task_ex_id=57d58c5a-0774-4a6f-bb72-4e0e3f1f8939] -> Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.\'},)\n [wf_ex_id=4425a2d5-35aa-49ec-a2d1-25579a94a1d9, idx=0]: Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.\'},)\n', 'status': 'FAILED', 'message': [{'result': 'Node 18dc3162-2df8-4476-a306-a835fce2377a did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 18dc3162-2df8-4476-a306-a835fce2377a. Error: IPMI call failed: power status.'}]}
(undercloud) [stack@undercloud-0 ~]$
When testing IPMI credentials, the error message shows that we do not have the ADMINISTRATOR
privilege level:
(undercloud) [stack@undercloud-0 ~]$ ipmitool -I lanplus -H 10.10.10.40 -U ipmiuser -P ipmipassword power status
Set Session Privilege Level to ADMINISTRATOR failed: Unknown (0x81)
Error: Unable to establish IPMI v2 / RMCP+ session
(undercloud) [stack@undercloud-0 ~]$
Testing with USER
privileged level works:
(undercloud) [stack@undercloud-0 ~]$ ipmitool -I lanplus -H 10.10.10.40 -U ipmiuser -P ipmipassword -L USER power status
Chassis Power is on
(undercloud) [stack@undercloud-0 ~]$
Environment
- Red Hat OpenStack Platform 16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.