Intermittent ValueErrors thrown from pynetsnmp causes ipdevpoll jobs to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
Some customers experience intermittent issues with 1minstats (most often) ipdevpoll jobs failing with a "ValueError".
It seems this is either a bug in pynetsnmp or a bug in the actual response from the SNMP agent itself. NAV should handle these errors, either by translating them into "empty" results, or retrying a couple of times before returning an empty result or a timeout error.
The traceback looks as follows:
2014-12-14 06:46:04,909 [ERROR jobs.jobhandler] [1minstats example-
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
_inlineCall
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
cpu = yield self._collect_cpu()
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
load = yield self._get_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
load = yield mib.get_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
TOTAL_
File "/usr/lib/
current.result = callback(
File "/usr/lib/
for oid, value in values:
exceptions.
Changed in nav: | |
status: | Confirmed → In Progress |
Changed in nav: | |
status: | Fix Committed → Fix Released |
fix here: https:/ /nav.uninett. no/hg/stable/ rev/19ffa7226e9 e