-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fwutil update all
cannot be run consecutively
#8928
Comments
@sujinmkang FYI |
@alexrallen originally it is designed to prevent from another fwutil all if there is already 'fwutil all' ran for a different reboot type. |
…ot fw update (#2040) sonic-net/sonic-buildimage#8928 sonic-net/sonic-buildimage#8926 sonic-net/sonic-buildimage#8925 sonic-net/sonic-buildimage#8924 #### What I did Allow fwutil update all for other boot type if any previous fw update done for "none" boot type #### How I did it Allow fwutil update all for other boot type if any previous fw update done for "none" boot type #### How to verify it 1. Run fwutil update all for boot_type="none" 2. Run fwutil update all for any other boot_type 3. Verify if the 2nd update is proceeded.
…ot fw update (#2040) sonic-net/sonic-buildimage#8928 sonic-net/sonic-buildimage#8926 sonic-net/sonic-buildimage#8925 sonic-net/sonic-buildimage#8924 #### What I did Allow fwutil update all for other boot type if any previous fw update done for "none" boot type #### How I did it Allow fwutil update all for other boot type if any previous fw update done for "none" boot type #### How to verify it 1. Run fwutil update all for boot_type="none" 2. Run fwutil update all for any other boot_type 3. Verify if the 2nd update is proceeded.
@sujinmkang During testing we discovered that this issue has not been completely resolved (my fault for not catching this during the PR review). sonic-net/sonic-utilities#2040 only fixed the case of using i.e. If you attempt to install firmwares that can only be installed by a cold reboot but you pass the Perhaps augment the logic you have added here in the above PR |
@sujinmkang can you please help to provide an update on this issue? Thanks. |
…ot fw update (#2040) sonic-net/sonic-buildimage#8928 sonic-net/sonic-buildimage#8926 sonic-net/sonic-buildimage#8925 sonic-net/sonic-buildimage#8924 #### What I did Allow fwutil update all for other boot type if any previous fw update done for "none" boot type #### How I did it Allow fwutil update all for other boot type if any previous fw update done for "none" boot type #### How to verify it 1. Run fwutil update all for boot_type="none" 2. Run fwutil update all for any other boot_type 3. Verify if the 2nd update is proceeded.
Description
When
fwutil update all fw --boot=none
it creates a/var/platform/fw_au_status
which remains even after the firmware is installed. On each subsequent execution offwutil update all
it detects the existence of this file and bails out.This also occurs on all unsuccessful firmware installs, the
fw_au_status
file must be deleted manually to proceed.Steps to reproduce the issue:
platform_components.json
fwutil update all fw --boot=none
fwutil update all fw --boot=warm
Describe the results you received:
Describe the results you expected:
We expect not to have to manually delete
fw_au_status
or at least to have clear instructions to do so in the event a stale file is left over.The text was updated successfully, but these errors were encountered: