-
Notifications
You must be signed in to change notification settings - Fork 519
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
[warm-reboot] lag mtu was deleted from app_db after system warm-reboot #888
Comments
This is a known issue that may happen during bootup. It is supposed to be fixed as part of sonic-net/sonic-buildimage#2829. Can you check if you have this fix? |
@prsunny Thank you for your reply. I checked it, we have not merged this fix yet. However, I made the corresponding changes directly on the device, as follows:
Then execute warm-reboot, but the phenomenon is still the same as described above. I think they should be two different issues. Further, I checked the code of teamsyncd. When executing warm-reboot, the lag information from the kernel will be written to m_tempViewState instead of APP_DB. After 70 seconds (DEFAULT_WR_PENDING_TIMEOUT), execute applyState(). But currently, the information that needs to be synchronized from the kernel is only admin_status and oper_status, no mtu, I think the problem may be here. Hope to help. |
@prsunny , @leoli-nps
SONiC Software Version: SONiC.201911.470-dirty-20200413.175026 Platform: x86_64-accton_wedge100bf_65x-r0 Docker images: |
Co-authored-by: Travis Van Duyn <trvanduy@microsoft.com>
<1> Top
<2> Config
<3> Get information about PortChannel0001 in APP_DB before warm-reboot
<4> Execute command
sudo warm-reboot
<5> Get information about PortChannel0001 in APP_DB after warm-reboot
<6> Debug
In fact, in the initial period after warm-reboot, lag mtu still exists in app_db, but after about a minute, it is gone; look at the swss.rec file, you can see the following information:
show version
Attach debug file
sudo generate_dump
:sonic_dump_sonic_20190513_114008.tar.gz
Signed-off-by: leo.li leo.li@nephosinc.com
The text was updated successfully, but these errors were encountered: