You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/09/15 15:10:33 UTC
[jira] [Resolved] (AURORA-706) Client "task ssh" command fails
badly when job not found
[ https://issues.apache.org/jira/browse/AURORA-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Chu-Carroll resolved AURORA-706.
-------------------------------------
Resolution: Fixed
> Client "task ssh" command fails badly when job not found
> --------------------------------------------------------
>
> Key: AURORA-706
> URL: https://issues.apache.org/jira/browse/AURORA-706
> Project: Aurora
> Issue Type: Bug
> Components: Client
> Reporter: Mark Chu-Carroll
> Assignee: Mark Chu-Carroll
>
> In clientv2:
> {noformat}
> $ aurora task ssh cluster/role/prod/job/0 --command "echo ..."
> log(ERROR): Internal error executing command: list index out of range
> $
> {noformat}
> Worse, in clientv1, this produces a stack dump.
> {noformat}
> $ aurora ssh cluster/role/prod/job 0 'echo ...'
> INFO] Response from scheduler: OK (message: None)
> Traceback (most recent call last):
> File "/usr/libexec/aurora-client/twitter/common/app/application.py", line 738, in _wrap_method
> return_code = method()
> File "/usr/libexec/aurora-client/twitter/common/app/application.py", line 760, in <lambda>
> main = lambda: main_method(*args, **kwargs)
> File "/usr/libexec/aurora-client/.deps/apache.aurora.clientv2-0.5.1_DEV1406838503-py2.6.egg/apache/aurora/client/commands/ssh.py", line 54, in ssh
> first_task = resp.result.scheduleStatusResult.tasks[0]
> IndexError: list index out of range{noformat}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)