Search in statistics gives stacktrace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
John-Magne Bredal |
Bug Description
Did a search for CPU, last month with 9 rows.
The search gave the traceback below.
Seems like one or more of the metrics that were being looked up is None.
AttributeError: 'NoneType' object has no attribute 'sysname'
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
AttributeError: 'NoneType' object has no attribute 'sysname
Changed in nav: | |
status: | Fix Committed → Fix Released |
Graphite has no idea that the metrics it gathers are related to an Interface or Netbox in NAV. Thus we are dependent on reversing a metric to an object to display information about the metric/object in the user interface. This reversion does not work 100% of the time, and when it does not Ranked Statistics crashes.