sonic-buildimage/dockers/docker-lldp
Vivek f19c414176
[lldpmgrd] Don't log error message for outdated event (#14178)
- Why I did it
Fixes #14236

When a redis event quickly gets outdated during port breakout, error logs like this are seen

Mar  8 01:43:26.011724 r-leopard-56 INFO ConfigMgmt: Write in DB: {'PORT': {'Ethernet64': {'admin_status': 'down'}, 'Ethernet68': {'admin_status': 'down'}}}
Mar  8 01:43:26.012565 r-leopard-56 INFO ConfigMgmt: Writing in Config DB
Mar  8 01:43:26.013468 r-leopard-56 INFO ConfigMgmt: Write in DB: {'PORT': {'Ethernet64': None, 'Ethernet68': None}, 'INTERFACE': None}
Mar  8 01:43:26.018095 r-leopard-56 NOTICE swss#portmgrd: :- doTask: Configure Ethernet64 admin status to down
Mar  8 01:43:26.018309 r-leopard-56 NOTICE swss#portmgrd: :- doTask: Delete Port: Ethernet64
Mar  8 01:43:26.018641 r-leopard-56 NOTICE lldp#lldpmgrd[32]: :- pops: Miss table key PORT_TABLE:Ethernet64, possibly outdated
Mar  8 01:43:26.018654 r-leopard-56 ERR lldp#lldpmgrd[32]: unknown operation ''

- How I did it
Only log the error when the op is not empty and not one of ("SET" & "DEL" )

Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
2023-03-16 18:15:50 +02:00
..
base_image_files [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
critical_processes [docker] Correct the lldp-syncd program name in critical_process file. (#4862) 2020-06-28 11:08:30 -07:00
docker-lldp-init.sh [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
Dockerfile.j2 [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
lldpd [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00
lldpd.conf.j2 [lldp]: Add verification IPv4 address on LLDP conf Jinja2 Template (#5699) 2020-11-07 10:30:41 -08:00
lldpdSysDescr.conf.j2 [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
lldpmgrd [lldpmgrd] Don't log error message for outdated event (#14178) 2023-03-16 18:15:50 +02:00
start.sh [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
supervisord.conf.j2 [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
waitfor_lldp_ready.sh [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00