Skip to content

[Mellanox] [201911] Fan speed should not be 100% when PSU is powered off#9380

Merged
abdosi merged 1 commit intosonic-net:201911from
Junchao-Mellanox:fix-psu-policy-201911
Dec 8, 2021
Merged

[Mellanox] [201911] Fan speed should not be 100% when PSU is powered off#9380
abdosi merged 1 commit intosonic-net:201911from
Junchao-Mellanox:fix-psu-policy-201911

Conversation

@Junchao-Mellanox
Copy link
Collaborator

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

Backport #9258 to 201911

  • Why I did it
    When PSU is powered off, the PSU is still on the switch and the air flow is still the same. In this case, it is not necessary to set FAN speed to 100%.

  • How I did it
    When PSU is powered of, don't treat it as absent.

  • How to verify it
    Adjust existing unit test case
    Add new case in sonic-mgmt
    Conflicts:
    platform/mellanox/mlnx-platform-api/sonic_platform/thermal_infos.py

Why I did it

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

…c-net#9258)

- Why I did it
When PSU is powered off, the PSU is still on the switch and the air flow is still the same. In this case, it is not necessary to set FAN speed to 100%.

- How I did it
When PSU is powered of, don't treat it as absent.

- How to verify it
Adjust existing unit test case
Add new case in sonic-mgmt
Conflicts:
	platform/mellanox/mlnx-platform-api/sonic_platform/thermal_infos.py
@Junchao-Mellanox
Copy link
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox
Copy link
Collaborator Author

Hi @abdosi, could you please sign off?

@Junchao-Mellanox
Copy link
Collaborator Author

Hi @abdosi, kindly reminder...

@abdosi abdosi merged commit 2b4c8ee into sonic-net:201911 Dec 8, 2021
@Junchao-Mellanox Junchao-Mellanox deleted the fix-psu-policy-201911 branch December 13, 2021 01:36
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