[
https://issues.apache.org/jira/browse/AURORA-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Boulle updated AURORA-125:
-----------------------------------
Description:
After running a job in the vagrant cluster using the current version of aurora,
the run command fails:
{code} 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.{code}
was:
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.
> "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:
> {code} 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.{code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)