Bug 733994
Summary: | [TAHI][SNMP-MIP][REGRESSION] IP-MIB IP Statistics Table ipSystemStatsInOctets Counter do not increase | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | zhpeng | ||||||||
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 6.2 | CC: | cwei, rwu, xhu | ||||||||
Target Milestone: | rc | Keywords: | Regression | ||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2011-08-31 10:54:13 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
zhpeng
2011-08-29 06:12:45 UTC
Created attachment 520291 [details]
/usr/share/snmp/snmp.conf
Created attachment 520292 [details]
/etc/rc.d/rc.local
I did not change absolutely *anything* in ipSystemStatsInOctets, icmpStatsInMsgs and ipNetToPhysicalAddress in new Net-SNMP. Isn't is just another timing issue when TAHI test suite asks for something too early? Please provide /etc/snmp/snmpd.conf, just to be sure. And is there anything in syslog? Try "grep snmp /var/log/messages" (unless you have non-default log config). BTW, where do you get net-snmp-5.5-21.el6.x86_64.rpm from? RHEL 6.0 has net-snmp-5.5-27.el6. Could you try with this one? And does net-snmp-5.5-31 from RHEL 6.1 work? (This comment fully applies also to bugs #733995 and #733997... I did not change anything there either). > I did not change absolutely *anything* in ipSystemStatsInOctets, > icmpStatsInMsgs and ipNetToPhysicalAddress in new Net-SNMP. Isn't is just > another timing issue when TAHI test suite asks for something too early? No, it's not the TAHI scripts problem. I test it again and i found the test failed for missing package net-snmp-utils. And if net-snmp-utils installed the test will pass. I think it's a bug.What's your opinion? > Please provide /etc/snmp/snmpd.conf, just to be sure. And is there anything in > syslog? Try "grep snmp /var/log/messages" (unless you have non-default log > config). snmpd.conf is already in the attachment. And there is no log in /var/log/messages when the test failed. > (This comment fully applies also to bugs #733995 and #733997... I did not > change anything there either). bugs #733995 and #733997 failed for the same reason. (In reply to comment #5) > > I did not change absolutely *anything* in ipSystemStatsInOctets, > > icmpStatsInMsgs and ipNetToPhysicalAddress in new Net-SNMP. Isn't is just > > another timing issue when TAHI test suite asks for something too early? > No, it's not the TAHI scripts problem. I test it again and i found the test > failed for missing package net-snmp-utils. And if net-snmp-utils installed the > test will pass. I think it's a bug.What's your opinion? Your /etc/rc.d/rc.local calls /usr/bin/snmpset, which is in net-snmp-utils package. Without these snmpsets the tests won't work. Gory details: The TAHI scripts often sends a IPv6 packet to NUT and immediately checks that appropriate counter (e.g. ipSystemStatsInOctets) has increased. But snmpd reads the counter value from kernel only once in a while (5-10 seconds?) and caches them. Therefore we use the "magic" snmpset commands in your /etc/rc.d/rc.local to turn off these caches. snmpd then always reads counter values from kernel. Without snmpset (and therefore without net-snmp-utils), the tests won't work. So, I do not see any net-snmp error here. Can we agree on closing this bug? (In reply to comment #6) > (In reply to comment #5) > > > I did not change absolutely *anything* in ipSystemStatsInOctets, > > > icmpStatsInMsgs and ipNetToPhysicalAddress in new Net-SNMP. Isn't is just > > > another timing issue when TAHI test suite asks for something too early? > > No, it's not the TAHI scripts problem. I test it again and i found the test > > failed for missing package net-snmp-utils. And if net-snmp-utils installed the > > test will pass. I think it's a bug.What's your opinion? > > Your /etc/rc.d/rc.local calls /usr/bin/snmpset, which is in net-snmp-utils > package. Without these snmpsets the tests won't work. > > Gory details: The TAHI scripts often sends a IPv6 packet to NUT and immediately > checks that appropriate counter (e.g. ipSystemStatsInOctets) has increased. But > snmpd reads the counter value from kernel only once in a while (5-10 seconds?) > and caches them. Therefore we use the "magic" snmpset commands in your > /etc/rc.d/rc.local to turn off these caches. snmpd then always reads counter > values from kernel. Without snmpset (and therefore without net-snmp-utils), the > tests won't work. > > So, I do not see any net-snmp error here. Can we agree on closing this bug? I agree with you. Pls close the bugs, thanks. |