Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:17789] [Mellanox] Fix error log while creating PSU thermal object #17928

Merged
merged 1 commit into from
Jan 29, 2024

Commits on Jan 29, 2024

  1. Fix error log while creating PSU thermal object (sonic-net#17789)

    - Why I did it
    If a PSU is not present, there could be error log while restarting psud or thermalctld:
    
    Jan  8 17:15:52.689616 sonic ERR pmon#psud: Thermal sysfs /run/hw-management/thermal/psu2_temp1_max does not exist
    
    Jan  8 17:15:57.747723 sonic ERR pmon#thermalctld: Thermal sysfs /run/hw-management/thermal/psu2_temp1 does not exist
    
    - How I did it
    if a PSU is not present, we should not check the PSU temperature sysfs.
    Junchao-Mellanox authored and mssonicbld committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    4ddee1e View commit details
    Browse the repository at this point in the history