Skip to content

Fan speed should not be 100% when PSU is powered off#4692

Merged
wangxin merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:psu-policy
Dec 1, 2021
Merged

Fan speed should not be 100% when PSU is powered off#4692
wangxin merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:psu-policy

Conversation

@Junchao-Mellanox
Copy link
Contributor

@Junchao-Mellanox Junchao-Mellanox commented Nov 15, 2021

Depends on sonic-net/sonic-buildimage#9258

Change-Id: Ibe7f9d844e9c680a2f7f0ff06a90b0f467a45388

Description of PR

Summary:
PSU policy is changed in production code, power off PSU no longer triggers thermal control algorithm, and test case is updated in this PR accordingly

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911

Approach

What is the motivation for this PR?

PSU policy is changed in production code, power off PSU no longer triggers thermal control algorithm, and test case is updated in this PR accordingly

How did you do it?

  1. Add a test case, fan speed should be 100% when PSU is absence
  2. Remove existing test case that power off PSU and check fan speed

How did you verify/test it?

Manually run the test cases

Any platform specific information?

Mellanox

Supported testbed topology if it's a new test case?

N/A

Documentation

Change-Id: Ibe7f9d844e9c680a2f7f0ff06a90b0f467a45388
Change-Id: I3f59a04e8b45b22e3b71c47860efac3e208d00e0
@keboliu
Copy link
Contributor

keboliu commented Nov 19, 2021

@sujinmkang could you please take a look when you have time?

@liat-grozovik
Copy link
Collaborator

@sujinmkang could you please help to review (as you were the one to review the dependent PR :-) )

@Junchao-Mellanox
Copy link
Contributor Author

@sujinmkang Hi, could you please review and sign off?

@wangxin wangxin merged commit ae6cb51 into sonic-net:master Dec 1, 2021
AntonHryshchuk pushed a commit to AntonHryshchuk/sonic-mgmt that referenced this pull request Jan 4, 2022
What is the motivation for this PR?
PSU policy is changed in production code, power off PSU no longer triggers thermal control algorithm, and test case is updated in this PR accordingly

How did you do it?
Add a test case, fan speed should be 100% when PSU is absence
Remove existing test case that power off PSU and check fan speed

How did you verify/test it?
Manually run the test cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants