Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chassis] Remote ASIC SYSTEM_INTERFACE is not created if it is received before remote SYSTEM_LAG from the Chassis DB #11290

Closed
sanmalho-git opened this issue Jun 29, 2022 · 0 comments · Fixed by sonic-net/sonic-swss#2364
Labels
Chassis 🤖 Modular chassis support Triaged this issue has been triaged

Comments

@sanmalho-git
Copy link

Description

In a Sonic chassis the Chassis DB is used to exchange SYSTEM_LAG and SYSTEM_INTERFACE on the LAG from one asic to another. The asic where the LAG and the Interface are local – creates entries in the Chassis DB. These tables are subscribed to and received by the OrchAgent on the other ASICs. Sometimes it is possible that the OrchAgent received the SYSTEM_INTERFACE entry (for a LAG) before it receives the entry for the SYSTEM_LAG (on which the interface is to be created). In this scenario it is expected that the OrchAgent waits until the LAG creation and then then create the ROUTER_INTERFACE on top of it. But because of a bug in the IntfsOrch code for handling remote system interface – the ROUTER_INTERFACE is never created.

Steps to reproduce the issue:

  1. Validate that neighbor entry for all the eBGP peers on all the asics are present on all the asics in the chassis. For a T2 topology, this can be done as below:
admin@sonic:~$ sudo ip netns exec asic0 ip neigh show | grep 10.0.0  | wc -l
52
admin@ixre-egl-board7:~$ sudo ip netns exec asic0 ip neigh show | grep fc00  | wc -l
52
  1. Reboot the supervisor card on a T2 chassis, which in turn would cause all the linecards to reboot.
  2. After all cards rebooted and eBGP's are up, validate that neighbor entry for all the eBGP peers on all the asics are present on all the asics in the chassis

Describe the results you received:

Number of ip neigh entries for ipv4 and ipv6 eBGP peers in a T2 topology don't add up to 104 on all the asics.

Describe the results you expected:

Number of ip neigh entries for ipv4 and ipv6 eBGP peers in a T2 topology should add up to 104 on all the asics.

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chassis 🤖 Modular chassis support Triaged this issue has been triaged
Projects
None yet
2 participants