logengine spams the error message "KeyError: 'LINK'"

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

Bug Description

Under NAV 4.2.0, logengine (which runs in Cron once every minute) crashes with a KeyError, ensuring full-on spamming every minute.

Traceback (most recent call last):
  File "/usr/lib/nav/logengine.py", line 6, in <module>
    main()
  File "/usr/lib/python2.7/dist-packages/nav/logengine.py", line 508, in main
    logengine(config, options)
  File "/usr/lib/python2.7/dist-packages/nav/logengine.py", line 450, in logengine
    types = get_types(database)
  File "/usr/lib/python2.7/dist-packages/nav/logengine.py", line 283, in get_types
    if mnemonic not in types[facility]:
KeyError: 'LINK'

Tags: status
Changed in nav:
status: Confirmed → In Progress
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: In Progress → Fix Committed
milestone: 4.1.3 → 4.2.1
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.