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

[Mellanox] [202012] Fix issue: 4600C is using wrong thermal profile #10258

Merged

Conversation

Junchao-Mellanox
Copy link
Collaborator

Why I did it

4600C is using wrong thermal profile and it displays 2 CPU core thermal in show platform temperature output, there should be 4 CPU core thermal.

How I did it

Change 4600C to use thermal profile 10.

How to verify it

Manual test

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

@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

/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).

@xumia
Copy link
Collaborator

xumia commented Mar 19, 2022

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit 0c859fb into sonic-net:202012 Mar 20, 2022
@Junchao-Mellanox Junchao-Mellanox deleted the fix-cpu-core-202012 branch March 21, 2022 01:41
liat-grozovik pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Jun 28, 2022
4600C was using wrong thermal profile and it displays 2 CPU core thermal in show platform temperature output, there should be 4 CPU core thermal. The PR in sonic-buildimage has fixed this: sonic-net/sonic-buildimage#10258
The sonic-mgmt platform thermal test should also be fixed to align with the output change.

- What is the motivation for this PR?
Fix cpu core number for 4600c in platform info thermal test.

- How did you do it?
Correcting the thermal cpu core number for 4600c to 4 in tests/common/mellanox_data.py.

- How did you verify/test it?
Run test case in master and 202012 branch on 4600c by automation, all passed.

- Any platform specific information?
The change is only for 4600c.
yxieca pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Oct 6, 2022
4600C was using wrong thermal profile and it displays 2 CPU core thermal in show platform temperature output, there should be 4 CPU core thermal. The PR in sonic-buildimage has fixed this: sonic-net/sonic-buildimage#10258
The sonic-mgmt platform thermal test should also be fixed to align with the output change.

- What is the motivation for this PR?
Fix cpu core number for 4600c in platform info thermal test.

- How did you do it?
Correcting the thermal cpu core number for 4600c to 4 in tests/common/mellanox_data.py.

- How did you verify/test it?
Run test case in master and 202012 branch on 4600c by automation, all passed.

- Any platform specific information?
The change is only for 4600c.
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