Menu

#1408 saHpiResourcePowerStateSet() fails with HP c-Class Plugin

2.13.3
closed-fixed
5
2009-02-13
2009-01-09
No

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.

Discussion

  • Bryan Sutula

    Bryan Sutula - 2009-01-09
    • milestone: 831935 --> 896522
     
  • Ric White

    Ric White - 2009-01-27

    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.

     
  • Ric White

    Ric White - 2009-01-27

    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.

     
  • Bryan Sutula

    Bryan Sutula - 2009-01-27
    • milestone: 896522 --> 2.13.3
    • assigned_to: sutula --> ricwhite
     
  • Ric White

    Ric White - 2009-02-13
    • status: open --> closed-fixed
     
  • Ric White

    Ric White - 2009-02-13

    Fixed in revision 6956.