ipdevpoll aborted due to plugin failure: tuple index out of range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
Hi
My configuration: Debian 6 amd64.
My installation: from sources.
The bug:
After, seed database step, i notice that i did not get any other host except the router i seed. From Network Explorer, i did not even get router interfaces. So i did not have for each router connected host.
From log, i have
$ tail -f /usr/local/
2012-09-24 16:56:06,132 [ERROR jobs.jobhandler] [logging 10.0.2.3] Plugin nav.ipdevpoll.
Traceback (most recent call last):
File "/usr/lib/
return _inlineCallback
File "/usr/lib/
result = g.send(result)
File "/usr/local/
mappings_new = yield self._get_
File "/usr/lib/
return _deferGenerator
--- <exception caught here> ---
File "/usr/lib/
result = g.next()
File "/usr/local/
waiter = defer.waitForDe
File "/usr/local/
deferred = self.agent_
File "/usr/local/
self, oids = args[0], args[2]
exceptions.
ERROR:nav.
2012-09-24 16:56:06,138 [ERROR jobs.jobhandler] [logging 10.0.2.3] Job 'logging' for 10.0.2.3 aborted: ('Job aborted due to plugin failure', IndexError('tuple index out of range',))
^C
If i add in file /usr/local/
[levels]
nav.ipdevpoll = INFO
nav.ipdevpoll.
nav.ipdevpoll.
I get this trace
$ /usr/local/
/usr/local/
warnings.
INFO:nav.
2012-09-24 16:56:56,204 [INFO nav.ipdevpoll] --- Starting ipdevpolld inventory ---
INFO:nav.
2012-09-24 16:56:56,934 [INFO plugins] Imported 20 plugin classes, 20 classes in plugin registry
INFO:nav.
2012-09-24 16:56:56,934 [INFO nav.ipdevpoll] Running single 'inventory' job for 10.0.2.3
DEBUG:nav.
2012-09-24 16:56:56,935 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Job 'inventory' initialized with plugins: ['dnsname', 'typeoid', 'system', 'modules', 'ciscosup', 'bridge', 'interfaces', 'dot1q', 'ciscovlan', 'extremevlan', 'prefix', 'sensors', 'psu']
DEBUG:nav.
2012-09-24 16:56:56,935 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] AgentProxy created for 10.0.2.3: AgentProxy(
DEBUG:nav.
2012-09-24 16:56:56,937 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Plugins to call: DnsName,
DEBUG:nav.
2012-09-24 16:56:56,938 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Starting job 'inventory' for 10.0.2.3
DEBUG:nav.
2012-09-24 16:56:56,938 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Now calling plugin: nav.ipdevpoll.
WARNING:
2012-09-24 16:56:58,571 [WARNING plugins.
WARNING:
2012-09-24 16:56:58,572 [WARNING plugins.
DEBUG:nav.
2012-09-24 16:56:58,572 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Now calling plugin: nav.ipdevpoll.
WARNING:
2012-09-24 16:56:58,608 [WARNING plugins.
DEBUG:nav.
2012-09-24 16:56:58,612 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Now calling plugin: nav.ipdevpoll.
DEBUG:nav.
2012-09-24 16:56:58,615 [DEBUG jobs.jobhandler] [inventory 10.0.2.3] Now calling plugin: nav.ipdevpoll.
Traceback (most recent call last):
File "/usr/local/
process.run()
File "/usr/local/
reactor.run()
File "/usr/lib/
self.mainLoop()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
call.
File "/usr/local/
deferred = self.retrieve_
File "/usr/local/
deferred = self.agent_
File "/usr/local/
self, oids = args[0], args[2]
exceptions.
^CWARNING:
2012-09-24 17:39:57,642 [WARNING nav.ipdevpoll] SIGINT received: Shutting down
INFO:nav.
2012-09-24 17:39:57,642 [INFO jobs.jobhandler] [inventory 10.0.2.3] Cancelling running job
WARNING:
2012-09-24 17:39:57,652 [WARNING nav.ipdevpoll] Shutdown sequence completed in 0.01 seconds
Changed in nav: | |
status: | Fix Committed → Fix Released |
For some reason, setting the log levels in logging.conf seems to have had no effect on your log output. Also, there is something wrong with the output, things seem to be logged twice, with two differing formats.
I do react to one thing, though:
> /usr/local/ nav/lib/ python/ nav/ipdevpoll/ snmp/__ init__. py:26: UserWarning: Using pure Python-based SNMP library, which will affect performance
This means pynetsnmp is not installed on your system. Your error may stem from some incompatibility between TwistedSNMP and pynetsnmp, and I would highly recommend you to install the latter as a replacement for TwistedSNMP.
I just saw the same error on another installation, run as a side-project of a colleague of mine. He installed pynetsnmp as per my instructions, and it seems to have had an immediate effect after a restart of ipdevpoll.