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] Use efibootmgr for supported device on fwutil #56

Closed
wants to merge 2 commits into from

Conversation

DavidZagury
Copy link
Owner

And add the force flag to the reboot, which is needed now that we no longer use power cycle due to # 18325

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

Update the onie fw update script to use efibootmgr for the supported devices, and on the reboot command, call the reboot script with the f flag.

How to verify it

Run ONIE upgrade using fwutil

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

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

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)

And add the force flag to the reboot, which is needed now that we no longer use power cycle due to sonic-net#18325
@DavidZagury DavidZagury requested a review from nazariig June 26, 2024 07:26
@@ -106,7 +115,7 @@ system_reboot() {
sleep 5s

# Use SONiC reboot scenario
/usr/local/bin/reboot
/usr/local/bin/reboot -f

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidZagury why do we need force here? Did u try without force?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nazariig Yes, I tried without the force, this is what solved the issue we discussed.

@dprital dprital requested a review from nazariig July 2, 2024 21:25
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.

2 participants