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.
Log in to post a comment.