netmap L3 crash in urlresolvers.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
Internal Server Error: /netmap/
...
File "/usr/lib/
node_a, node_b, nx_metadata in graph.edges_
File "/usr/lib/
metadata_
File "/usr/lib/
'target': self.target.
File "/usr/lib/
self.
File "/usr/lib/
return iri_to_
File "/usr/lib/
"arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'ipdevinfo-
Changed in nav: | |
status: | Fix Committed → Fix Released |
If u'//-> Whatever Trunk' is the actual 'netbox_sysname' value as indicated above, I understand why this fails. The URL config will not accept sysnames with slashes in them, since they are path separators in the URI.
Any link produced by this would also not be a valid one, since this looks like a link to an external peer, so NAV cannot show that in ipdevpoll anyway.
Given that my assumptions are correct, I would suggest fixing it by having the code ignore the NoReverseMatch error and not produce a link at all in this case (I think we've fixed this particular code multiple times already, for similar problems :P )