saHpiResourcePowerStateSet() fails in OpenHPI 2.12.0 when using the HP c-Class Plugin and the power_state of SAHPI_POWER_CYCLE. The behavior is:
If blade is powered-up, then the call to saHpiResourcePowerStateSet() shuts down the blade but does not re-power it.
If the blade is not powered-up, then the call to saHpiResourcePowerStateSet() powers-up the blade.
Inspection of the HP c-Class Plugin shows that there is a fixed wait time of 5 seconds from the time the blade is shutdown, to the time that the blade is instructed to power-up. This wait time is insufficient, and perhaps a better design is needed by the plugin - to better determine the state of the hardware, before attempting to execute the power-cycle logic.
Hi Bryan,
Looks like this one has a similar solution to bug 2526494 (saHpiResourcePowerStateSet() fails with ilo2-ribcl Plugin). I'll see if I can fix this one.
Hi Bryan,
Looks like this one has a similar solution to bug 2526494 (saHpiResourcePowerStateSet() fails with ilo2-ribcl Plugin). I'll see if I can fix this one.
Fixed in revision 6956.