Ask Your Question

Is there a way to specify ipmi_protocol_version for a node in ironic ?

asked 2015-07-23 11:20:02 -0500

bonclay7 gravatar image

Hello, I try to manage some servers which doesn't support IPMI v2, and I'm looking for a way to tell ironic to not use IPMI v2 for those. I can see in the logs the default action :

Command: ipmitool -I lanplus -H -L ADMINISTRATOR -U USERID -R 12 -N 5 -f /tmp/tmpMKt9ni power status Exit code: 1 Stdout: '' Stderr: 'Error: Unable to establish IPMI v2 / RMCP+ session\nError: Unable to establish IPMI v2 / RMCP+ session\nError: Unable to establish IPMI v2 / RMCP+ session\nUnable to get Chassis Power Status\n'.

I tried this command ironic node-update $NODE add properties/ipmi_protocol_version='1.5' and i got the same result after that

Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-07 12:02:41 -0500

bonclay7 gravatar image

I saw in the master of ironic on github ( ( that they provided support for IPMI 1.5. Based on that I've updated the ipmitool driver source code to support ipmi_protocol_version parameter ('1.5' and default to '2.0') in the node properties

Juno : ( Kilo : (

With this modification, I'm able to manage different IPMI versions on my OpenStack env

ironic node-show $NODE

driver_info : {u'pxe_deploy_ramdisk': u'3cbfa97e-9127-4a3a-8eff-eda37cf9ad3a',
u'ipmi_terminal_port': 8023, u'ipmi_username': u'USERID',
u'ipmi_address': u'', u'ipmi_password': u'**',
u'ipmi_protocol_version': 1.5, u'pxe_deploy_kernel': u'e91ba8a5-860d- 47f0-a2a6-2e8bccbed146'}

power_state: power off driver : pxe_ipmitool

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-23 11:20:02 -0500

Seen: 496 times

Last updated: Aug 07 '15