navtopology ValueError: need more than 1 value to unpack

Bug #955808 reported by Morten Brekkevold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Morten Brekkevold

Bug Description

In NAV 3.11.0, several users report the following error message intermittently in their cron mail:

Traceback (most recent call last):
  File "/usr/lib/nav/navtopology", line 3, in <module>
    main()
  File "/usr/lib/pymodules/python2.6/nav/topology/detector.py", line 48, in main
    do_layer2_detection()
  File "/usr/lib/pymodules/python2.6/nav/topology/detector.py", line 90, in _decorator
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/nav/topology/detector.py", line 106, in do_layer2_detection
    reducer.reduce()
  File "/usr/lib/pymodules/python2.6/nav/topology/analyze.py", line 247, in reduce
    self._visit_unvisited(unvisited, visited)
  File "/usr/lib/pymodules/python2.6/nav/topology/analyze.py", line 266, in _visit_unvisited
    i, j = self.get_distinct_ports(path)
ValueError: need more than 1 value to unpack

Tags: topology
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

The problem here seems to be that the new camlogger has in fact created adjacency candidates that point to themselves. I.e. netbox A claims that one possible neighbor on port X is itself.

Changed in nav:
status: Confirmed → In Progress
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: In Progress → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.