-
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
does not print fw_au_status
file in human-readable format
#8926
Comments
@sujinmkang FYI |
@alexrallen I think it would be better to have readable fw_au_status but you can check update status using "fwutil show update status" to check the status(refer to https://github.com/Azure/SONiC/blob/master/doc/fwutil/fwutil.md)? can you use it for now to check the update status? |
For now, yes this is non-functional. However from a quality perspective we should have any output to the terminal be human readable. |
…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.
…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 the
fwutil update all
command is run and it generates afw_au_status
file for tracking upgrade status, it does not create it in a human readable format. This is important because users are intended to reference this file to check the status of their firmware upgrades.Steps to reproduce the issue:
platform_components.json
fwutil update all fw --boot=cold
Describe the results you received:
Status is referred to as "false" and info message is not useful for debugging. Would also much prefer pretty-printing the JSON so that it can be easily parsed when printed on a terminal screen.
Describe the results you expected:
This should be the response we get per the HLD. Informative and easy to read.
The text was updated successfully, but these errors were encountered: