[2.2] Trackback on regiond start-up

Bug #1683448 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Blake Rouse

Bug Description

2017-04-17 18:29:43 -: [critical] Unhandled Error
 Traceback (most recent call last):
   File "/usr/lib/python3.5/threading.py", line 862, in run
     self._target(*self._args, **self._kwargs)
   File "/home/blake/Code/maas/fix-machines-read/src/provisioningserver/utils/twisted.py", line 842, in worker
     return target()
   File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work
     task()
   File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork
     task()
 --- <exception caught here> ---
   File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 246, in inContext
     result = inContext.theWork()
   File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 262, in <lambda>
     inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
   File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 81, in callWithContext
     return func(*args,**kw)
   File "/home/blake/Code/maas/fix-machines-read/src/provisioningserver/utils/twisted.py", line 875, in callInContext
     return func(*args, **kwargs)
   File "/home/blake/Code/maas/fix-machines-read/src/provisioningserver/utils/twisted.py", line 232, in wrapper
     result = func(*args, **kwargs)
   File "/home/blake/Code/maas/fix-machines-read/src/maasserver/utils/orm.py", line 686, in call_within_transaction
     return func_outside_txn(*args, **kwargs)
   File "/home/blake/Code/maas/fix-machines-read/src/maasserver/utils/orm.py", line 504, in retrier
     return func(*args, **kwargs)
   File "/usr/lib/python3.5/contextlib.py", line 30, in inner
     return func(*args, **kwds)
   File "/home/blake/Code/maas/fix-machines-read/src/maasserver/status_monitor.py", line 126, in check_status
     mark_nodes_failed_after_missing_script_timeout()
   File "/home/blake/Code/maas/fix-machines-read/src/maasserver/status_monitor.py", line 76, in mark_nodes_failed_after_missing_script_timeout
     if script_set.last_ping < heartbeat_expired:
 builtins.TypeError: unorderable types: NoneType() < datetime.datetime()

Related branches

Changed in maas:
assignee: nobody → Blake Rouse (blake-rouse)
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
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.