Skip to content

[202012] [teammgrd]: Improve LAGs cleanup on shutdown#1831

Closed
nazariig wants to merge 1 commit intosonic-net:202012from
nazariig:202012-teammgrd-cleanup-sigterm
Closed

[202012] [teammgrd]: Improve LAGs cleanup on shutdown#1831
nazariig wants to merge 1 commit intosonic-net:202012from
nazariig:202012-teammgrd-cleanup-sigterm

Conversation

@nazariig
Copy link
Copy Markdown
Collaborator

@nazariig nazariig commented Jul 21, 2021

Signed-off-by: Nazarii Hnydyn [email protected]

This PR is intended to fix LAGs cleanup degradation caused by python2.7 -> python3 migration.
The approach is to replace teamd -k -t call with the raw SIGTERM and add PID alive check.
This will make sure the teammgrd is stopped only after all managed processes are being killed.

resolves: sonic-net/sonic-buildimage#8071

What I did

  • Replaced teamd -k -t call with raw SIGTERM
  • Added PID alive check

Why I did it

  • To fix LAGs cleanup timeout issue caused by python2.7 -> python3 upgrade

How I verified it

  1. Configure 64 LAG RIFs
  2. Reload config

Details if related

Jul 21 12:28:14.754221 sonic INFO systemd[1]: Stopping TEAMD container...
Jul 21 12:28:14.761918 sonic NOTICE admin: Stopping teamd service...
Jul 21 12:28:14.969814 sonic NOTICE admin: Warm boot flag: teamd false.
Jul 21 12:28:14.974810 sonic NOTICE admin: Fast boot flag: teamd false.
Jul 21 12:28:15.174082 sonic DEBUG /container: container_stop: BEGIN
Jul 21 12:28:15.174419 sonic DEBUG /container: read_data: config:True feature:teamd fields:[('set_owner', 'local'), ('no_fallback_to_local', False)] val:['local', False]
Jul 21 12:28:15.174648 sonic DEBUG /container: read_data: config:False feature:teamd fields:[('current_owner', 'none'), ('remote_state', 'none'), ('container_id', '')] val:['none', 'none', '']
Jul 21 12:28:15.174866 sonic DEBUG /container: container_stop: teamd: set_owner:local current_owner:none remote_state:none docker_id:teamd
Jul 21 12:28:15.588563 sonic INFO teamd#supervisord 2021-07-21 12:28:15,587 WARN received SIGTERM indicating exit request
Jul 21 12:28:15.589531 sonic INFO teamd#supervisord 2021-07-21 12:28:15,588 INFO waiting for supervisor-proc-exit-listener, rsyslogd, teammgrd, teamsyncd, tlm_teamd to die
Jul 21 12:28:16.607286 sonic NOTICE teamd#tlm_teamd: :- main: Exiting
Jul 21 12:28:16.607286 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel9'
Jul 21 12:28:16.607367 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel8'
Jul 21 12:28:16.607407 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel63'
Jul 21 12:28:16.607407 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel62'
Jul 21 12:28:16.607615 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel57'
Jul 21 12:28:16.607707 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel56'
Jul 21 12:28:16.607707 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel55'
Jul 21 12:28:16.607707 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel53'
Jul 21 12:28:16.607801 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel52'
Jul 21 12:28:16.607958 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel50'
Jul 21 12:28:16.607998 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel5'
Jul 21 12:28:16.608063 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel58'
Jul 21 12:28:16.608063 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel49'
Jul 21 12:28:16.608166 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel48'
Jul 21 12:28:16.608166 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel6'
Jul 21 12:28:16.608213 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel47'
Jul 21 12:28:16.608275 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel46'
Jul 21 12:28:16.608381 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel43'
Jul 21 12:28:16.608551 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel22'
Jul 21 12:28:16.608551 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel32'
Jul 21 12:28:16.608753 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel45'
Jul 21 12:28:16.608753 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel2'
Jul 21 12:28:16.608753 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel18'
Jul 21 12:28:16.608753 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel44'
Jul 21 12:28:16.608836 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel41'
Jul 21 12:28:16.609003 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel64'
Jul 21 12:28:16.609003 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel20'
Jul 21 12:28:16.609003 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel19'
Jul 21 12:28:16.609003 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel13'
Jul 21 12:28:16.609060 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel17'
Jul 21 12:28:16.609060 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel10'
Jul 21 12:28:16.609258 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel59'
Jul 21 12:28:16.609258 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel42'
Jul 21 12:28:16.609258 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel37'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel54'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel16'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel23'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel25'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel11'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel60'
Jul 21 12:28:16.609701 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel29'
Jul 21 12:28:16.609824 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel12'
Jul 21 12:28:16.609988 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel24'
Jul 21 12:28:16.609988 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel15'
Jul 21 12:28:16.609988 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel30'
Jul 21 12:28:16.610216 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel26'
Jul 21 12:28:16.610371 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel27'
Jul 21 12:28:16.610371 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel28'
Jul 21 12:28:16.610371 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel39'
Jul 21 12:28:16.610371 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel3'
Jul 21 12:28:16.610371 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel21'
Jul 21 12:28:16.610463 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel1'
Jul 21 12:28:16.610463 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel34'
Jul 21 12:28:16.610527 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel61'
Jul 21 12:28:16.610566 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel38'
Jul 21 12:28:16.610566 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel14'
Jul 21 12:28:16.610618 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel31'
Jul 21 12:28:16.610618 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel7'
Jul 21 12:28:16.610735 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel33'
Jul 21 12:28:16.610735 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel51'
Jul 21 12:28:16.610793 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel35'
Jul 21 12:28:16.610793 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel4'
Jul 21 12:28:16.610833 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel36'
Jul 21 12:28:16.610907 sonic NOTICE teamd#tlm_teamd: :- ~TeamdCtlMgr: Exiting. Disconnecting from teamd. LAG 'PortChannel40'
Jul 21 12:28:17.495103 sonic INFO teamd#supervisord 2021-07-21 12:28:17,494 INFO stopped: tlm_teamd (exit status 0)
Jul 21 12:28:18.496470 sonic NOTICE teamd#teamsyncd: :- cleanTeamSync: Cleaning up LAG teamd resources ...
Jul 21 12:28:18.514235 sonic NOTICE teamd#teamsyncd: :- main: Received SIGTERM Exiting
Jul 21 12:28:19.491444 sonic INFO teamd#supervisord 2021-07-21 12:28:19,490 INFO stopped: teamsyncd (exit status 0)
Jul 21 12:28:19.492208 sonic INFO teamd#supervisord 2021-07-21 12:28:19,491 INFO waiting for supervisor-proc-exit-listener, rsyslogd, teammgrd to die
Jul 21 12:28:20.492519 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Cleaning up LAGs during shutdown...
Jul 21 12:28:20.500650 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel9 admin:1 oper:0 addr:1c:34:da:c2:23:00 ifindex:975 master:0 type:team
Jul 21 12:28:20.500650 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel1 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:912 master:0 type:team
Jul 21 12:28:20.502807 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel1 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:912 master:0 type:team
Jul 21 12:28:20.509360 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel10 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:913 master:0 type:team
Jul 21 12:28:20.512497 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel10 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:913 master:0 type:team
Jul 21 12:28:20.518323 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel11 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:914 master:0 type:team
Jul 21 12:28:20.519534 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel11 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:914 master:0 type:team
Jul 21 12:28:20.524593 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel12 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:915 master:0 type:team
Jul 21 12:28:20.525866 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel12 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:915 master:0 type:team
Jul 21 12:28:20.529689 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel13 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:916 master:0 type:team
Jul 21 12:28:20.532423 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel13 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:916 master:0 type:team
Jul 21 12:28:20.535876 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel14 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:917 master:0 type:team
Jul 21 12:28:20.537114 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel14 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:917 master:0 type:team
Jul 21 12:28:20.539238 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel16 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:919 master:0 type:team
Jul 21 12:28:20.540526 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel16 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:919 master:0 type:team
Jul 21 12:28:20.547607 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel17 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:920 master:0 type:team
Jul 21 12:28:20.548683 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel17 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:920 master:0 type:team
Jul 21 12:28:20.550735 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel19 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:922 master:0 type:team
Jul 21 12:28:20.551990 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel19 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:922 master:0 type:team
Jul 21 12:28:20.554037 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel2 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:923 master:0 type:team
Jul 21 12:28:20.555641 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel2 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:923 master:0 type:team
Jul 21 12:28:20.564424 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel21 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:925 master:0 type:team
Jul 21 12:28:20.565574 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel21 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:925 master:0 type:team
Jul 21 12:28:20.568036 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel20 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:924 master:0 type:team
Jul 21 12:28:20.569530 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel20 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:924 master:0 type:team
Jul 21 12:28:20.575211 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel22 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:926 master:0 type:team
Jul 21 12:28:20.579485 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel22 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:926 master:0 type:team
Jul 21 12:28:20.579714 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel15 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:918 master:0 type:team
Jul 21 12:28:20.580819 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel15 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:918 master:0 type:team
Jul 21 12:28:20.582198 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel24 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:928 master:0 type:team
Jul 21 12:28:20.583607 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel24 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:928 master:0 type:team
Jul 21 12:28:20.586801 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel18 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:921 master:0 type:team
Jul 21 12:28:20.588139 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel18 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:921 master:0 type:team
Jul 21 12:28:20.594249 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel25 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:929 master:0 type:team
Jul 21 12:28:20.595842 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel25 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:929 master:0 type:team
Jul 21 12:28:20.602709 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel26 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:930 master:0 type:team
Jul 21 12:28:20.603901 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel26 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:930 master:0 type:team
Jul 21 12:28:20.608144 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel27 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:931 master:0 type:team
Jul 21 12:28:20.609920 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel27 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:931 master:0 type:team
Jul 21 12:28:20.612235 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel29 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:933 master:0 type:team
Jul 21 12:28:20.613436 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel29 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:933 master:0 type:team
Jul 21 12:28:20.615455 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel28 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:932 master:0 type:team
Jul 21 12:28:20.616685 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel28 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:932 master:0 type:team
Jul 21 12:28:20.617822 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel33 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:938 master:0 type:team
Jul 21 12:28:20.618821 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel33 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:938 master:0 type:team
Jul 21 12:28:20.620749 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel23 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:927 master:0 type:team
Jul 21 12:28:20.622878 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel23 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:927 master:0 type:team
Jul 21 12:28:20.624078 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel32 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:937 master:0 type:team
Jul 21 12:28:20.625768 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel32 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:937 master:0 type:team
Jul 21 12:28:20.626260 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel3 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:934 master:0 type:team
Jul 21 12:28:20.627449 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel3 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:934 master:0 type:team
Jul 21 12:28:20.635097 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel34 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:939 master:0 type:team
Jul 21 12:28:20.636713 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel34 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:939 master:0 type:team
Jul 21 12:28:20.638044 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel37 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:942 master:0 type:team
Jul 21 12:28:20.639584 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel37 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:942 master:0 type:team
Jul 21 12:28:20.640195 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel36 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:941 master:0 type:team
Jul 21 12:28:20.641585 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel36 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:941 master:0 type:team
Jul 21 12:28:20.642638 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel30 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:935 master:0 type:team
Jul 21 12:28:20.644151 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel30 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:935 master:0 type:team
Jul 21 12:28:20.647648 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel39 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:944 master:0 type:team
Jul 21 12:28:20.648849 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel39 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:944 master:0 type:team
Jul 21 12:28:20.649892 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel4 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:945 master:0 type:team
Jul 21 12:28:20.651297 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel4 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:945 master:0 type:team
Jul 21 12:28:20.652035 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel35 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:940 master:0 type:team
Jul 21 12:28:20.653062 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel35 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:940 master:0 type:team
Jul 21 12:28:20.656534 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel38 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:943 master:0 type:team
Jul 21 12:28:20.657673 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel38 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:943 master:0 type:team
Jul 21 12:28:20.665063 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel41 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:947 master:0 type:team
Jul 21 12:28:20.666374 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel41 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:947 master:0 type:team
Jul 21 12:28:20.670885 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel31 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:936 master:0 type:team
Jul 21 12:28:20.671205 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel31 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:936 master:0 type:team
Jul 21 12:28:20.673375 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel40 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:946 master:0 type:team
Jul 21 12:28:20.675735 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel40 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:946 master:0 type:team
Jul 21 12:28:20.685126 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel42 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:948 master:0 type:team
Jul 21 12:28:20.686607 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel42 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:948 master:0 type:team
Jul 21 12:28:20.688242 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel44 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:950 master:0 type:team
Jul 21 12:28:20.689640 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel44 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:950 master:0 type:team
Jul 21 12:28:20.693480 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel46 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:952 master:0 type:team
Jul 21 12:28:20.694411 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel46 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:952 master:0 type:team
Jul 21 12:28:20.695707 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel45 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:951 master:0 type:team
Jul 21 12:28:20.696945 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel45 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:951 master:0 type:team
Jul 21 12:28:20.701959 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel47 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:953 master:0 type:team
Jul 21 12:28:20.703208 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel47 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:953 master:0 type:team
Jul 21 12:28:20.705394 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel48 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:954 master:0 type:team
Jul 21 12:28:20.707122 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel48 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:954 master:0 type:team
Jul 21 12:28:20.708550 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel49 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:955 master:0 type:team
Jul 21 12:28:20.709182 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel49 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:955 master:0 type:team
Jul 21 12:28:20.709671 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel43 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:949 master:0 type:team
Jul 21 12:28:20.710452 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel43 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:949 master:0 type:team
Jul 21 12:28:20.713423 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel5 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:956 master:0 type:team
Jul 21 12:28:20.714754 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel5 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:956 master:0 type:team
Jul 21 12:28:20.717781 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel50 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:957 master:0 type:team
Jul 21 12:28:20.720075 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel50 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:957 master:0 type:team
Jul 21 12:28:20.725526 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel51 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:958 master:0 type:team
Jul 21 12:28:20.726657 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel51 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:958 master:0 type:team
Jul 21 12:28:20.729499 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel52 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:959 master:0 type:team
Jul 21 12:28:20.730790 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel52 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:959 master:0 type:team
Jul 21 12:28:20.733308 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel53 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:960 master:0 type:team
Jul 21 12:28:20.734640 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel53 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:960 master:0 type:team
Jul 21 12:28:20.736822 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel54 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:961 master:0 type:team
Jul 21 12:28:20.737976 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel54 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:961 master:0 type:team
Jul 21 12:28:20.741678 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel55 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:962 master:0 type:team
Jul 21 12:28:20.742387 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel55 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:962 master:0 type:team
Jul 21 12:28:20.744646 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel56 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:963 master:0 type:team
Jul 21 12:28:20.745854 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel56 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:963 master:0 type:team
Jul 21 12:28:20.748947 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel57 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:964 master:0 type:team
Jul 21 12:28:20.749165 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel57 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:964 master:0 type:team
Jul 21 12:28:20.751264 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel58 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:965 master:0 type:team
Jul 21 12:28:20.752089 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel58 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:965 master:0 type:team
Jul 21 12:28:20.754278 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel59 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:966 master:0 type:team
Jul 21 12:28:20.755200 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel59 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:966 master:0 type:team
Jul 21 12:28:20.757164 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel6 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:967 master:0 type:team
Jul 21 12:28:20.758512 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel6 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:967 master:0 type:team
Jul 21 12:28:20.760204 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel60 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:968 master:0 type:team
Jul 21 12:28:20.761006 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel60 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:968 master:0 type:team
Jul 21 12:28:20.764055 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel61 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:969 master:0 type:team
Jul 21 12:28:20.765059 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel61 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:969 master:0 type:team
Jul 21 12:28:20.767452 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel62 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:970 master:0 type:team
Jul 21 12:28:20.768112 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel62 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:970 master:0 type:team
Jul 21 12:28:20.770427 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel63 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:971 master:0 type:team
Jul 21 12:28:20.771529 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel63 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:971 master:0 type:team
Jul 21 12:28:20.773183 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel64 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:972 master:0 type:team
Jul 21 12:28:20.773967 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel64 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:972 master:0 type:team
Jul 21 12:28:20.776286 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel7 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:973 master:0 type:team
Jul 21 12:28:20.777400 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel7 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:973 master:0 type:team
Jul 21 12:28:20.779925 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel8 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:974 master:0 type:team
Jul 21 12:28:20.780650 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel8 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:974 master:0 type:team
Jul 21 12:28:20.784391 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel9 to stop...
Jul 21 12:28:20.784876 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:PortChannel9 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:975 master:0 type:team
Jul 21 12:28:20.785633 sonic NOTICE swss#portsyncd: :- onMsg: nlmsg type:17 key:PortChannel9 admin:0 oper:0 addr:1c:34:da:c2:23:00 ifindex:975 master:0 type:team
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,494 INFO reaped unknown pid 26 (exit status 0)
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,494 INFO reaped unknown pid 34 (exit status 0)
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,495 INFO reaped unknown pid 42 (exit status 0)
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,495 INFO reaped unknown pid 50 (exit status 0)
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,495 INFO reaped unknown pid 58 (exit status 0)
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,495 INFO reaped unknown pid 66 (exit status 0)
Jul 21 12:28:21.496589 sonic INFO teamd#supervisord 2021-07-21 12:28:21,495 INFO reaped unknown pid 74 (exit status 0)
Jul 21 12:28:21.496671 sonic INFO teamd#supervisord 2021-07-21 12:28:21,496 INFO reaped unknown pid 82 (exit status 0)
Jul 21 12:28:21.496734 sonic INFO teamd#supervisord 2021-07-21 12:28:21,496 INFO reaped unknown pid 90 (exit status 0)
Jul 21 12:28:21.498187 sonic INFO teamd#supervisord 2021-07-21 12:28:21,496 INFO reaped unknown pid 98 (exit status 0)
Jul 21 12:28:21.498187 sonic INFO teamd#supervisord 2021-07-21 12:28:21,496 INFO reaped unknown pid 106 (exit status 0)
Jul 21 12:28:21.498187 sonic INFO teamd#supervisord 2021-07-21 12:28:21,497 INFO reaped unknown pid 114 (exit status 0)
Jul 21 12:28:21.498187 sonic INFO teamd#supervisord 2021-07-21 12:28:21,497 INFO reaped unknown pid 122 (exit status 0)
Jul 21 12:28:21.498234 sonic INFO teamd#supervisord 2021-07-21 12:28:21,497 INFO reaped unknown pid 130 (exit status 0)
Jul 21 12:28:21.498234 sonic INFO teamd#supervisord 2021-07-21 12:28:21,497 INFO reaped unknown pid 138 (exit status 0)
Jul 21 12:28:21.499320 sonic INFO teamd#supervisord 2021-07-21 12:28:21,497 INFO reaped unknown pid 146 (exit status 0)
Jul 21 12:28:21.499320 sonic INFO teamd#supervisord 2021-07-21 12:28:21,498 INFO reaped unknown pid 154 (exit status 0)
Jul 21 12:28:21.499349 sonic INFO teamd#supervisord 2021-07-21 12:28:21,498 INFO reaped unknown pid 162 (exit status 0)
Jul 21 12:28:21.500273 sonic INFO teamd#supervisord 2021-07-21 12:28:21,499 INFO reaped unknown pid 170 (exit status 0)
Jul 21 12:28:21.500273 sonic INFO teamd#supervisord 2021-07-21 12:28:21,499 INFO reaped unknown pid 178 (exit status 0)
Jul 21 12:28:21.500273 sonic INFO teamd#supervisord 2021-07-21 12:28:21,499 INFO reaped unknown pid 186 (exit status 0)
Jul 21 12:28:21.500314 sonic INFO teamd#supervisord 2021-07-21 12:28:21,499 INFO reaped unknown pid 194 (exit status 0)
Jul 21 12:28:21.501200 sonic INFO teamd#supervisord 2021-07-21 12:28:21,500 INFO reaped unknown pid 202 (exit status 0)
Jul 21 12:28:21.501200 sonic INFO teamd#supervisord 2021-07-21 12:28:21,500 INFO reaped unknown pid 210 (exit status 0)
Jul 21 12:28:21.501200 sonic INFO teamd#supervisord 2021-07-21 12:28:21,500 INFO reaped unknown pid 218 (exit status 0)
Jul 21 12:28:21.501200 sonic INFO teamd#supervisord 2021-07-21 12:28:21,500 INFO reaped unknown pid 226 (exit status 0)
Jul 21 12:28:21.501718 sonic INFO teamd#supervisord 2021-07-21 12:28:21,501 INFO reaped unknown pid 234 (exit status 0)
Jul 21 12:28:21.501718 sonic INFO teamd#supervisord 2021-07-21 12:28:21,501 INFO reaped unknown pid 242 (exit status 0)
Jul 21 12:28:21.502186 sonic INFO teamd#supervisord 2021-07-21 12:28:21,501 INFO reaped unknown pid 250 (exit status 0)
Jul 21 12:28:21.502186 sonic INFO teamd#supervisord 2021-07-21 12:28:21,501 INFO reaped unknown pid 258 (exit status 0)
Jul 21 12:28:21.503167 sonic INFO teamd#supervisord 2021-07-21 12:28:21,502 INFO reaped unknown pid 266 (exit status 0)
Jul 21 12:28:21.503167 sonic INFO teamd#supervisord 2021-07-21 12:28:21,502 INFO reaped unknown pid 274 (exit status 0)
Jul 21 12:28:21.503167 sonic INFO teamd#supervisord 2021-07-21 12:28:21,502 INFO reaped unknown pid 282 (exit status 0)
Jul 21 12:28:21.503167 sonic INFO teamd#supervisord 2021-07-21 12:28:21,502 INFO reaped unknown pid 290 (exit status 0)
Jul 21 12:28:21.503644 sonic INFO teamd#supervisord 2021-07-21 12:28:21,503 INFO reaped unknown pid 298 (exit status 0)
Jul 21 12:28:21.503644 sonic INFO teamd#supervisord 2021-07-21 12:28:21,503 INFO reaped unknown pid 306 (exit status 0)
Jul 21 12:28:21.504125 sonic INFO teamd#supervisord 2021-07-21 12:28:21,503 INFO reaped unknown pid 314 (exit status 0)
Jul 21 12:28:21.504125 sonic INFO teamd#supervisord 2021-07-21 12:28:21,503 INFO reaped unknown pid 322 (exit status 0)
Jul 21 12:28:21.504927 sonic INFO teamd#supervisord 2021-07-21 12:28:21,504 INFO reaped unknown pid 332 (exit status 0)
Jul 21 12:28:21.504927 sonic INFO teamd#supervisord 2021-07-21 12:28:21,504 INFO reaped unknown pid 340 (exit status 0)
Jul 21 12:28:21.504927 sonic INFO teamd#supervisord 2021-07-21 12:28:21,504 INFO reaped unknown pid 348 (exit status 0)
Jul 21 12:28:21.507771 sonic INFO teamd#supervisord 2021-07-21 12:28:21,504 INFO reaped unknown pid 356 (exit status 0)
Jul 21 12:28:21.507771 sonic INFO teamd#supervisord 2021-07-21 12:28:21,504 INFO reaped unknown pid 364 (exit status 0)
Jul 21 12:28:21.507771 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 372 (exit status 0)
Jul 21 12:28:21.507771 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 380 (exit status 0)
Jul 21 12:28:21.507792 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 388 (exit status 0)
Jul 21 12:28:21.507792 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 396 (exit status 0)
Jul 21 12:28:21.507810 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 404 (exit status 0)
Jul 21 12:28:21.507810 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 412 (exit status 0)
Jul 21 12:28:21.507831 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 420 (exit status 0)
Jul 21 12:28:21.507831 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 428 (exit status 0)
Jul 21 12:28:21.507831 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 436 (exit status 0)
Jul 21 12:28:21.507831 sonic INFO teamd#supervisord 2021-07-21 12:28:21,505 INFO reaped unknown pid 444 (exit status 0)
Jul 21 12:28:21.507842 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 452 (exit status 0)
Jul 21 12:28:21.507850 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 460 (exit status 0)
Jul 21 12:28:21.507856 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 468 (exit status 0)
Jul 21 12:28:21.507875 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 476 (exit status 0)
Jul 21 12:28:21.507875 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 484 (exit status 0)
Jul 21 12:28:21.507875 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 492 (exit status 0)
Jul 21 12:28:21.507875 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 500 (exit status 0)
Jul 21 12:28:21.507894 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 508 (exit status 0)
Jul 21 12:28:21.507894 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 516 (exit status 0)
Jul 21 12:28:21.507914 sonic INFO teamd#supervisord 2021-07-21 12:28:21,506 INFO reaped unknown pid 524 (exit status 0)
Jul 21 12:28:21.507927 sonic INFO teamd#supervisord 2021-07-21 12:28:21,507 INFO reaped unknown pid 532 (exit status 0)
Jul 21 12:28:21.787007 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel8 to stop...
Jul 21 12:28:21.790655 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel63 to stop...
Jul 21 12:28:21.794097 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel62 to stop...
Jul 21 12:28:21.797728 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel57 to stop...
Jul 21 12:28:21.801029 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel56 to stop...
Jul 21 12:28:21.804200 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel55 to stop...
Jul 21 12:28:21.807473 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel53 to stop...
Jul 21 12:28:21.810837 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel52 to stop...
Jul 21 12:28:21.813757 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel50 to stop...
Jul 21 12:28:21.817020 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel5 to stop...
Jul 21 12:28:21.820091 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel58 to stop...
Jul 21 12:28:21.822736 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel49 to stop...
Jul 21 12:28:21.826427 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel48 to stop...
Jul 21 12:28:21.829151 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel6 to stop...
Jul 21 12:28:21.831698 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel47 to stop...
Jul 21 12:28:21.834647 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel46 to stop...
Jul 21 12:28:21.837362 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel43 to stop...
Jul 21 12:28:21.840272 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel22 to stop...
Jul 21 12:28:21.843379 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel32 to stop...
Jul 21 12:28:21.846468 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel45 to stop...
Jul 21 12:28:21.850114 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel2 to stop...
Jul 21 12:28:21.852654 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel18 to stop...
Jul 21 12:28:21.855258 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel44 to stop...
Jul 21 12:28:21.856988 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel41 to stop...
Jul 21 12:28:21.859081 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel64 to stop...
Jul 21 12:28:21.861672 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel20 to stop...
Jul 21 12:28:21.864001 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel19 to stop...
Jul 21 12:28:21.866411 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel13 to stop...
Jul 21 12:28:21.869092 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel17 to stop...
Jul 21 12:28:21.871332 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel10 to stop...
Jul 21 12:28:21.873689 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel59 to stop...
Jul 21 12:28:21.876347 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel42 to stop...
Jul 21 12:28:21.879103 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel37 to stop...
Jul 21 12:28:21.881249 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel54 to stop...
Jul 21 12:28:21.883770 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel16 to stop...
Jul 21 12:28:21.886479 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel23 to stop...
Jul 21 12:28:21.888962 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel25 to stop...
Jul 21 12:28:21.891302 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel11 to stop...
Jul 21 12:28:21.893845 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel60 to stop...
Jul 21 12:28:21.896087 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel29 to stop...
Jul 21 12:28:21.898368 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel12 to stop...
Jul 21 12:28:21.901144 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel24 to stop...
Jul 21 12:28:21.903919 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel15 to stop...
Jul 21 12:28:21.906237 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel30 to stop...
Jul 21 12:28:21.908812 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel26 to stop...
Jul 21 12:28:21.911071 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel27 to stop...
Jul 21 12:28:21.913335 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel28 to stop...
Jul 21 12:28:21.915572 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel39 to stop...
Jul 21 12:28:21.918434 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel3 to stop...
Jul 21 12:28:21.921301 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel21 to stop...
Jul 21 12:28:21.923903 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel1 to stop...
Jul 21 12:28:21.926236 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel34 to stop...
Jul 21 12:28:21.928315 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel61 to stop...
Jul 21 12:28:21.930775 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel38 to stop...
Jul 21 12:28:21.932849 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel14 to stop...
Jul 21 12:28:21.935457 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel31 to stop...
Jul 21 12:28:21.937934 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel7 to stop...
Jul 21 12:28:21.940187 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel33 to stop...
Jul 21 12:28:21.942434 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel51 to stop...
Jul 21 12:28:21.945063 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel35 to stop...
Jul 21 12:28:21.947906 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel4 to stop...
Jul 21 12:28:21.950574 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel36 to stop...
Jul 21 12:28:21.953662 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: Waiting for port channel PortChannel40 to stop...
Jul 21 12:28:21.956588 sonic NOTICE teamd#teammgrd: :- cleanTeamProcesses: LAGs cleanup is done
Jul 21 12:28:21.956627 sonic NOTICE teamd#teammgrd: :- main: Exiting
Jul 21 12:28:22.473922 sonic INFO teamd#supervisord 2021-07-21 12:28:22,473 INFO stopped: teammgrd (exit status 0)
Jul 21 12:28:23.648820 sonic INFO containerd[474]: time="2021-07-21T12:28:23.646629339Z" level=info msg="shim reaped" id=5dc69ec47be774b105608019564095d56a41aeefe47b0646eb643f946ff2c51b
Jul 21 12:28:23.659141 sonic INFO dockerd[670]: time="2021-07-21T12:28:23.656853621Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Jul 21 12:28:23.669544 sonic INFO systemd[1]: var-lib-docker-containers-5dc69ec47be774b105608019564095d56a41aeefe47b0646eb643f946ff2c51b-mounts-shm.mount: Succeeded.
Jul 21 12:28:23.692158 sonic INFO systemd[1]: var-lib-docker-overlay2-3cf754b989da5243699531b3e03b261ff53f55442181ede70f62ead448a15d4f-merged.mount: Succeeded.
Jul 21 12:28:23.736803 sonic INFO /container: docker cmd: wait for teamd
Jul 21 12:28:23.738569 sonic INFO /container: docker cmd: stop for teamd
Jul 21 12:28:23.738890 sonic DEBUG /container: container_stop: END
Jul 21 12:28:23.767464 sonic NOTICE admin: Stopped teamd service...
Jul 21 12:28:23.770941 sonic INFO systemd[1]: teamd.service: Succeeded.
Jul 21 12:28:23.771566 sonic INFO systemd[1]: Stopped TEAMD container.

