rhettg / Tron

Next generation batch process scheduling and management
Other
11 stars 0 forks source link

Crash due to node configuration #39

Closed rhettg closed 13 years ago

rhettg commented 13 years ago

I'm working on this one already. But occasionally we'll get a crash like this:

2010-09-09 17:27:16,988 tron.mcp INFO Storing state in /nail/tron/tron_state.yaml
2010-09-09 17:27:58,507 tron.job INFO Starting action job activity_feed_worker
2010-09-09 17:27:58,507 tron.action INFO Starting action run activity_feed_worker.60.check
2010-09-09 17:27:58,507 tron.action INFO Opening file /nail/tron/activity_feed_worker/activity_feed_worker.60/check.stdout for output
2010-09-09 17:27:58,531 tron.emailer INFO Connecting to SMTP host 'localhost' ('localhost', 25)
2010-09-09 17:27:58,565 tron.emailer INFO Connecting to SMTP host 'localhost' ('localhost', 25)
2010-09-09 17:27:58,572 tron.emailer INFO Connecting to SMTP host 'localhost' ('localhost', 25)
2010-09-09 17:27:58,579 twisted ERROR Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 445, in startReactor
    self.config, oldstdout, oldstderr, self.profiler, reactor)
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 348, in runReactorWithLogging
    reactor.run()
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 1170, in run
    self.mainLoop()
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 1179, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 778, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/lib/python2.5/site-packages/tron/mcp.py", line 227, in run_job
    now.scheduled_start()
  File "/usr/lib/python2.5/site-packages/tron/job.py", line 36, in scheduled_start
    self.attempt_start()
  File "/usr/lib/python2.5/site-packages/tron/job.py", line 60, in attempt_start
    self.start()
  File "/usr/lib/python2.5/site-packages/tron/job.py", line 52, in start
    r.attempt_start()
  File "/usr/lib/python2.5/site-packages/tron/action.py", line 136, in attempt_start
    self.start()
  File "/usr/lib/python2.5/site-packages/tron/action.py", line 147, in start
    ret = self.node.run(self)
  File "/usr/lib/python2.5/site-packages/tron/node.py", line 109, in run
    self._connect_then_run(run)
  File "/usr/lib/python2.5/site-packages/tron/node.py", line 130, in _connect_then_run
    self.connection_defer = self._connect()
  File "/usr/lib/python2.5/site-packages/tron/node.py", line 172, in _connect
    client_creator = protocol.ClientCreator(reactor, ssh.ClientTransport, options=self.conch_options)
exceptions.AttributeError: 'Node' object has no attribute 'conch_options'
rhettg commented 13 years ago

Pretty sure I have this taken care of with 0.1.5