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] Fix retry logic on discovery of MST device #20389

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

dgsudharsan
Copy link
Collaborator

Why I did it

Fixing retry logic when MST device is discovered. The current implementation only fetches the name of the device but doesn't verify if the device is accessible which can be confirmed by querying the device and ensuring the command passes.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Added a query command with device as parameter and ensured it passes.

How to verify it

Running upgrade tests.

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)

@dgsudharsan dgsudharsan marked this pull request as draft October 1, 2024 02:07
@dgsudharsan dgsudharsan marked this pull request as ready for review October 1, 2024 16:08
@prgeor
Copy link
Contributor

prgeor commented Oct 4, 2024

/azpw ms_conflict

1 similar comment
@dgsudharsan
Copy link
Collaborator Author

/azpw ms_conflict

@dgsudharsan
Copy link
Collaborator Author

/azpw run ms_conflict

@mssonicbld
Copy link
Collaborator

/AzurePipelines run ms_conflict

Copy link

No pipelines are associated with this pull request.

@dgsudharsan
Copy link
Collaborator Author

/azpw ms_conflict

2 similar comments
@bingwang-ms
Copy link
Contributor

/azpw ms_conflict

@liushilongbuaa
Copy link
Contributor

/azpw ms_conflict

@liat-grozovik liat-grozovik merged commit 9f9d82d into sonic-net:master Oct 8, 2024
23 checks passed
@dgsudharsan
Copy link
Collaborator Author

202405 PR created here due to manual conflicts: #20390

saksarav-nokia pushed a commit to saksarav-nokia/sonic-buildimage that referenced this pull request Oct 9, 2024
- Why I did it
Fixing retry logic when MST device is discovered. The current implementation only fetches the name of the device but doesn't verify if the device is accessible which can be confirmed by querying the device and ensuring the command passes.

- How I did it
Added a query command with device as parameter and ensured it passes.

- How to verify it
Running upgrade tests.
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.

8 participants