Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 014-09-15 14:22:53,055 [noc.lib.debug] UNHANDLED EXCEPTION (2014-09-15 14:22:53.052303)
- Working directory: /opt/noc
- <type 'exceptions.IndexError'>
- list index out of range
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/pm/probe/daemon.py (Line: 75)
- Function: reschedule
- 68
- 69 def on_object_change(self, uuid, **kwargs):
- 70 self.tasks[uuid].configure(uuid=uuid, **kwargs)
- 71
- 72 def reschedule(self, t):
- 73 bisect.insort_right(
- 74 self.pending_queue,
- 75 ==> t
- 76 )
- Variables:
- self = <noc.pm.probe.daemon.ProbeDaemon object at 0x80073a4d0>
- t = <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>
- ------------------------------------------------------------------------
- File: /opt/noc/pm/probe/task.py (Line: 68)
- Function: run
- 61 self.mdata[m].set_value(t, result[m])
- 62 self.debug("Done")
- 63 except:
- 64 error_report()
- 65 self.last_run = self.next_run
- 66 self.next_run = self.get_next_run()
- 67 self.running = False
- 68 ==> self.daemon.reschedule(self)
- 69
- 70 def configure(self, uuid, handler, interval, metrics,
- 71 config, **kwargs):
- 72 self.uuid = uuid
- 73 self.handler_name = handler
- 74 nh = probe_registry.get_handler(handler)
- Variables:
- self = <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>
- m = 'Interface | Discards | Out'
- t = 1410776573.050401
- result = {'Interface | Discards | In': 521243, 'Interface | Discards | Out': 0}
- ------------------------------------------------------------------------
- File: /opt/noc/lib/threadpool.py (Line: 50)
- Function: run
- 43 title, f, args, kwargs = task
- 44 # Run job
- 45 self.title = title
- 46 self.start_time = time.time()
- 47 try:
- 48 self.can_cancel = True
- 49 self.is_idle = False
- 50 ==> f(*args, **kwargs)
- 51 self.can_cancel = False
- 52 except CancelledError:
- 53 break
- 54 except:
- 55 self.can_cancel = False
- 56 if not self.cancelled:
- Variables:
- task =
- ('<Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>',
- <bound method Task.run of <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>>,
- (),
- {})
- f = <bound method Task.run of <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>>
- title = '<Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>'
- self = <Worker(Thread-1836, started 34465723392)>
- args = ()
- kwargs = {}
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement