Advertisement
Guest User

Untitled

a guest
Sep 15th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. 014-09-15 14:22:53,055 [noc.lib.debug] UNHANDLED EXCEPTION (2014-09-15 14:22:53.052303)
  2. Working directory: /opt/noc
  3. <type 'exceptions.IndexError'>
  4. list index out of range
  5. START OF TRACEBACK
  6. ------------------------------------------------------------------------
  7. File: /opt/noc/pm/probe/daemon.py (Line: 75)
  8. Function: reschedule
  9. 68
  10. 69 def on_object_change(self, uuid, **kwargs):
  11. 70 self.tasks[uuid].configure(uuid=uuid, **kwargs)
  12. 71
  13. 72 def reschedule(self, t):
  14. 73 bisect.insort_right(
  15. 74 self.pending_queue,
  16. 75 ==> t
  17. 76 )
  18. Variables:
  19. self = <noc.pm.probe.daemon.ProbeDaemon object at 0x80073a4d0>
  20. t = <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>
  21. ------------------------------------------------------------------------
  22. File: /opt/noc/pm/probe/task.py (Line: 68)
  23. Function: run
  24. 61 self.mdata[m].set_value(t, result[m])
  25. 62 self.debug("Done")
  26. 63 except:
  27. 64 error_report()
  28. 65 self.last_run = self.next_run
  29. 66 self.next_run = self.get_next_run()
  30. 67 self.running = False
  31. 68 ==> self.daemon.reschedule(self)
  32. 69
  33. 70 def configure(self, uuid, handler, interval, metrics,
  34. 71 config, **kwargs):
  35. 72 self.uuid = uuid
  36. 73 self.handler_name = handler
  37. 74 nh = probe_registry.get_handler(handler)
  38. Variables:
  39. self = <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>
  40. m = 'Interface | Discards | Out'
  41. t = 1410776573.050401
  42. result = {'Interface | Discards | In': 521243, 'Interface | Discards | Out': 0}
  43. ------------------------------------------------------------------------
  44. File: /opt/noc/lib/threadpool.py (Line: 50)
  45. Function: run
  46. 43 title, f, args, kwargs = task
  47. 44 # Run job
  48. 45 self.title = title
  49. 46 self.start_time = time.time()
  50. 47 try:
  51. 48 self.can_cancel = True
  52. 49 self.is_idle = False
  53. 50 ==> f(*args, **kwargs)
  54. 51 self.can_cancel = False
  55. 52 except CancelledError:
  56. 53 break
  57. 54 except:
  58. 55 self.can_cancel = False
  59. 56 if not self.cancelled:
  60. Variables:
  61. task =
  62. ('<Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>',
  63. <bound method Task.run of <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>>,
  64. (),
  65. {})
  66. f = <bound method Task.run of <Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>>
  67. title = '<Task 85c10be8-1a60-5cfb-9e0c-80d965e64d70>'
  68. self = <Worker(Thread-1836, started 34465723392)>
  69. args = ()
  70. kwargs = {}
  71. ------------------------------------------------------------------------
  72. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement