-
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
Leftover portchannel found in the kernel after switch topology from T0 to T1-LAG #2760
Comments
@keboliu Can you help with the fix? |
When a port-channel is created by user (config portchannel add PortChannelXXX), the corresponding netdevice is created in the kernel(teamd_init() calls team_create() which creates the netdevice in the kernel). These netdevices are deleted in the kernel when user deletes the configuration (config portchannel del PortChannelXXX). During config-reload, port-channel netdevices are not exclusively deleted in the kernel. Solution - when teamd docker starts, delete all the existing port-channel netdevices in kernel. |
Looks like fixed as part of sonic-net/sonic-swss#1159 |
* Fix segmentation fault is observed during SWSS compilation:
…lly (#16335) #### Why I did it src/sonic-swss ``` * 16817324 - (HEAD -> 202211, origin/202211) [mux]: Fix UTs segmentation fault (#2760) (12 hours ago) [Nazarii Hnydyn] * 0fa5d880 - [orchagent]: Handle additional SAI error conditions gracefully (#2755) (2 days ago) [prabhataravind] * 3726aebc - [mux]: Implement rollback for failed mux switchovers (#2714) (2 days ago) [Lawrence Lee] * a8e50e7d - [portsorch]: Set default hostif TX queue (#2697) (2 days ago) [prabhataravind] * 0689d656 - Add missing parameter to on_switch_shutdown_request method. (#2567) (2 days ago) [Hua Liu] ``` #### How I did it #### How to verify it #### Description for the changelog
Description
After switch DUT topology from T0 to T1-LAG through "config reload", some portchannel in T0 topology still can be found in the kernel(from the result of "ifconfig"), only reboot the DUT can have these leftover portchannels cleared.
Switch from T1-LAG to T0 can see the similiar issue.
capture from the DUT:
Steps to reproduce the issue:
Describe the results you received:
Not all the portchannels of T0 are cleared.
Describe the results you expected:
All the T0 configuration should be cleared and only T1-LAG configuration applied on the DUT
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: