Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3
stars
1
forks
source link
ipmidirect: Check correct variable for resource managed capability #2612
In impi_resource.cpp, the check for a Managed Hotswap was happening in a value which hadn't been initialized yet. This was causing HPI to report managed hotswap sensors changing states from ACTIVE to NOT_PRESENT, since the check was always returning false.
In impi_resource.cpp, the check for a Managed Hotswap was happening in a value which hadn't been initialized yet. This was causing HPI to report managed hotswap sensors changing states from ACTIVE to NOT_PRESENT, since the check was always returning false.
The attached patch fix this issue.
Reported by: rdossant