Skip to content

[Mellanox] Fix thermal control bugs #51

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

Merged
merged 1 commit into from
Mar 17, 2020

Conversation

Junchao-Mellanox
Copy link
Collaborator

  1. Catch exception in every fan/thermal refresh loop to avoid exit loop too early
  2. For absense fan, no need get its data from platform API
  3. Add unit test for new code

@jleveque jleveque added the Bug label Mar 17, 2020
@wendani
Copy link

wendani commented Apr 17, 2020

Request for 201911 with sonic-net/sonic-buildimage#3949 @jleveque @abdosi

except Exception as e:
logger.log_warning('Failed to update thermal status - {}'.format(e))
except Exception as e:
logger.log_warning('Failed to update thermal status - {}'.format(e))

logger.log_debug("End temperature updating")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove debugging log, which shows up every 60s in syslog

DEBUG pmon#thermalctld: Start temperature updating
DEBUG pmon#thermalctld: End temperature updating

@Junchao-Mellanox

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will remove it in another PR.

@Junchao-Mellanox Junchao-Mellanox deleted the thermal-fix branch May 7, 2020 06:04
vdahiya12 pushed a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants