Bug 1547355
Summary: | snmpd: Despite non-zero interface_fadeout, network interface is deleted immediately sometimes | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Shykov <oleksandr.shykov> | ||||
Component: | net-snmp | Assignee: | Josef Ridky <jridky> | ||||
Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.3 | CC: | djez, ovasik | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | net-snmp-5.7.2-44.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-03-31 19:54:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Commit: http://pkgs.devel.redhat.com/cgit/rpms/net-snmp/commit/?id=c649a00b1d1d3c4ddf6b0aeaf0c9b180aa34cdf0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1081 |
Created attachment 1398517 [details] Solution patch Description of problem: Despite non-zero interface_fadeout, interface is deleted immediately if ifLastChange is more than interface_fadeout ago. Version-Release number of selected component (if applicable): net-snmp-libs-5.7.2-28.el7.x86_64 net-snmp-5.7.2-28.el7.x86_64 net-snmp-agent-libs-5.7.2-28.el7.x86_64 net-snmp-utils-5.7.2-28.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Set interface_fadeout 60 in snmpd.conf ; restart snmpd. 2. Add dummy1 interface to the system: $ ip link add dummy1 type dummy 3. Query list of interfaces via snmp. Make sure that dummy1 interface is present in snmpd output $ snmptable -v 2c -c public localhost ifTable 4. Wait for more than 60 seconds (interface_fadeout time) 5. Deleted dummy1 interface from the system: $ ip link del dummy1 6. Query list of interfaces via snmp. $ snmptable -v 2c -c public localhost ifTable Actual results: dummy1 interface disappears from snmpd output immediately after it is deleted from the system despite non-zero interface_fadeout Expected results: dummy1 interface will be present in snmpd output within interface_fadeout seconds after the deletion Additional info: Solution patch attached