sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.22k stars 1.12k forks source link

EVPN Vxlan FDB would not be delete when clear bgp evpn route #827

Open AlanYoush opened 3 years ago

AlanYoush commented 3 years ago

When clear the bgp evpn neighbor, then the vxlan evpn type3 routes would be deleted. And vlan member of tunnel bridge port was deleted and lead to flush fdb entries by vlan and tunnel bridgeport. But when vxlan evpn type3 routes removed caused to remove fdb entries, it would cannot find the fdb entries in redis meta key and failed to remove fdb entries in orchagent. The remote dynamic p2p tunnel is referenced by fdbcount, such as 2, and it failed to remove.

The log like this:

ERR swss#orchagent: - meta_sai_validate_fdb_entry: object key SAI_OBJECT_TYPE_FDB_ENTRY: {"bvid" : “oid:0x2600000000392”, "mac": "52:44:28:F3:2E:87", "switch_id":"oid:0x2100000000000"}doesn't exsit.

ERR swss#orchagent: - removeFDBEntry: FdbOrch RemoveFDBEntry: Failed to remove FDB entry. mac = 52:44:28:F3:2E:87, bv_id = 0x2600000000392

NOTICE swss#orchagent : : - deleteDynamicDIPTunnel: DIP = 1.1.1.1 Not deleting tunnel from HW as tunnelPort is not ye deleted. fdbcount = 2;

bluecmd commented 3 years ago

Hi @youshcentec - this repository is only for the SONiC website, you probably want to file your issue over at https://github.com/Azure/sonic-buildimage!