Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2014-10-03 00:04:24,234 [noc.lib.debug] UNHANDLED EXCEPTION (2014-10-03 00:04:24.225970)
- Working directory: /opt/noc
- <type 'exceptions.AttributeError'>
- 'Activator' object has no attribute 'heartbeat_enable'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/sa/activator/activator.py (Line: 446)
- Function: tick
- 439 # Cancel stale scripts
- 440 if self.get_state() == "ESTABLISHED":
- 441 self.cancel_stale_scripts()
- 442 # Run pending ping probes
- 443 if self.to_ping and self.get_state() == "ESTABLISHED" and bool(self.ping4_socket.socket):
- 444 self.run_ping_checks()
- 445 # Heartbeat when necessary
- 446 ==> if (self.heartbeat_enable and
- 447 (self.next_heartbeat is None or self.next_heartbeat <= t)):
- 448 self.heartbeat()
- 449 self.next_heartbeat = t + 3 # @todo: more accurate
- 450 # Run default daemon/fsm machinery
- 451 super(Activator, self).tick()
- 452
- Variables:
- self = <noc.sa.activator.activator.Activator object at 0x807e4ce10>
- t = 1412280264.225858
- ------------------------------------------------------------------------
- File: /opt/noc/lib/nbsocket/socketfactory.py (Line: 242)
- Function: run
- 235 time.sleep(1)
- 236 last_tick = last_stale = time.time()
- 237 while cond() and not self.to_shutdown:
- 238 self.loop(1)
- 239 t = time.time()
- 240 if self.tick_callback and t - last_tick >= 1:
- 241 try:
- 242 ==> self.tick_callback()
- 243 except Exception:
- 244 error_report()
- 245 logger.info("Restoring from tick() failure")
- 246 last_tick = t
- 247 if t - last_stale >= 1:
- 248 self.close_stale()
- Variables:
- self = <noc.lib.nbsocket.socketfactory.SocketFactory object at 0x8071ebd10>
- cond = <function <lambda> at 0x80878f5f0>
- t = 1412280264.225816
- last_stale = 1412280263.215829
- run_forever = True
- last_tick = 1412280263.215829
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement