Skip to content

[Mellanox] Fix SN2700-A1 sensors.conf and update psu_sensors.json accordingly#19515

Merged
yxieca merged 1 commit intosonic-net:masterfrom
yuazhe:fix_2700a1_sensor
Aug 27, 2024
Merged

[Mellanox] Fix SN2700-A1 sensors.conf and update psu_sensors.json accordingly#19515
yxieca merged 1 commit intosonic-net:masterfrom
yuazhe:fix_2700a1_sensor

Conversation

@yuazhe
Copy link
Contributor

@yuazhe yuazhe commented Jul 9, 2024

Why I did it

previously 2700a1 sensors.conf is missing bus section for psu, so add it and update the psu_sensors.json with the info.

fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

use sensors command and verify the output

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311
  • 202405

Tested branch (Please provide the tested image version)

  • 202405

Description for the changelog

Link to config_db schema for YANG module changes

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

previously 2700a1 sensors.conf is missing bus section for psu,
so add it and update the psu_sensors.json with the info.

fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.

Signed-off-by: Yuanzhe, Liu <[email protected]>
@yuazhe
Copy link
Contributor Author

yuazhe commented Jul 11, 2024

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

@keboliu keboliu requested a review from Junchao-Mellanox July 11, 2024 02:43
@yuazhe
Copy link
Contributor Author

yuazhe commented Jul 17, 2024

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

@keboliu keboliu requested a review from liat-grozovik July 29, 2024 06:17
@yuazhe
Copy link
Contributor Author

yuazhe commented Jul 29, 2024

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

@liat-grozovik liat-grozovik changed the title [Mellanox] Fix 2700a1 sensors.conf and update psu_sensors.json accordingly [Mellanox] Fix SN2700-A1 sensors.conf and update psu_sensors.json accordingly Jul 29, 2024
@liat-grozovik
Copy link
Collaborator

@yuazhe please create a PR against 202311 and correlate it to this one for tracking

@yuazhe
Copy link
Contributor Author

yuazhe commented Jul 31, 2024

@yuazhe please create a PR against 202311 and correlate it to this one for tracking

The conflict is caused by PSU sensors dynamic configuration #18528 doesn't been cherry-pick to 202311 yet.

@bingwang-ms
Copy link
Contributor

Discussed offline. The change LGTM.

@bingwang-ms
Copy link
Contributor

Re-adding tags to trigger auto cherry-pick

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Aug 27, 2024
…c-net#19515)

previously 2700a1 sensors.conf is missing bus section for psu,
so add it and update the psu_sensors.json with the info.

fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.

Signed-off-by: Yuanzhe, Liu <[email protected]>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #20034

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Aug 27, 2024
…c-net#19515)

previously 2700a1 sensors.conf is missing bus section for psu,
so add it and update the psu_sensors.json with the info.

fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.

Signed-off-by: Yuanzhe, Liu <[email protected]>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #20035

mssonicbld pushed a commit that referenced this pull request Aug 27, 2024
previously 2700a1 sensors.conf is missing bus section for psu,
so add it and update the psu_sensors.json with the info.

fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.

Signed-off-by: Yuanzhe, Liu <[email protected]>
mssonicbld pushed a commit that referenced this pull request Aug 29, 2024
previously 2700a1 sensors.conf is missing bus section for psu,
so add it and update the psu_sensors.json with the info.

fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.

Signed-off-by: Yuanzhe, Liu <[email protected]>
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.

7 participants