Skip to content

Commit 592413b

Browse files
authored
[fast reboot] kill teamd docker directly (sonic-net#683)
Letting teamd quit and send out last handshake cause some unexpected interaction with orchagent. It appears that orchagent noticed these lag were removed and start to tear down the LAG on the ASIC side as well. This would cause the control plane to go down immediately. Until we have a better solution, revert back to original behavior. Signed-off-by: Ying Xie <[email protected]>
1 parent c41285f commit 592413b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/fast-reboot

-4
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,6 @@ if [[ "$REBOOT_TYPE" = "fast-reboot" ]]; then
424424
# restarting the container automatically.
425425
# Note: teamd must be killed before syncd, because it will send the last packet through CPU port
426426
debug "Stopping teamd ..."
427-
docker exec -i teamd pkill -USR2 teamd || [ $? == 1 ]
428-
while docker exec -i teamd pgrep teamd > /dev/null; do
429-
sleep 0.05
430-
done
431427
docker kill teamd > /dev/null
432428
systemctl stop teamd
433429
debug "Stopped teamd ..."

0 commit comments

Comments
 (0)