You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under NAV 4.8.1, the statsystem plugin has been observed to crash the 5minstats job. It appears the problem occurs because of unintentional overwriting a variable when duplicating statistics for VRF instances. Traceback as follows:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 423, in errbackself._startRunCallbacks(fail)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 490, in _startRunCallbacksself._runCallbacks()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGeneratorreturn g.throw(self.type, self.value, self.tb)
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/plugins/statsystem.py", line 78, in handle
power =yieldself._collect_power(netboxes)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/plugins/statsystem.py", line 204, in _collect_powerfor index, power in power.items():
exceptions.AttributeError: 'long' object has no attribute 'items'
The text was updated successfully, but these errors were encountered:
Under NAV 4.8.1, the
statsystem
plugin has been observed to crash the5minstats
job. It appears the problem occurs because of unintentional overwriting a variable when duplicating statistics for VRF instances. Traceback as follows:The text was updated successfully, but these errors were encountered: