-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
On single-asic and multi-asic sonic devices, after sonic-installer install an image that does not exist, executing any commands generate backtrace #10135
On single-asic and multi-asic sonic devices, after sonic-installer install an image that does not exist, executing any commands generate backtrace #10135
Comments
cc @anamehra |
Issue is happening as part of sonic-installation as we do package migration we start docker/stop service in new image mount point which seems to change docker0 ip which makes the connectivity of namespace over docker bridge broken Before Installation
After Installation
|
@stepanblyschak please take a look into this. |
Also I see after post installation iptables rules created by docker. Basically all the option provided by sonic image as docker service are ignore when run again from different mount point /usr/bin/dockerd -H unix:// --storage-driver=overlay2 --bip=240.127.1.1/24 --iptables=false --ipv6=true --fixed-cidr-v6=fd00::/80
|
@mlok-nokia Workaround for now is to use --skip-package-migration with sonic-installer command. |
same issue seen on single asic linecard as well
|
@harish-kalyanaraman @abdosi @arlakshm Please check the PR sonic-net/sonic-utilities#2179. I tested VS multi-asic. Could you please help with verification on single-asic linecard? |
…erd in chroot (#2179) I attempted to fix an issue that happens on multi-asic devices after new SONiC image installation. The issue is caused by overriding docker0 bridge configuration as well as installing iptables rules by dockerd started in chroot environment. Fixes sonic-net/sonic-buildimage#10135 How I did it I start dockerd in chroot using same parameters the host dockerd is started with.
…erd in chroot (#2179) (#2407) Backport of #2179 - Why I did it I attempted to fix an issue that happens on multi-asic devices after new SONiC image installation. The issue is caused by overriding docker0 bridge configuration as well as installing iptables rules by dockerd started in chroot environment. Fixes sonic-net/sonic-buildimage#10135 - How I did it I start dockerd in chroot using same parameters the host dockerd is started with. - How to verify it Run VS multi-asic device. Install a new image on it. Verify "show version", "show interface status" Signed-off-by: Stepan Blyschak <[email protected]>
…erd in chroot (#2179) I attempted to fix an issue that happens on multi-asic devices after new SONiC image installation. The issue is caused by overriding docker0 bridge configuration as well as installing iptables rules by dockerd started in chroot environment. Fixes sonic-net/sonic-buildimage#10135 How I did it I start dockerd in chroot using same parameters the host dockerd is started with.
Description
On a multi-asic DUT, after we issue a sonic-installer install command, all SONIC commands produces a backtrace and exits w/out executing the command after a long time.
A 'sudo reboot' command does reboot the DUT, but only after the exception is thrown after a long time.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Don't expect to see the backtrace and commands should execute.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: