whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Savu <savu.and...@gmail.com>
Subject Re: Error launching cluster: no private key configured for <>
Date Tue, 08 May 2012 16:41:07 GMT
As long as you specify whirr.cluster-user=huser and no value for
whirr.login-user it should work.

Do you see the same behaviour when running from the local machine?

On Tue, May 8, 2012 at 7:33 PM, Light Reader <lightreader@gmail.com> wrote:

> Ok Trying that.
>
> Looking at the log I see. Does that tell you anything. (I saw something
> similar in the Jira-378
>
>
> 2012-05-08 14:27:45,181 DEBUG [org.apache.whirr.compute.StartupProcess]
> (pool-3-thread-3) Will destroy failed node [id=us-east-1/i-0712c161,
> providerId=i-0712c161, group=MyCluster1, name=MyCluster1-0712c161,
> location=[id=us-east-1a, scope=ZONE, description=us-east-1a,
> parent=us-east-1, iso3166Codes=[US-VA], metadata={}], uri=null,
> imageId=us-east-1/ami-ab36fbc2, os=[name=null, family=ubuntu,
> version=10.04, arch=paravirtual, is64Bit=false,
> description=099720109477/ebs/ubuntu-images/ubuntu-lucid-10.04-i386-server-20110930],
> state=RUNNING, loginPort=22, hostname=ip-10-68-31-48,
> privateAddresses=[10.68.31.48], publicAddresses=[23.22.67.252],
> hardware=[id=m1.small, providerId=m1.small, name=null,
> processors=[[cores=1.0, speed=1.0]], ram=1740, volumes=[[id=null,
> type=LOCAL, size=150.0, device=/dev/sda2, durable=false,
> isBootDevice=false], [id=vol-4ecdeb21, type=SAN, size=null,
> device=/dev/sda1, durable=true, isBootDevice=true]],
> supportsImage=And(ALWAYS_TRUE,Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,Not(is64Bit())),
> tags=[]], loginUser=ubuntu, userMetadata={Name=MyCluster1-0712c161},
> tags=[]]
> org.jclouds.rest.AuthorizationException:
> (ubuntu:rsa[fingerprint(11:9a:1d:55:f6:2f:ea:aa:02:e5:70:e1:07:04:75:d4),sha1(78:9d:9b:91:25:17:e3:83:7e:72:e7:7c:80:0a:00:82:41:15:a7:e9)]@
> 23.22.67.252:22)
> (ubuntu:rsa[fingerprint(11:9a:1d:55:f6:2f:ea:aa:02:e5:70:e1:07:04:75:d4),sha1(78:9d:9b:91:25:17:e3:83:7e:72:e7:7c:80:0a:00:82:41:15:a7:e9)]@
> 23.22.67.252:22) error acquiring SSHClient(timeout=60000): Exhausted
> available authentication methods
>  at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:413)
> at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:244)
>  at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:255)
> at
> org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:89)
>  at
> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:150)
>  at
> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:57)
>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>  at java.lang.Thread.run(Thread.java:662)
> Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted
> available authentication methods
>  at
> net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114)
> at net.schmizz.sshj.SSHClient.auth(SSHClient.java:204)
>  at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:304)
> at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:323)
>  at org.jclouds.sshj.SshjSshClient$1.create(SshjSshClient.java:199)
> at org.jclouds.sshj.SshjSshClient$1.create(SshjSshClient.java:171)
>  at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:220)
> ... 9 more
> Caused by: net.schmizz.sshj.userauth.UserAuthException: publickey auth
> failed
> at net.schmizz.sshj.userauth.UserAuthImpl.handle(UserAuthImpl.java:157)
>  at
> net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:474)
> at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:127)
>  at net.schmizz.sshj.transport.Decoder.received(Decoder.java:195)
> at net.schmizz.sshj.transport.Reader.run(Reader.java:72)
>
> On Tue, May 8, 2012 at 12:26 PM, Andrei Savu <savu.andrei@gmail.com>wrote:
>
>>
>> On Tue, May 8, 2012 at 7:11 PM, Light Reader <lightreader@gmail.com>wrote:
>>
>>> Well I actually running this from another EC2 linux box!! Could that be
>>> an issue?
>>
>>
>> No, it should work just fine. Maybe try a different region.
>>
>
>

Mime
View raw message