#1695 bad return from saHpiHotSwapStateGet in ipmidirect plugin

3.1.x
open
nobody
5
2012-04-20
2012-02-15
David McKinley
No

When a resource that is a FRU does not have a hotswap sensor, so that SAHPI_CAPABILITY_MANAGED_HOTSWAP is not set, then saHpiHotSwapStateGet should return SAHPI_HS_STATE_ACTIVE per HPI B.03.01+. The ipmidirect plugin returns SA_ERR_HPI_INVALID_PARAMS in this case.

See bug #2948127; it suggests that plugins may have this issue. Indeed, the ipmidirect plugin does.

Discussion

  • Anton Pak
    Anton Pak
    2012-04-20

    • milestone: 2040045 --> 3.1.x