@liat-grozovik
Copy link
Copy Markdown
Collaborator

@nazariig can you please add the code change and the approach used in the PR description under "What I did". I beleive that what is currently written is the 'Why I did'

@judyjoseph
Copy link
Copy Markdown
Contributor

@nazariig Thanks for the PR, I too agree it is best to use the kill signal and we too had this implementation earlier in cleanup. But there was certain issues observed and was reverted by this PR #1450.

{
std::stringstream cmd;
cmd << "cat " << shellquote("/var/run/teamd/" + alias + ".pid");
EXEC_WITH_ERROR_THROW(cmd.str(), res);
Copy link
Copy Markdown
Collaborator Author

@nazariig nazariig Jul 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although the performance is sufficient, we can probably gain more by replacing this part with FILE I/O API (in scope of 1024 LAGs)

{
std::stringstream cmd;
cmd << "kill -TERM " << pid;
EXEC_WITH_ERROR_THROW(cmd.str(), res);
Copy link
Copy Markdown
Collaborator Author

@nazariig nazariig Jul 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although the performance is sufficient, we can probably gain more by replacing this part with signals API (in scope of 1024 LAGs)

@nazariig
Copy link
Copy Markdown
Collaborator Author

@nazariig Thanks for the PR, I too agree it is best to use the kill signal and we too had this implementation earlier in cleanup. But there was certain issues observed and was reverted by this PR #1450.

The original bug which that PR was trying to solve is related to PID alive status check.
Since there was no such check, at some point a race had been happening.

@nazariig nazariig requested a review from abdosi July 22, 2021 07:49
@nazariig
Copy link
Copy Markdown
Collaborator Author

@nazariig can you please add the code change and the approach used in the PR description under "What I did". I beleive that what is currently written is the 'Why I did'

@liat-grozovik done

EXEC_WITH_ERROR_THROW(cmd.str(), res);

pid = static_cast<pid_t>(std::stoul(res, nullptr, 10));
aliasPidMap[alias] = pid;
Copy link
Copy Markdown
Collaborator Author

@nazariig nazariig Jul 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PIDs can be updated during LAG SET/REMOVE operations to gain more performance on shutdown (in scope of 1024 LAGs)


SWSS_LOG_NOTICE("Waiting for port channel %s to stop...", alias.c_str());

cmd << "tail -f --pid=" << pid << " /dev/null";
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although the performance is sufficient, we can probably gain more by replacing this part with signals API (in scope of 1024 LAGs)

@liat-grozovik
Copy link
Copy Markdown
Collaborator

@judyjoseph can you please review the suggested fix? i understand it also take care of the concern you raised with previous fix done which was reverted. As this is a blocker issue for 202012 appreciate if you can review and provide your feedback.

@nazariig nazariig force-pushed the 202012-teammgrd-cleanup-sigterm branch from be59c5e to a6c55da Compare July 27, 2021 11:37
@nazariig nazariig closed this Jul 27, 2021
@nazariig nazariig reopened this Jul 27, 2021
@prsunny
Copy link
Copy Markdown
Collaborator

prsunny commented Jul 27, 2021

@nazariig, please don't close and reopen PRs. Until /azpw is available, someone can help retrigger.

@nazariig
Copy link
Copy Markdown
Collaborator Author

@nazariig, please don't close and reopen PRs. Until /azpw is available, someone can help retrigger.

@prsunny ok

@nazariig
Copy link
Copy Markdown
Collaborator Author

@judyjoseph please have a look

@abdosi
Copy link
Copy Markdown
Contributor

abdosi commented Jul 28, 2021

how is this related to : This PR is intended to fix LAGs cleanup degradation caused by python2.7 -> python3 migration.

@qiluo-msft
Copy link
Copy Markdown
Contributor

Should we have a PR on master branch first and cherry-pick to 202012?

@nazariig
Copy link
Copy Markdown
Collaborator Author

Should we have a PR on master branch first and cherry-pick to 202012?

@qiluo-msft done: #1841

@nazariig
Copy link
Copy Markdown
Collaborator Author

how is this related to : This PR is intended to fix LAGs cleanup degradation caused by python2.7 -> python3 migration.

@abdosi because the current implementation uses teamd -k blocking call to stop the PortChannel:
https://github.com/Azure/sonic-swss/blob/202012/cfgmgr/teammgr.cpp#L492

bool TeamMgr::removeLag(const string &alias)
{
    SWSS_LOG_ENTER();

    stringstream cmd;
    string res;

    cmd << TEAMD_CMD << " -k -t " << shellquote(alias);
    EXEC_WITH_ERROR_THROW(cmd.str(), res);

    SWSS_LOG_NOTICE("Stop port channel %s", alias.c_str());

    return true;
}

and there is a degradation since python2 -> python3 migration (100 ms -> 500 ms ~ 1 sec)

@liat-grozovik liat-grozovik changed the title [teammgrd]: Improve LAGs cleanup on shutdown [202012] [teammgrd]: Improve LAGs cleanup on shutdown Jul 29, 2021
@qiluo-msft
Copy link
Copy Markdown
Contributor

qiluo-msft commented Jul 29, 2021

Close and in favor of #1841
You may reopen this PR if above is merged and cherry-pick does not work.

@qiluo-msft qiluo-msft closed this Jul 29, 2021
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
sonic-net#1831)

#### What I did
Fixing issue sonic-net#1830

#### How I did it
Problem we consume the function `loadData` from sonic-yang-mgmt pkg that always crops tables without YANG models from configdb json object. It does it as a side-effect and is not an expected outcome of the function.

The fix here is to crop the current/target tables before doing any sorting, this way gurantee we avoid this bug. I think the better soln is to fix sonic-yang-mgmt pkg. Will look into this more next week.

#### How to verify it
Run the command in the issue, it will result in the expected outcome

#### Previous command output (if the output of a command-line utility has changed)

#### New command output (if the output of a command-line utility has changed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants