-
Notifications
You must be signed in to change notification settings - Fork 175
[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
Conversation
Junchao-Mellanox
commented
Mar 11, 2020
- Catch exception in every fan/thermal refresh loop to avoid exit loop too early
- For absense fan, no need get its data from platform API
- Add unit test for new code
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") |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Signed-off-by: Andriy Kokhan <[email protected]>