26bc08850b
- Why I did it Error messages occured when trying to read PSU files on init: ERR pmon#psud: Failed to read from file /var/run/hw-management/power/psu1_volt_out2_capability - FileNotFoundError(2, 'No such file or directory') This can happen when the power cord is disconnected from the PSU, so some PSU files may be absent, e.g.: /var/run/hw-management/power/psu2_volt_out2 /var/run/hw-management/power/psu2_volt_out2_capability - How I did it Check if a file exists for a specific PSU parameter If not, return None so we can't read the PSU file any further - How to verify it Disconnect power cord from PSU and power supply from system Wait few minutes and then connect power supply to system without power cord Check logs for errors Signed-off-by: Oleksandra Bella <oleksandrab@nvidia.com> |
||
---|---|---|
.. | ||
sonic_platform | ||
tests | ||
.gitignore | ||
pytest.ini | ||
setup.cfg | ||
setup.py |