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] Enhance FW upgrade mechanism #16090

Merged
merged 2 commits into from
Sep 4, 2023

Conversation

stephenxs
Copy link
Collaborator

Why I did it

  1. Enhance the diagnosis information collecting mechanism
    • If the option -v is fed, it will pass additional diagnosis flags to mlxfwmanager
    • Collect all the output from mlxfwmanager and print them to syslog if it fails
  2. Abort syncd in case waiting for device or upgrading firmware fails

Signed-off-by: Stephen Sun stephens@nvidia.com

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Regression and manual test

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@stephenxs stephenxs marked this pull request as draft August 10, 2023 06:27
@stephenxs
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).

@stephenxs stephenxs force-pushed the enhance-fw-upgrade branch 2 times, most recently from 8a1566f to aa0e021 Compare August 16, 2023 05:57
1. Enhance the diagnosis information collecting mechanism
   - If the option `-v` is fed, it will pass additional diagnosis flags to mlxfwmanager
   - Collect all the output from mlxfwmanager and print them to syslog if it fails
2. Abort syncd in case waiting for device or upgrading firmware fails

Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
@stephenxs stephenxs marked this pull request as ready for review August 25, 2023 10:54
@qiluo-msft qiluo-msft merged commit b5e8c16 into sonic-net:master Sep 4, 2023
16 checks passed
@stephenxs stephenxs deleted the enhance-fw-upgrade branch September 5, 2023 01:19
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
### Why I did it

1. Enhance the diagnosis information collecting mechanism
   - If the option `-v` is fed, it will pass additional diagnosis flags to mlxfwmanager
   - Collect all the output from mlxfwmanager and print them to syslog if it fails
2. Abort syncd in case waiting for device or upgrading firmware fails

Signed-off-by: Stephen Sun <stephens@nvidia.com>

### How I did it

#### How to verify it

Regression and manual test
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