Open dgsudharsan opened 1 year ago
This issue started to reappear after https://github.com/sonic-net/sonic-buildimage/pull/17045
root@host:/# /usr/sbin/snmpd -f -LO0-7d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip,disk_hw -p /run/snmpd.pid
Turning on AgentX master support.
Error opening specified endpoint "udp6:[fe80::ac0:ebff:fee1:4ba2]:161"
Server Exiting with code 1
Error is in src/sonic-config-engine/minigraph.py. It should check whether the IP is link local and add zone_id if so.
++ @SuvarnaMeenakshi
@SuvarnaMeenakshi any ETA for this issue?
@SuvarnaMeenakshi any ETA for this issue?
@liat-grozovik @keboliu Plan to raise a PR this week 3/8
Hi @SuvarnaMeenakshi have you already had a fix for this issue?
Hi @SuvarnaMeenakshi have you already had a fix for this issue? Raised below PRs to fix: https://github.com/sonic-net/sonic-buildimage/pull/18350/ https://github.com/sonic-net/sonic-utilities/pull/3215
@lguohan there are two PRs to fix this issue, https://github.com/sonic-net/sonic-utilities/pull/3215 is still open.
Description
Issue started appearing after the PR https://github.com/sonic-net/sonic-buildimage/pull/15487. This PR introduces generating agentAddress for loopback and mgmt interface. However if the mgmt or loopback interface has link local ip address, snmpd fails to start and ends up in fatal state
Steps to reproduce the issue:
Describe the results you received:
snmp daemon fails to start
Describe the results you expected:
snmp daemon shouldn't fail.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
sonic_dump_r-tigris-26_20230731_084718.tar.gz