You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/01/27 22:53:40 UTC

[jira] [Created] (AURORA-125) "aurora ssh" and "aurora run" fail with a pystachio-related error.

Mark Chu-Carroll created AURORA-125:
---------------------------------------

             Summary: "aurora ssh" and "aurora run" fail with a pystachio-related error.
                 Key: AURORA-125
                 URL: https://issues.apache.org/jira/browse/AURORA-125
             Project: Aurora
          Issue Type: Task
          Components: Client
            Reporter: Mark Chu-Carroll
            Assignee: Mark Chu-Carroll


After running a job in the vagrant cluster using the current version of aurora, the run command fails:

r"'
 INFO] Response from scheduler: OK (message: None)
Traceback (most recent call last):
  File "/local/lib/python2.7/dist-packages/twitter/common/app/application.py", line 738, in _wrap_method
    return_code = method()
  File "/local/lib/python2.7/dist-packages/twitter/common/app/application.py", line 760, in <lambda>
    main = lambda: main_method(*args, **kwargs)
  File "apache/aurora/client/commands/ssh.py", line 61, in ssh
    api.cluster, executor_sandbox=options.executor_sandbox)
  File "apache/aurora/client/api/command_runner.py", line 102, in substitute
    return cls.substitute_thermos(command, task, cluster, **kw)
  File "apache/aurora/client/api/command_runner.py", line 73, in substitute_thermos
    prefix_command = 'cd %s;' % cls.thermos_sandbox(cluster, **kw)
  File "apache/aurora/client/api/command_runner.py", line 63, in thermos_sandbox
    sandbox = cls.make_executor_path(cluster, 'thermos-{{thermos.task_id}}')
  File "apache/aurora/client/api/command_runner.py", line 53, in make_executor_path
    parameters = cls.sandbox_args(cluster)
  File "apache/aurora/client/api/command_runner.py", line 68, in sandbox_args
    cluster = cluster.with_trait(CommandRunnerTrait)
  File "apache/aurora/common/cluster.py", line 77, in with_trait
    return self.with_traits(trait)
  File "apache/aurora/common/cluster.py", line 71, in with_traits
    new_cluster.check_trait(trait)
  File "apache/aurora/common/cluster.py", line 65, in check_trait
    raise TypeError(trait_check.message())
TypeError: CommandRunnerTrait[slave_run_directory] is required.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)