KeyError in ipdevpoll psu plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
ipdevpoll inventory job is consistently crashing on a couple of Cisco routers on a client installation, with the following traceback:
[ERROR jobs.jobhandler] [inventory some-gw.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.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/
entity_index)
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
self.
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
table = yield self._get_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
named_table = yield df
File "/usr/lib/
self.result = callback(
File "/usr/lib/
column_name = table.reverse_
exceptions.
Changed in nav: | |
status: | New → Triaged |
Changed in nav: | |
status: | Fix Committed → Fix Released |
It seems NAV ships with a 2008-revision of the CISCO-ENTITY- FRU-CONTROL- MIB where the cefcFRUPowerSta tusTable has only three columns.
The router in question was recently upgraded to the latest available IOS version, and provides at least 5 columns in this table (which is specified in the newest revision of CISCO-ENTITY- FRU-CONTROL- MIB). This error occurs because NAV expects the response to have only 3 columns and cannot find a reference to the fourth received column in its MIB.
Solution should be to simply ship NAV with a newer version of the MIB.