Advertisement
Guest User

Untitled

a guest
Sep 27th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.62 KB | None | 0 0
  1. 2012-09-27 09:22:05,771 Loading VCSRegistry
  2. 2012-09-27 09:22:15,993 Loading triggers
  3. 2012-09-27 09:22:16,203 0 triggers has been loaded to 0 classes
  4. 2012-09-27 09:22:17,178 [fm.correlator] Running scheduler
  5. 2012-09-27 09:22:17,209 UNHANDLED EXCEPTION (2012-09-27 09:22:17.180006)
  6. Working directory: /opt/noc
  7. <type 'exceptions.KeyError'>
  8. 'schedule'
  9. START OF TRACEBACK
  10. ------------------------------------------------------------------------
  11. File: /opt/noc/lib/scheduler/scheduler.py (Line: 328)
  12. Function: run_pending
  13.   321                     # Invalid job class. Park job to FAIL state
  14.   322                     self.error("Invalid job class: %s" % jcls)
  15.   323                     self.set_job_status(job_data[self.ATTR_CLASS],
  16.   324                         job_data[self.ATTR_KEY], self.S_FAIL)
  17.   325                     continue
  18.   326                 job = jcls(self,
  19.   327                     job_data[self.ATTR_KEY], job_data[self.ATTR_DATA],
  20.   328 ==>                 job_data[self.ATTR_SCHEDULE]
  21.   329                 )
  22.   330                 self.run_job(job)
  23.   331                 n += 1
  24.   332             return n
  25.   333    
  26.   334         def run(self):
  27. Variables:
  28.                 jcls = <class 'noc.fm.correlator.jobs.performance_report.PerformanceReportJob'>
  29.            throttled = set([])
  30.                 self = <noc.fm.correlator.scheduler.CorrelatorScheduler object at 0x41e9f10>
  31.             job_data = {u'runs': 40457, u'last': datetime.datetime(2012, 9, 24, 11, 26, 0, 709000),
  32. u'log': [], u'jcls': u'performance_report', u'ldur': 0.0004208087921142578, u'ts': datetime.datetime
  33. (2012, 9, 24, 11, 27), u'tb': None, u's': u'W', u'ls': u'S', u'key': u'report', u'_id': ObjectId('50
  34. 38a18e4a5e6844e97eade2'), u'data': {u'_noc': {u'interval': 60, u'offset': 0}}}
  35.                    n = 0
  36.                    q = {'s': 'W', 'ts': {'$lte': datetime.datetime(2012, 9, 27, 9, 22, 17, 178983)}}
  37. ------------------------------------------------------------------------
  38. File: /opt/noc/lib/scheduler/scheduler.py (Line: 345)
  39. Function: run
  40.   338                 self.collection.update({
  41.   339                     self.ATTR_STATUS: self.S_RUN
  42.   340                 }, {
  43.   341                     "$set": {self.ATTR_STATUS: self.S_WAIT}
  44.  
  45. ------------------------------------------------------------------------
  46. File: /opt/noc/fm/correlator/daemon.py (Line: 384)
  47. Function: run
  48.   377                 self.stat_success_count += 1
  49.   378    
  50.   379         def run(self):
  51.   380             """
  52.  381             Main daemon loop
  53.  382             """
  54.   383             self.reset_stats()
  55.   384 ==>         self.scheduler.run()
  56.  
  57. Variables:
  58.                 self = <noc.fm.correlator.daemon.Correlator object at 0x37fc710>
  59.  
  60. ------------------------------------------------------------------------
  61. File: /opt/noc/lib/daemon.py (Line: 364)
  62. Function: guarded_run
  63.   357    
  64.   358         def guarded_run(self):
  65.   359             """
  66.  360             Run daemon and catch common exceptions
  67.  361             :return:
  68.  362             """
  69.   363             try:
  70.   364 ==>             self.run()
  71.   365             except KeyboardInterrupt:
  72.   366                 pass
  73.   367             except MemoryError:
  74.   368                 logging.error("Out of memory. Exiting.")
  75.   369             except SystemExit:
  76.   370                 logging.info("Exiting")
  77. Variables:
  78.                 self = <noc.fm.correlator.daemon.Correlator object at 0x37fc710>
  79. ------------------------------------------------------------------------
  80. END OF TRACEBACK
  81. 2012-09-27 09:22:17,210 Removing pidfile: /var/run/noc/noc-correlator.pid
  82. 2012-09-27 09:22:17,210 STOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement