There are many error messages that do not have enough context. It looks like there may be memory leaks during errors (like the function returns and some of the memory allocated are not released). The following are some examples where bay number, uid_status, the actual response in invalid_response etc etc could have been obtained and given in the message.
May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:540: Invalid uid status
May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:218: Failed to get the uid status
May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_power.c:321: Invalid Response
May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:672: Failed to get the power state RDR
May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:209: Failed to get the power state RDR
There are many error messages that do not have enough context. It looks like there may be memory leaks during errors (like the function returns and some of the memory allocated are not released). The following are some examples where bay number, uid_status, the actual response in invalid_response etc etc could have been obtained and given in the message. May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:540: Invalid uid status May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:218: Failed to get the uid status May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_power.c:321: Invalid Response May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:672: Failed to get the power state RDR May 8 14:51:06 openhpi-rhel72 openhpid: ov_rest: ov_rest_control.c:209: Failed to get the power state RDR
Reported by: mohandev2
Original Ticket: openhpi/bugs/1950