sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
741 stars 1.43k forks source link

[dualtor][202405] Switchover failed due to SAI neighbor bulk API not implemented #20451

Closed lolyu closed 1 month ago

lolyu commented 1 month ago

Description

The toggles on 202405 dualtor image fail due to the SAI bulk API not-implemented error:

2024 Oct  9 05:43:14.155499 str2-7050cx3-acs-06 NOTICE swss#orchagent: :- setState: [Ethernet4] Set MUX state from standby to active
2024 Oct  9 05:43:14.155627 str2-7050cx3-acs-06 NOTICE swss#orchagent: :- ~MuxAclHandler: Un-Binding port 1000000000003
2024 Oct  9 05:43:14.159158 str2-7050cx3-acs-06 NOTICE swss#orchagent: :- nbrHandler: Processing neighbors for mux Ethernet4, enable 1, state 1
2024 Oct  9 05:43:14.159158 str2-7050cx3-acs-06 NOTICE swss#orchagent: :- enableNeighbors: Neighbor enable request for 192.168.0.2
2024 Oct  9 05:43:14.159158 str2-7050cx3-acs-06 NOTICE swss#orchagent: :- enableNeighbors: Neighbor enable request for fc02:1000::2
2024 Oct  9 05:43:14.160332 str2-7050cx3-acs-06 ERR syncd#syncd: :- processBulkEntry: object SAI_OBJECT_TYPE_NEIGHBOR_ENTRY not implemented, FIXME
2024 Oct  9 05:43:14.160332 str2-7050cx3-acs-06 ERR syncd#syncd: :- run: Runtime error: :- processBulkEntry: object SAI_OBJECT_TYPE_NEIGHBOR_ENTRY not implemented, FIXME
2024 Oct  9 05:43:14.160600 str2-7050cx3-acs-06 NOTICE syncd#syncd: :- sendShutdownRequest: sending switch_shutdown_request notification to OA for switch: oid:0x21000000000000
2024 Oct  9 05:43:14.161046 str2-7050cx3-acs-06 NOTICE syncd#syncd: :- sendShutdownRequestAfterException: notification send successfully

Steps to reproduce the issue:

  1. config mux active on a standby port

Describe the results you received:

swss and syncd exits due to the SAI bulk API error.

Describe the results you expected:

No swss and syncd exits and the toggle should finish as expected.

Output of show version:

SONiC Software Version: SONiC.20240531.05
SONiC OS Version: 12
Distribution: Debian 12.6
Kernel: 6.1.0-11-2-amd64
Build commit: c769355b59
Build date: Fri Sep 27 19:41:57 UTC 2024
Built by: azureuser@36e8cd34c000000

Platform: x86_64-arista_7050cx3_32s
HwSKU: Arista-7050CX3-32S-C32
ASIC: broadcom
ASIC Count: 1
Serial Number: JPW20281061
Model Number: DCS-7050CX3-32S-SSD
Hardware Revision: 01.00
Uptime: 05:51:28 up  1:01,  2 users,  load average: 4.18, 2.61, 2.12
Date: Wed 09 Oct 2024 05:51:28
Ndancejic commented 1 month ago

202405 sairedis branch was missing the neighbor bulk definitions, it's fixed in this PR: https://github.com/sonic-net/sonic-sairedis/pull/1415

lolyu commented 1 month ago

PR is picked by 202405: https://github.com/sonic-net/sonic-buildimage/pull/20500