Bug ID 1314917: Command "show system health components component psu-2" results in errors

Last Modified: Aug 01, 2024

Affected Product(s):
F5OS F5OS, F5OS-A(all modules)

Known Affected Versions:
F5OS-A 1.5.0, F5OS-A 1.5.1

Fixed In:
F5OS-A 1.7.0, F5OS-A 1.5.2

Opened: Jun 29, 2023

Severity: 2-Critical

Symptoms

When a second PSU is added to an R2/R4 device, the system health does not show psu-2 as a known component.

Impact

This will cause diag-agent to update the PSU as not present, and it will not be shown in "show system health".

Conditions

After inserting a second PSU, if a power cycle or system reboot happens, sometimes diag-agent as diag-agent is not completely up; it is missing the bmc-events generated for PSU presence and updating as not present.

Workaround

Provided below platform-hal psf action as work around, which will generate bmc-events for psu-presence again. docker exec -ti platform-hal psf run POST:bmc/rearm-sensor-events sensorNumber=1 docker exec -ti platform-hal psf run POST:bmc/rearm-sensor-events sensorNumber=2

Fix Information

Updated diag-agent to initiate bmc re-arm sensors only once diag-agent is up properly, so that it does not miss any bmc-events.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips