ipdevinfo crashes on IP addresses on VLANs that have no VLAN ID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
ipdevinfo or Machine Tracker crashes with a "Something went wrong" error while searching for certain IPs or hostnames with the following debug message:
TemplateSyntaxError at /ipdevinfo/
Caught an exception while rendering: Reverse for 'nav.report-
Original Traceback (most recent call last):
File "/var/lib/
result = node.render(
File "/var/lib/
args=args, kwargs=kwargs)
File "/var/lib/
*args, **kwargs)))
File "/var/lib/
"arguments '%s' not found." % (lookup_view, args, kwargs))
NoReverseMatch: Reverse for 'nav.report-
Request URL: https:/
Exception Type: TemplateSyntaxError
Exception Value: Caught an exception while rendering: Reverse for 'nav.report-
Original Traceback (most recent call last):
File "/var/lib/
result = node.render(
File "/var/lib/
args=args, kwargs=kwargs)
File "/var/lib/
*args, **kwargs)))
File "/var/lib/
"arguments '%s' not found." % (lookup_view, args, kwargs))
NoReverseMatch: Reverse for 'nav.report-
Exception Location: /var/lib/
Python Executable: /usr/bin/python
Python Version: 2.5.2
Python Path: ['/usr/
Server time: Mon, 13 Dec 2010 12:14:39 +0100
summary: |
- ipdevinfo/machinetracker reports error on some IP or device searches + ipdevinfo crashes on IP addresses on VLANs that have no VLAN ID |
Changed in nav: | |
status: | Fix Committed → Fix Released |
This is a problem in ipdevinfo. Not all VLANs/broadcast domains found by NAV have an associated VLAN-id - ipdevinfo doesn't seem to anticipate this situation.