Maintengine TypeError crash

Bug #1146602 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

On NAV 3.13.0, the maintengine cron job has been observed to crash. Apparently it may happen if a device is assoicated with several simultaneous maintenance tasks.

Traceback looks like this:

> Traceback (most recent call last):
> File "/usr/local/nav/bin/maintengine.py", line 45, in <module>
> main()
> File "/usr/local/nav/bin/maintengine.py", line 39, in main
> check_devices_on_maintenance()
> File "/usr/local/nav/lib/python/nav/maintengine.py", line 479, in check_devices_on_maintenance
> send_event(events, maxdate_boxes, boxes_off_maintenance)
> File "/usr/local/nav/lib/python/nav/maintengine.py", line 343, in send_event
> str(curr_event['maint_end'])))
> TypeError: not all arguments converted during string formatting

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: 3.12.5 → 3.13.2
Changed in nav:
milestone: 3.13.2 → 3.14.1
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.