Return-Path: X-Original-To: apmail-aurora-dev-archive@minotaur.apache.org Delivered-To: apmail-aurora-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFB7810A40 for ; Mon, 27 Jan 2014 22:54:21 +0000 (UTC) Received: (qmail 64680 invoked by uid 500); 27 Jan 2014 22:54:21 -0000 Delivered-To: apmail-aurora-dev-archive@aurora.apache.org Received: (qmail 64621 invoked by uid 500); 27 Jan 2014 22:54:20 -0000 Mailing-List: contact dev-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list dev@aurora.incubator.apache.org Received: (qmail 64613 invoked by uid 99); 27 Jan 2014 22:54:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 22:54:20 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Jan 2014 22:54:19 +0000 Received: (qmail 62569 invoked by uid 99); 27 Jan 2014 22:53:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 22:53:51 +0000 Date: Mon, 27 Jan 2014 22:53:51 +0000 (UTC) From: "Kevin Sweeney (JIRA)" To: dev@aurora.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AURORA-125) "aurora ssh" and "aurora run" fail with a pystachio-related error. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AURORA-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883476#comment-13883476 ] Kevin Sweeney commented on AURORA-125: -------------------------------------- Perhaps split this into 2 bugs then: 1. The error message should be more helpful. "In order to use aurora run/ssh/runtask on cluster foo, X, Y, and Z must be configured in clusters.json. See docs/foo.md for more information." 2. The Vagrant clusters.json should be configured with the needed keys. > "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 > 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)