Closed lxwinspur closed 1 year ago
I suspect that it is caused by monitoring the Ac fault or PGood fault signal of the PSU after power on. https://github.com/ibm-openbmc/phosphor-power/blob/1050/phosphor-power-supply/psu_manager.cpp#L812-L835
@spinler @mzipse FYI
When script detects the host is powered off, send command to the network power controller to do AC off.
If I had to guess, your script is cutting AC before the chassis is actually off, or at least before chassis state manager gets a chance to persist the new chassis power state. That code is all in phosphor-state-manager/chassis_state_manager.cpp.
When script detects the host is powered off, send command to the network power controller to do AC off.
If I had to guess, your script is cutting AC before the chassis is actually off, or at least before chassis state manager gets a chance to persist the new chassis power state. That code is all in phosphor-state-manager/chassis_state_manager.cpp.
Hi We have tried add a 20 seconds time interval before AC off, this error is not seen any more. Why this only happened on 4 PSUs S1024, but not on 2 PSUs S1022?
@JerryInspur If you wanted, you could watch that LastStateChangeTime property to see what was going on.
Pre-condition:
AC Cycle steps:
event Log: