You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_snmp_link_local test will fail
This failure is seen because the test updates the MGMT_INTERFACE IP in config_db and expects snmpd to listen on mgmt IP, which was the design earlier. But after PR 17045, the SNMP_AGENT_ADDRESS_CONFIG should be updated with the right IP on which the snmpd should listen on.
For snmpd to listen on link local IP, the snmpd.conf should use the "zone id" which is the "interface name" associated with the IP address. If snmpd.conf.j2 uses SNMP_AGENT_ADDRESS_CONFIG IP addresses, there is no associated "interface name" therefore, zone id is not known and snmpd is not able to listen on the right IP%interface.
More information on link local IP issue and change [SNMP][IPv6]: Fix to use link local IPv6 address as snmp agentAddress sonic-buildimage#16013
Todo:
Update test_snmp_link_local to modify SNMP_AGENT_ADDRESS_CONFIG with link local IP instead of updating mgmt_interface IP.
Update required in snmpd.conf.j2 file to handle zone id.
Describe the results you received:
test_snmp_link_local test will failure
Describe the results you expected:
test_snmp_link_local test should pass Additional information you deem important:
**Output of `show version`:**
```
(paste your output here)
```
**Attach debug file `sudo generate_dump`:**
```
(paste your output here)
```
The text was updated successfully, but these errors were encountered:
Description
Steps to reproduce the issue:
This failure is seen because the test updates the MGMT_INTERFACE IP in config_db and expects snmpd to listen on mgmt IP, which was the design earlier. But after PR 17045, the SNMP_AGENT_ADDRESS_CONFIG should be updated with the right IP on which the snmpd should listen on.
For snmpd to listen on link local IP, the snmpd.conf should use the "zone id" which is the "interface name" associated with the IP address. If snmpd.conf.j2 uses SNMP_AGENT_ADDRESS_CONFIG IP addresses, there is no associated "interface name" therefore, zone id is not known and snmpd is not able to listen on the right IP%interface.
More information on link local IP issue and change [SNMP][IPv6]: Fix to use link local IPv6 address as snmp agentAddress sonic-buildimage#16013
Todo:
Describe the results you received:
test_snmp_link_local test will failure
Describe the results you expected:
test_snmp_link_local test should pass
Additional information you deem important:
The text was updated successfully, but these errors were encountered: