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

[DellEMC] S6000 - Thermal support - Last Reboot Reason #4097

Merged
merged 2 commits into from
Feb 6, 2020

Conversation

santhosh-kt
Copy link
Contributor

@santhosh-kt santhosh-kt commented Feb 3, 2020

- What I did

  • Added support for Thermal event in Last Reboot Reason "show reboot-cause" command.
  • Added support for sending log message in case of thermal shutdown.
    sonic NOTICE root: Shutting down due to over temperature (40 degree, 30 degree, 34 degree)

- How I did it
On branch s6000-thermal
Changes to be committed:
(use "git reset HEAD ..." to unstage)

    modified:   platform/broadcom/sonic-platform-modules-dell/s6000/scripts/fancontrol.sh
    modified:   platform/broadcom/sonic-platform-modules-dell/s6000/sonic_platform/chassis.py

- How to verify it
Added the Unit Test Results.
Unit test - S6000.txt.txt
Thermal_reboot_loop_logs.txt.txt

For Testing, we instrumented the software to do thermal shutdown at 40 degree and temperature max hysteresis to 38 degree(Using sensors.conf).

- Description for the changelog
[DellEMC] S6000 - Thermal support - Last Reboot Reason

- A picture of a cute animal (not mandatory but encouraged)

Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

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

LGTM. @sujinmkang to review, as well.

@jleveque jleveque requested a review from sujinmkang February 3, 2020 19:06
@sujinmkang
Copy link
Collaborator

retest vsimage please

@lguohan lguohan merged commit 74e28ad into sonic-net:master Feb 6, 2020
abdosi pushed a commit that referenced this pull request Apr 27, 2020
- Added support for Thermal event in Last Reboot Reason "show reboot-cause" command.
- Added support for sending log message in case of thermal shutdown.

sonic NOTICE root: Shutting down due to over temperature (40 degree, 30 degree, 34 degree)
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.

5 participants