Comments (3)
(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.
(by mbrekkevold)
fix here: https://nav.uninett.no/hg/stable/rev/446e1d8e3e11
from nav.
Translated changeset references:
https://nav.uninett.no/hg/stable/rev/446e1d8e3e11: ea0326d
from nav.
Related Issues (20)
- Look into Django's CSRF protection
- Upgrade sphinx to version newer than 5.3.0 HOT 1
- Check django version differentiated helper functions in `nav/django/utils.py`
- Fix contrast errors in the docs
- Show NAV logo on mobile in the docs
- Possibly update `AbstractChecker.run()` in nav/statemon/abstractchecker.py to newer Python
- Define FakeSession once
- Document how to pass arguments from tox commands into pytest
- Fix warning about illegal escape character
- Fix warnings during integration tests
- Convert from using form.as_p and form.as_table to as_div
- Docs: missing link in Feide documentation HOT 1
- Document the `SearchProvider` interface to enable 3rd parties to develop searchbar plugins for NAV
- Reinstate rule that avoids posting test reports on non-PR pushes
- Let SessionMiddleware handle session saving HOT 4
- Use Webpack's watch mode or module replacement functionality
- Fix deprecated syntax/features in Sass files
- [BUG] Navclean cron error HOT 1
- [BUG] Several NAV scripts run twice on every invocation HOT 1
- [BUG] navtopology cron job does not start properly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nav.