sonic-net / sonic-buildimage

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

error log "process_on_fdb_event: invalid OIDs in fdb notifications, NOT translating and NOT storing in ASIC DB" found on startup #4717

Open tim-rj opened 4 years ago

tim-rj commented 4 years ago

[version] SONiC Software Version: SONiC.HEAD.67-8367dfeb Distribution: Debian 9.12 Kernel: 4.9.0-11-2-amd64 Build commit: 8367dfeb Build date: Wed May 6 13:49:49 UTC 2020 Built by: johnar@jenkins-worker-7

Platform: x86_64-ruijie_b6510-48vs8cq-r0 HwSKU: B6510-48VS8CQ ASIC: broadcom Serial Number: G1MW80H000123 Uptime: 17:39:24 up 21 min, 2 users, load average: 0.76, 0.94, 0.80

[configuration] root@switch2:/var/log# show run bgp Building configuration...

Current configuration: ! frr version 7.2.1-sonic frr defaults traditional hostname switch2 log syslog informational log facility local4 agentx no service integrated-vtysh-config ! enable password zebra password zebra ! router bgp 65100 bgp router-id 10.1.0.1 bgp log-neighbor-changes no bgp default ipv4-unicast bgp graceful-restart restart-time 240 bgp graceful-restart bgp graceful-restart preserve-fw-state bgp bestpath as-path multipath-relax ! address-family ipv4 unicast network 10.1.0.1/32 maximum-paths 64 exit-address-family ! address-family ipv6 unicast maximum-paths 64 exit-address-family ! ip prefix-list PL_LoopbackV4 seq 5 permit 10.1.0.1/32 ! line vty ! end

[operation & rslt] normal start up and cat syslog, found below error every time:

Jun 3 17:37:06.876470 switch2 WARNING syncd#syncd: :- check_fdb_event_notification_data: RID 0x1003a00000001 on SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID is not present on local ASIC DB Jun 3 17:37:06.876470 switch2 ERR syncd#syncd: :- process_on_fdb_event: invalid OIDs in fdb notifications, NOT translating and NOT storing in ASIC DB Jun 3 17:37:06.876470 switch2 ERR syncd#syncd: :- process_on_fdb_event: FDB notification was not sent since it contain invalid OIDs, bug?

[expection] No such error log on startup.

mini-nair-dell commented 4 years ago

This issue is seen in our testing as well.

Test Bed - S6100 T0 Script - https://github.com/Azure/sonic-mgmt/blob/master/ansible/roles/test/tasks/config.yml

Error: May 26 11:06:19.851080 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: invalid OIDs in fdb notifications, NOT translating and NOT storing in ASIC DB May 26 11:06:19.851220 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: FDB notification was not sent since it contain invalid OIDs, bug?

Log:

May 26 11:06:17.765460 sonic-s6100-07 INFO kernel: [ 9193.769313] PortChannel999: Port device Ethernet1 added May 26 11:06:17.767599 sonic-s6100-07 NOTICE swss#orchagent: :- setPortPvid: Set pvid 1 to port: Ethernet1 May 26 11:06:17.768388 sonic-s6100-07 NOTICE swss#orchagent: :- addLagMember: Add member Ethernet1 to LAG PortChannel999 lid:2000000000c6e pid:1000000000035 May 26 11:06:17.780501 sonic-s6100-07 NOTICE teamd#teammgrd: :- addLagMember: Add Ethernet1 to port channel PortChannel999 May 26 11:06:17.788175 sonic-s6100-07 DEBUG lldp#lldpmgrd: Running command: 'lldpcli configure ports Ethernet1 lldp portidsubtype local fortyGigE1/1/2 description 'ARISTA01T1:Ethernet2'' May 26 11:06:19.814117 sonic-s6100-07 INFO kernel: [ 9195.817685] IPv6: ADDRCONF(NETDEV_CHANGE): PortChannel999: link becomes ready May 26 11:06:19.850577 sonic-s6100-07 WARNING syncd#syncd: :- check_fdb_event_notification_data: RID 0x1003a00000068 on SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID is not present on local ASIC DB May 26 11:06:19.851080 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: invalid OIDs in fdb notifications, NOT translating and NOT storing in ASIC DB May 26 11:06:19.851220 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: FDB notification was not sent since it contain invalid OIDs, bug? May 26 11:06:19.851474 sonic-s6100-07 WARNING syncd#syncd: :- check_fdb_event_notification_data: RID 0x2003a00000004 on SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID is not present on local ASIC DB May 26 11:06:19.850577 sonic-s6100-07 WARNING syncd#syncd: :- check_fdb_event_notification_data: RID 0x1003a00000068 on SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID is not present on local ASIC DB May 26 11:06:19.851080 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: invalid OIDs in fdb notifications, NOT translating and NOT storing in ASIC DB May 26 11:06:19.851220 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: FDB notification was not sent since it contain invalid OIDs, bug? May 26 11:06:19.851474 sonic-s6100-07 WARNING syncd#syncd: :- check_fdb_event_notification_data: RID 0x2003a00000004 on SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID is not present on local ASIC DB May 26 11:06:19.851534 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: invalid OIDs in fdb notifications, NOT translating and NOT storing in ASIC DB May 26 11:06:19.851534 sonic-s6100-07 ERR syncd#syncd: :- process_on_fdb_event: FDB notification was not sent since it contain invalid OIDs, bug?

liat-grozovik commented 3 years ago

CRM test is failing on this issue as well

tim-rj commented 3 years ago

any one help forward this, thanks!