<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 4, 2018 at 8:39 AM, Dan Prince <span dir="ltr"><<a href="mailto:dprince@redhat.com" target="_blank">dprince@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Kind of a support question but figured I'd ask here in case there are<br>
suggestions for workarounds for specific machines.<br>
<br>
Setting up a new rack of mixed machines this week and hit this issue<br>
with HP machines using the ipmi power driver for Ironic. Curious if<br>
anyone else has seen this before? The same commands work great with my<br>
Dell boxes!<br>
<br>
-----<br>
<br>
[root@localhost ~]# cat x.sh<br>
set -x<br>
# this is how Ironic sends its IPMI commands it fails<br>
echo -n password > /tmp/tmprmdOOv<br>
ipmitool -I lanplus -H 172.31.0.19 -U Adminstrator -f /tmp/tmprmdOOv<br>
power status<br>
<br>
# this works great<br>
ipmitool -I lanplus -H 172.31.0.19 -U Administrator -P password power status<br>
<br>
[root@localhost ~]# bash x.sh<br>
+ echo -n password<br>
+ ipmitool -I lanplus -H 172.31.0.19 -U Adminstrator -f /tmp/tmprmdOOv<br>
power status<br>
Error: Unable to establish IPMI v2 / RMCP+ session<br>
+ ipmitool -I lanplus -H 172.31.0.19 -U Administrator -P password power status<br>
Chassis Power is on<br></blockquote><div><br></div><div>Very strange. A tcpdump of both would probably be enlightening. :)</div><div><br></div><div>Also curious what version of ipmitool this is, maybe you're hitting an old bug.</div><div><br></div><div>// jimĀ </div></div></div></div>