seveas / python-hpilo

Accessing the HP iLO XML interface from python

Home Page:https://seveas.github.io/python-hpilo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bl460c gen9/gen10 hangs on press_pwr_btn()

transce opened this issue · comments

commented

Hello all,

We've been noticing a trend going on in my code for manipulating HPE Proliant BL460C gen9/10 blades. During certain phases of my code, I power off the blades to perform some work or load an iso image. When ready, I'm using the press_pwr_btn() method to turn them back on. However, the code will hang (never times out or raises exception). Looking on the c7000 chassis, we see an error like, "Server Blade Enclosure Power Request Denied: Enclosure Busy.

I tried to re-create it, but am having trouble capturing it in debug in test. If I can capture it, I'll try to upload the xml output.

Any thoughts on how to get around this or to maybe set a timeout? I did notice there is another power method, set_host_power(host_power=True). Would using that allow a better chance of my code not hanging?

commented

Finally caught one with debug mode (sensitive data scrubbed).
Doesn't look like it's throwing an error. It just looks like it connects, grabs RIBCL info, disconnects and then indefinitely repeats.

power_on_fail.txt