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

[fwutil]: Fix next image mount #1533

Merged
merged 2 commits into from
Apr 6, 2021

Conversation

nazariig
Copy link
Collaborator

@nazariig nazariig commented Mar 30, 2021

Signed-off-by: Nazarii Hnydyn [email protected]

What I did

  • Fixed next image mount

How I did it

  • Removed lstrip

How to verify it

  1. root@sonic:/home/admin# fwutil update chassis component <component_name> fw -i next

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

  • 201811
  • 201911
  • 202012

Previous command output (if the output of a command-line utility has changed)

root@sonic:/home/admin# fwutil update chassis component SSD fw -i next
mount: /tmp/image-IC.202012.53-aee4892c_Internal-fs: special device /host/image-IC.202012.53-aee4892c_Internal/fs.squashfs does not exist.
Error: Command 'mount -t squashfs /host/image-IC.202012.53-aee4892c_Internal/fs.squashfs /tmp/image-IC.202012.53-aee4892c_Internal-fs' returned non-zero exit status 32.. Aborting...
Aborted!

root@sonic:/home/admin# fwutil update chassis component SSD fw -i next
mount: /tmp/image-SONIC.202012.55-0269fc1_Internal-overlay: special device overlay does not exist.
Error: Command 'mount -n -r -t overlay -o lowerdir=/tmp/image-SONIC.202012.55-0269fc1_Internal-fs,upperdir=/host/image-SONIC.202012.55-0269fc1_Internal/rw,workdir=/host/image-SONIC.202012.55-0269fc1_Internal/work overlay /tmp/image-SONIC.202012.55-0269fc1_Internal-overlay' returned non-zero exit status 32.. Aborting...
Aborted!

New command output (if the output of a command-line utility has changed)

root@sonic:/home/admin# fwutil update chassis component SSD fw -i next
Info: Firmware update is not available.

Signed-off-by: Nazarii Hnydyn <[email protected]>
@nazariig
Copy link
Collaborator Author

@abdosi please help to cherry-pick to 202012

fwutil/lib.py Outdated Show resolved Hide resolved
@liat-grozovik
Copy link
Collaborator

@nazariig is this required and can be taken to 202012? if so, can you please specify in the PR description?

Signed-off-by: Nazarii Hnydyn <[email protected]>
@nazariig nazariig requested a review from jleveque March 31, 2021 16:30
@nazariig
Copy link
Collaborator Author

nazariig commented Apr 5, 2021

@nazariig is this required and can be taken to 202012? if so, can you please specify in the PR description?

I have added request for 202012

@liat-grozovik
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit b1097b2 into sonic-net:master Apr 6, 2021
yxieca pushed a commit that referenced this pull request Apr 8, 2021
- What I did
Fixed next image mount

- How I did it
Removed lstrip

- How to verify it
root@sonic:/home/admin# fwutil update chassis component <component_name> fw -i next

Signed-off-by: Nazarii Hnydyn <[email protected]>
gitsabari pushed a commit to gitsabari/sonic-utilities that referenced this pull request Jun 15, 2021
- What I did
Fixed next image mount

- How I did it
Removed lstrip

- How to verify it
root@sonic:/home/admin# fwutil update chassis component <component_name> fw -i next

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

5 participants