Return-Path: X-Original-To: apmail-provisionr-dev-archive@minotaur.apache.org Delivered-To: apmail-provisionr-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 1829FD1FD for ; Fri, 24 May 2013 10:36:56 +0000 (UTC) Received: (qmail 29167 invoked by uid 500); 24 May 2013 10:36:56 -0000 Delivered-To: apmail-provisionr-dev-archive@provisionr.apache.org Received: (qmail 29143 invoked by uid 500); 24 May 2013 10:36:55 -0000 Mailing-List: contact dev-help@provisionr.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@provisionr.incubator.apache.org Delivered-To: mailing list dev@provisionr.incubator.apache.org Received: (qmail 29104 invoked by uid 99); 24 May 2013 10:36:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 10:36:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of savu.andrei@gmail.com designates 209.85.212.174 as permitted sender) Received: from [209.85.212.174] (HELO mail-wi0-f174.google.com) (209.85.212.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 10:36:50 +0000 Received: by mail-wi0-f174.google.com with SMTP id c10so5107785wiw.13 for ; Fri, 24 May 2013 03:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0d3IAmMeJaRJO1U0X/yT/D71UOoWapF/qdq3sBkQZIA=; b=poiNQ6UjJePzCHPhia9SCWkk8YAN1hY/tXGzjRVxsVgZMI5W5jEiEc9DiqAchwpYbr gi+xhjrF522gVeMRDUDnP4qKuVuZA4N4vpvMlY36vw9uTQ+xsA4eQgYQm+DCzl6gUtk9 +lJ+ALDj5IC7MxSfJQEBS8JoEb+5rwvxWVhGDfy5XtqOr4OgjWRvHppcB59V4ZOvYnzq oPgsBxuAptb68QGHwGP1t4xtE4QHek7HDc9IVqdopqlz3H49vdTvsB10SvI34qO2jq1c bXcwEMpMY/sIb+9f50BUDtfxNpH4LbuKEccUtiDH03bEn791gXmoT4flt5N73eYjxWR2 Kxvw== X-Received: by 10.180.206.228 with SMTP id lr4mr746986wic.48.1369391789179; Fri, 24 May 2013 03:36:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.217.87.7 with HTTP; Fri, 24 May 2013 03:36:09 -0700 (PDT) In-Reply-To: <519F3EAC.20301@adobe.com> References: <519F3EAC.20301@adobe.com> From: Andrei Savu Date: Fri, 24 May 2013 13:36:09 +0300 Message-ID: Subject: Re: cannot connect to ec2 instances To: dev Content-Type: multipart/alternative; boundary=001a11c385be270cda04dd745f39 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c385be270cda04dd745f39 Content-Type: text/plain; charset=ISO-8859-1 Hi Tudor - Do you get the same failure even if you don't specify the --public-key-path and --private-key-path? Is this happening every time? Provisionr should use the same keys by default. -- Andrei Savu On Fri, May 24, 2013 at 1:19 PM, Tudor Rogoz wrote: > Hi, > > I'm trying to create a pool of instances using the following command. > > provisionr:create --id amazon --key r3 --size 2 --volume /dev/sda1:8 > --volume /dev/sda2:8 --hardware-type m1.medium --public-key-path > /home/tudor/.ssh/id_rsa.pub --private-key-path /home/tudor/.ssh/id_rsa > --template mongos --image-id ami-3ac64a0a --timeout 1200 > > The ec2 instances are created, each of them with the attached volumes, but > it seems that the ssh connection fails during initialization.I tried also > without the keys parameters and it's the same behavior. > I took a fragment from the log [0], do you know which may be the problem? > > Thanks, > Tudor > > [0] > 2013-05-24 12:39:49,703 | INFO | reader | Ssh > | 97 - org.apache.provisionr.core - 0.4.0.incubating-SNAPSHOT | > Automatically accepting host key for ec2-54-244-156-198.us-west-2.** > compute.amazonaws.com:22with fingerprint dc:a8:3a:af:1d:2a:0a:ab:9a:77: > **de:e9:d0:07:da:53 > 2013-05-24 12:39:50,466 | ERROR | ool-10-thread-17 | Promise > | 93 - net.schmizz.sshj - 0.8.1 | <> woke to: > net.schmizz.sshj.userauth.**UserAuthException: publickey auth failed > 2013-05-24 12:39:50,468 | ERROR | ool-10-thread-17 | CommandContext > | 88 - org.activiti.engine - 5.10.0 | Error while closing > command context > org.activiti.engine.impl.pvm.**PvmException: couldn't execute activity > : Exhausted available authentication > methods > at org.activiti.engine.impl.pvm.**runtime.** > AtomicOperationActivityExecute**.execute(**AtomicOperationActivityExecute* > *.java:48)[88:org.activiti.**engine:5.10.0] > at org.activiti.engine.impl.**interceptor.CommandContext.** > performOperation(**CommandContext.java:80)[88:** > org.activiti.engine:5.10.0] > > --001a11c385be270cda04dd745f39--