File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -418,16 +418,12 @@ docker kill lldp > /dev/null
418
418
systemctl stop lldp
419
419
420
420
if [[ " $REBOOT_TYPE " = " fast-reboot" ]]; then
421
- # Kill teamd processes inside of teamd container with SIGINT to allow them to send last LACP frames
422
421
# Kill teamd, otherwise it gets down all LAGs
423
422
# We call `docker kill teamd` to ensure the container stops as quickly as possible,
424
423
# then immediately call `systemctl stop teamd` to prevent the service from
425
424
# restarting the container automatically.
426
425
# Note: teamd must be killed before syncd, because it will send the last packet through CPU port
427
- docker exec -i teamd pkill -INT teamd || [ $? == 1 ]
428
- while docker exec -i teamd pgrep teamd > /dev/null; do
429
- sleep 0.05
430
- done
426
+ # TODO: stop teamd gracefully to allow teamd to send last valid update to be sure we'll have 90 seconds reboot time
431
427
docker kill teamd > /dev/null
432
428
systemctl stop teamd
433
429
fi
You can’t perform that action at this time.
0 commit comments