Closed ZhaohuiS closed 1 year ago
Hi @ZhaohuiS Could you please share link to SONiC image or image hash?
@ppikh Is show version enough?
admin@str2-msn4600c-acs-01:~$ show version
SONiC Software Version: SONiC.20220531.18 Distribution: Debian 11.6 Kernel: 5.10.0-18-2-amd64 Build commit: 8c25164188 Build date: Wed Mar 1 19:39:19 UTC 2023 Built by: cloudtest@80f288abc000000
Platform: x86_64-mlnx_msn4600c-r0 HwSKU: ACS-MSN4600C ASIC: mellanox ASIC Count: 1 Serial Number: MT2115X26246 Model Number: MSN4600-CS2RO Hardware Revision: A1 Uptime: 09:19:18 up 5:03, 1 user, load average: 1.43, 1.39, 1.34 Date: Tue 07 Mar 2023 09:19:18
Docker images: REPOSITORY TAG IMAGE ID SIZE docker-platform-monitor 20220531.18 319185470dc1 909MB docker-platform-monitor latest 319185470dc1 909MB docker-syncd-mlnx 20220531.18 867c68303ac2 904MB docker-syncd-mlnx latest 867c68303ac2 904MB docker-orchagent 20220531.18 79542038ecd2 519MB docker-orchagent latest 79542038ecd2 519MB docker-fpm-frr 20220531.18 4a642430a68f 530MB docker-fpm-frr latest 4a642430a68f 530MB docker-teamd 20220531.18 db7a3c4e6901 501MB docker-teamd latest db7a3c4e6901 501MB docker-macsec 20220531.18 4bf5bbd75049 503MB docker-dhcp-relay 20220531.18 f51f4977e2fa 497MB docker-snmp 20220531.18 bcbb63a4bde1 530MB docker-snmp latest bcbb63a4bde1 530MB docker-sonic-telemetry 20220531.18 11a7dc21a013 565MB docker-sonic-telemetry latest 11a7dc21a013 565MB docker-router-advertiser 20220531.18 0185d6fe5abe 485MB docker-router-advertiser latest 0185d6fe5abe 485MB docker-mux 20220531.18 8800ee38561e 533MB docker-mux latest 8800ee38561e 533MB docker-lldp 20220531.18 0e761fa316b7 527MB docker-lldp latest 0e761fa316b7 527MB docker-database 20220531.18 7d8a537b66a9 485MB docker-database latest 7d8a537b66a9 485MB docker-acms 20220531.18 1072136ee328 532MB docker-acms latest 1072136ee328 532MB k8s.gcr.io/pause 3.5 ed210e3e4a5b 683kB
Hi @ZhaohuiS I am trying to reproduce this issue locally. But I'm not able to find image .bin file in https://sonic-build.azurewebsites.net/ui/sonic/pipelines/139/builds?branchName=202205.
Could you please provide link to image or to build job from where I can download this image? Thanks
@ppikh Okay, I found the commit id is not in the list. The image should be built internally. Could you please try the 20220531.18 image which built on Mar 1st?
Orchagent unsuccessfully tries creating ACL table in a loop:
Mar 7 11:18:15.673886 r-tigon-11 ERR syncd#SDK: [SAI_ACL.ERR] mlnx_sai_acl.c[13937]- mlnx_create_acl_table: Failed to create flex key - Internal Error. Mar 7 11:18:15.673886 r-tigon-11 ERR syncd#SDK: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_FAILURE Mar 7 11:18:15.682426 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_ACL_BIND_POINT_TYPE_LIST: 2:SAI_ACL_BIND_POINT_TYPE_PORT,SAI_ACL_BIND_POINT_TYPE_LAG Mar 7 11:18:15.682426 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_SRC_IPV6: true Mar 7 11:18:15.682505 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_DST_IPV6: true Mar 7 11:18:15.682505 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_IN_PORTS: true Mar 7 11:18:15.682505 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_OUTER_VLAN_ID: true Mar 7 11:18:15.682505 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_L4_SRC_PORT: true Mar 7 11:18:15.682546 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_L4_DST_PORT: true Mar 7 11:18:15.682546 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_DSCP: true Mar 7 11:18:15.682574 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_TCP_FLAGS: true Mar 7 11:18:15.682641 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_ACL_IP_TYPE: true Mar 7 11:18:15.682641 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_ICMPV6_TYPE: true Mar 7 11:18:15.682641 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_ICMPV6_CODE: true Mar 7 11:18:15.682641 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_ACL_RANGE_TYPE: 2:SAI_ACL_RANGE_TYPE_L4_SRC_PORT_RANGE,SAI_ACL_RANGE_TYPE_L4_DST_PORT_RANGE Mar 7 11:18:15.682641 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_FIELD_IPV6_NEXT_HEADER: true Mar 7 11:18:15.682724 r-tigon-11 ERR syncd#SDK: :- processQuadEvent: attr: SAI_ACL_TABLE_ATTR_ACL_STAGE: SAI_ACL_STAGE_INGRESS Mar 7 11:18:15.682775 r-tigon-11 ERR swss#orchagent: :- create: create status: SAI_STATUS_FAILURE Mar 7 11:18:15.682775 r-tigon-11 ERR swss#orchagent: :- addAclTable: Failed to create ACL table EVERFLOWV6
Since it does it in an endless loop, orchagent has no chance of handling oper status update from SAI, therefore oper status is out of sync for some interfaces. The relevant ACL change has already been reverted - https://github.com/sonic-net/sonic-swss/pull/2687
as of the above, the issue is not relevant. it is now closed please retest once you have an image with the reverted PR.
Description
On 4600 T1 testbed, I load 20220531.17 or master image, all ports are up. Only on 20220531.18 image, portchannel interfaces are up, but
Ethernet64, Ethernet 68, Ethernet244,
etc, these interfaces are shown down. It’s just show problem, I checked inAPPL_DB
, they are oper down. BGP sessions are up, packets can be sent out. But this problem will impact sanity check, 202205 pipeline will fail at sanity check.ar 3 06:26:32.581983 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:0 type:sx_netdev Mar 3 06:26:32.582145 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:32.714149 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- processQueue: Set buffer queue Ethernet244:0-2 to BUFFER_PROFILE_TABLE:q_lossy_profile Mar 3 06:26:32.717340 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- processQueue: Set buffer queue Ethernet244:3-4 to BUFFER_PROFILE_TABLE:egress_lossless_profile Mar 3 06:26:32.719287 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- processQueue: Set buffer queue Ethernet244:5-6 to BUFFER_PROFILE_TABLE:q_lossy_profile Mar 3 06:26:33.049589 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- processPriorityGroup: Set buffer PG Ethernet244:0 to BUFFER_PROFILE_TABLE:ingress_lossy_profile Mar 3 06:26:33.051462 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- processPriorityGroup: Set buffer PG Ethernet244:3-4 to BUFFER_PROFILE_TABLE:pg_lossless_100000_300m_profile Mar 3 06:26:33.136331 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:0 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:0 type:sx_netdev Mar 3 06:26:33.136482 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:33.217566 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:0 type:sx_netdev Mar 3 06:26:33.217790 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:33.218645 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:33.219083 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:33.219083 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:33.219249 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:33.220865 str2-msn4600c-acs-01 INFO kernel: [ 85.694095] 8021q: adding VLAN 0 to HW filter on device Ethernet244 Mar 3 06:26:33.220877 str2-msn4600c-acs-01 INFO kernel: [ 85.694492] PortChannel1022: Port device Ethernet244 added Mar 3 06:26:33.222583 str2-msn4600c-acs-01 NOTICE teamd#teammgrd: :- addLagMember: Add Ethernet244 to port channel PortChannel1022 Mar 3 06:26:33.223864 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:33.224148 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:33.224181 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:0 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:33.224802 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:down) to state db Mar 3 06:26:33.414683 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- doPortTask: Set port Ethernet244 speed from 0 to 100000 Mar 3 06:26:33.415592 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- doPortTask: Set port Ethernet244 MTU to 9100 Mar 3 06:26:33.419682 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- setPortFec: Set port Ethernet244 FEC mode rs Mar 3 06:26:33.419682 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- doPortTask: Set port Ethernet244 asymmetric PFC to off Mar 3 06:26:33.421323 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- doPortTask: Set port Ethernet244 admin status to up Mar 3 06:26:39.872924 str2-msn4600c-acs-01 INFO kernel: [ 92.345239] IPv6: ADDRCONF(NETDEV_CHANGE): Ethernet244: link becomes ready Mar 3 06:26:39.873328 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:1 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:39.873705 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:up) to state db Mar 3 06:26:39.873705 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:1 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:39.873948 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:up) to state db Mar 3 06:26:42.709566 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet244 admin:1 oper:1 addr:1c:34:da:bb:83:00 ifindex:157 master:18 type:sx_netdev Mar 3 06:26:42.710295 str2-msn4600c-acs-01 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet244(ok:up) to state db Mar 3 06:27:35.539512 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- addLagMember: Add member Ethernet244 to LAG PortChannel1022 lid:2000000000b2b pid:1000000000581 Mar 3 06:27:35.541370 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- setCollectionOnLagMember: Enable collection on LAG member Ethernet244 Mar 3 06:27:35.543601 str2-msn4600c-acs-01 NOTICE swss#orchagent: :- setDistributionOnLagMember: Enable distribution on LAG member Ethernet244
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):