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] [systemd] Increase syncd startup script timeout to complete ASIC FW update #6709

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

liorghub
Copy link
Contributor

@liorghub liorghub commented Feb 7, 2021

[systemd] Increase syncd startup script timeout to support FW upgrade on init (Mellanox only).
Add prints to syslog in syncd startup script to indicate FW upgrade is in progress.
This change should be merged after the following PRs were merged:
sonic-net/sonic-sairedis#774 (master)
sonic-net/sonic-sairedis#776 (201911)
There is no PR for 201912 yet (I will make sure to add one).

Signed-off-by: liora [email protected]

- Why I did it
To support FW upgrade on init.

- How I did it
Change timeout value

- How to verify it
I manually changed ASIC and Gearbox FW followed by hard reset in order for FW upgrade to take place on init.

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

  • 201811
  • 201911
  • 202006
  • 202012

@liorghub liorghub requested a review from lguohan as a code owner February 7, 2021 08:01
@liorghub
Copy link
Contributor Author

liorghub commented Feb 9, 2021

@lguohan Appreciate your review.

@liat-grozovik liat-grozovik changed the title [systemd] Increase syncd startup script timeout [Mellanox] [systemd] Increase syncd startup script timeout for Feb 9, 2021
@liat-grozovik
Copy link
Collaborator

@liorghub this fix is pending a submodule update, please refer to which sai-redis change this is pending so it will not be merged before.
Also, please confirm this change can be cherry pick to 201911 as is.

@liorghub
Copy link
Contributor Author

liorghub commented Feb 9, 2021

@liat-grozovik
I have updated the commit message.
I verified, cherry pick to 201911 is clean.

@liat-grozovik
Copy link
Collaborator

@liat-grozovik
I have updated the commit message.
I verified, cherry pick to 201911 is clean.

thanks. Please check build failure.

@liorghub
Copy link
Contributor Author

/AzurePipelines run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 6709 in repo Azure/sonic-buildimage

@liorghub
Copy link
Contributor Author

retest this please

@liorghub
Copy link
Contributor Author

retest kvmtest-t0

@liorghub
Copy link
Contributor Author

retest Test kvmtest-t0

@liorghub
Copy link
Contributor Author

liorghub commented Feb 10, 2021

@liat-grozovik Log shows bgp test is failing, for sure not related to my changes.
How can I rerun the pipeline or the failing test?

@liat-grozovik
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik changed the title [Mellanox] [systemd] Increase syncd startup script timeout for [Mellanox] [systemd] Increase syncd startup script timeout to complete ASIC FW update Feb 11, 2021
@liat-grozovik liat-grozovik merged commit 6f8c315 into sonic-net:master Feb 11, 2021
daall pushed a commit that referenced this pull request Feb 16, 2021
… on init. (#6709)

**- Why I did it**
To support FW upgrade on init.

**- How I did it**
Change timeout value

**- How to verify it**
I manually changed ASIC and Gearbox FW followed by hard reset in order for FW upgrade to take place on init.

Signed-off-by: liora <[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.

3 participants