Giter VIP home page Giter VIP logo

Comments (3)

jmbredal avatar jmbredal commented on May 22, 2024

(by mbrekkevold)
example Traceback:

2014-03-28 12:47:56,367 [ERROR jobs.jobhandler] [inventory cisco.example.org] Plugin nav.ipdevpoll.plugins.psu.PowerSupplyUnit(u'IP') reported an unhandled failure
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 391, in errback
self._startRunCallbacks(fail)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 458, in _startRunCallbacks
self._runCallbacks()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
_inlineCallbacks(r, g, deferred)
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/local/nav/lib/python/nav/ipdevpoll/plugins/psu.py", line 121, in handle
yield self._handle_unit(psu_or_fan)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/local/nav/lib/python/nav/ipdevpoll/plugins/psu.py", line 141, in _handle_unit
ret = yield control.is_psu_up(internal_index)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/local/nav/lib/python/nav/mibs/cisco_entity_fru_control_mib.py", line 118, in is_psu_up
self.psu_status_table = yield self._get_power_status_table()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/local/nav/lib/python/nav/mibs/cisco_entity_fru_control_mib.py", line 62, in _get_power_status_table
table = yield self._get_named_table('cefcFRUPowerStatusTable')
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
result = g.send(result)
File "/usr/local/nav/lib/python/nav/mibs/cisco_entity_fru_control_mib.py", line 50, in _get_named_table
status_table = EntityTable(named_table)
File "/usr/local/nav/lib/python/nav/mibs/entity_mib.py", line 114, in init
self.clean()
File "/usr/local/nav/lib/python/nav/mibs/entity_mib.py", line 194, in clean
self._fix_broken_chassis_relative_positions()
File "/usr/local/nav/lib/python/nav/mibs/entity_mib.py", line 210, in _fix_broken_chassis_relative_positions
chassis = self.get_chassis()
File "/usr/local/nav/lib/python/nav/mibs/entity_mib.py", line 163, in get_chassis
if self.is_chassis(entity)]
File "/usr/local/nav/lib/python/nav/mibs/entity_mib.py", line 125, in is_chassis
return e['entPhysicalClass'] == 'chassis'
exceptions.KeyError: 'entPhysicalClass'

from nav.

jmbredal avatar jmbredal commented on May 22, 2024

(by mbrekkevold)
fix here: https://nav.uninett.no/hg/stable/rev/446e1d8e3e11

from nav.

jmbredal avatar jmbredal commented on May 22, 2024

Translated changeset references:
https://nav.uninett.no/hg/stable/rev/446e1d8e3e11: ea0326d

from nav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.