You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@whirr.apache.org by Russell Jurney <ru...@gmail.com> on 2012/01/31 23:15:45 UTC

Whirr in 5 minutes fail

I am following the instructions here:
http://whirr.apache.org/docs/0.7.0/whirr-in-5-minutes.html

I run immediately into the error below.  I try manually specifying the
keys, but I am still not able to login to the nodes as ubuntu@.  What am I
doing wrong?

<< problem applying options to node(us-east-1/i-7d238718):
java.lang.IllegalStateException: node(us-east-1/i-7d238718) terminated
before we could customize
at
org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:139)
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:680)
Dying because - net.schmizz.sshj.transport.TransportException: Broken
transport; encountered EOF
Dying because - net.schmizz.sshj.transport.TransportException: Broken
transport; encountered EOF
<<kex done>> woke to: net.schmizz.sshj.transport.TransportException: Broken
transport; encountered EOF
<<
(ubuntu:rsa[fingerprint(04:34:e0:d8:15:12:16:07:fa:95:c9:24:01:2e:dd:01),sha1(eb:56:ae:62:6d:5d:cf:50:54:be:df:c0:39:a8:f1:4b:15:e0:e6:9f)]@
107.21.150.100:22) error acquiring SSHClient(timeout=60000): Broken
transport; encountered EOF
net.schmizz.sshj.transport.TransportException: Broken transport;
encountered EOF
at net.schmizz.sshj.transport.Reader.run(Reader.java:70)
Dying because - net.schmizz.sshj.transport.TransportException: Broken
transport; encountered EOF
Dying because - net.schmizz.sshj.transport.TransportException: Broken
transport; encountered EOF
<<kex done>> woke to: net.schmizz.sshj.transport.TransportException: Broken
transport; encountered EOF
<<
(ubuntu:rsa[fingerprint(04:34:e0:d8:15:12:16:07:fa:95:c9:24:01:2e:dd:01),sha1(eb:56:ae:62:6d:5d:cf:50:54:be:df:c0:39:a8:f1:4b:15:e0:e6:9f)]@
107.21.150.100:22) error acquiring SSHClient(timeout=60000): Broken
transport; encountered EOF
net.schmizz.sshj.transport.TransportException: Broken transport;
encountered EOF
at net.schmizz.sshj.transport.Reader.run(Reader.java:70)


-- 
Russell Jurney
twitter.com/rjurney
russell.jurney@gmail.com
datasyndrome.com

Re: Whirr in 5 minutes fail

Posted by Andrei Savu <sa...@gmail.com>.
On Wed, Feb 1, 2012 at 1:03 AM, Russell Jurney <ru...@gmail.com>wrote:

> I got it working with a one node zookeeper cluster.  I will keep working.
>  I am trying to boot zookeeper, then boot Kafka.


It would be great if you could attach your scripts to:
https://issues.apache.org/jira/browse/WHIRR-212

Re: Whirr in 5 minutes fail

Posted by Russell Jurney <ru...@gmail.com>.
Cool, thanks.  The current local username bit threw me.  I'll configure
that.

I got it working with a one node zookeeper cluster.  I will keep working.
 I am trying to boot zookeeper, then boot Kafka.

Russ

On Tue, Jan 31, 2012 at 2:51 PM, Andrei Savu <sa...@gmail.com> wrote:

> As long as the cluster starts that error is irrelevant - the logging is
> too verbose in this case.
>
> You should be able to login with a command like this:
> ssh <current-local-user-name>@remote-machine-ip
>
> Important note: make sure you are not running Whirr as root.
>
> Just after bootstrap Whirr creates a new user on the remote machine
> named whirr.cluster-user (default value is the name of the user running
> Whirr).
>
> I hope this helps!
>
> -- Andrei
>
> On Wed, Feb 1, 2012 at 12:15 AM, Russell Jurney <ru...@gmail.com>wrote:
>
>> I am following the instructions here:
>> http://whirr.apache.org/docs/0.7.0/whirr-in-5-minutes.html
>>
>> I run immediately into the error below.  I try manually specifying the
>> keys, but I am still not able to login to the nodes as ubuntu@.  What am
>> I doing wrong?
>>
>> << problem applying options to node(us-east-1/i-7d238718):
>> java.lang.IllegalStateException: node(us-east-1/i-7d238718) terminated
>> before we could customize
>> at
>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:139)
>>  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:680)
>> Dying because - net.schmizz.sshj.transport.TransportException: Broken
>> transport; encountered EOF
>> Dying because - net.schmizz.sshj.transport.TransportException: Broken
>> transport; encountered EOF
>> <<kex done>> woke to: net.schmizz.sshj.transport.TransportException:
>> Broken transport; encountered EOF
>> <<
>> (ubuntu:rsa[fingerprint(04:34:e0:d8:15:12:16:07:fa:95:c9:24:01:2e:dd:01),sha1(eb:56:ae:62:6d:5d:cf:50:54:be:df:c0:39:a8:f1:4b:15:e0:e6:9f)]@
>> 107.21.150.100:22) error acquiring SSHClient(timeout=60000): Broken
>> transport; encountered EOF
>> net.schmizz.sshj.transport.TransportException: Broken transport;
>> encountered EOF
>> at net.schmizz.sshj.transport.Reader.run(Reader.java:70)
>> Dying because - net.schmizz.sshj.transport.TransportException: Broken
>> transport; encountered EOF
>> Dying because - net.schmizz.sshj.transport.TransportException: Broken
>> transport; encountered EOF
>> <<kex done>> woke to: net.schmizz.sshj.transport.TransportException:
>> Broken transport; encountered EOF
>> <<
>> (ubuntu:rsa[fingerprint(04:34:e0:d8:15:12:16:07:fa:95:c9:24:01:2e:dd:01),sha1(eb:56:ae:62:6d:5d:cf:50:54:be:df:c0:39:a8:f1:4b:15:e0:e6:9f)]@
>> 107.21.150.100:22) error acquiring SSHClient(timeout=60000): Broken
>> transport; encountered EOF
>> net.schmizz.sshj.transport.TransportException: Broken transport;
>> encountered EOF
>> at net.schmizz.sshj.transport.Reader.run(Reader.java:70)
>>
>>
>> --
>> Russell Jurney
>> twitter.com/rjurney
>> russell.jurney@gmail.com
>> datasyndrome.com
>>
>
>


-- 
Russell Jurney
twitter.com/rjurney
russell.jurney@gmail.com
datasyndrome.com

Re: Whirr in 5 minutes fail

Posted by Andrei Savu <sa...@gmail.com>.
As long as the cluster starts that error is irrelevant - the logging is too
verbose in this case.

You should be able to login with a command like this:
ssh <current-local-user-name>@remote-machine-ip

Important note: make sure you are not running Whirr as root.

Just after bootstrap Whirr creates a new user on the remote machine
named whirr.cluster-user (default value is the name of the user running
Whirr).

I hope this helps!

-- Andrei

On Wed, Feb 1, 2012 at 12:15 AM, Russell Jurney <ru...@gmail.com>wrote:

> I am following the instructions here:
> http://whirr.apache.org/docs/0.7.0/whirr-in-5-minutes.html
>
> I run immediately into the error below.  I try manually specifying the
> keys, but I am still not able to login to the nodes as ubuntu@.  What am
> I doing wrong?
>
> << problem applying options to node(us-east-1/i-7d238718):
> java.lang.IllegalStateException: node(us-east-1/i-7d238718) terminated
> before we could customize
> at
> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:139)
>  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:680)
> Dying because - net.schmizz.sshj.transport.TransportException: Broken
> transport; encountered EOF
> Dying because - net.schmizz.sshj.transport.TransportException: Broken
> transport; encountered EOF
> <<kex done>> woke to: net.schmizz.sshj.transport.TransportException:
> Broken transport; encountered EOF
> <<
> (ubuntu:rsa[fingerprint(04:34:e0:d8:15:12:16:07:fa:95:c9:24:01:2e:dd:01),sha1(eb:56:ae:62:6d:5d:cf:50:54:be:df:c0:39:a8:f1:4b:15:e0:e6:9f)]@
> 107.21.150.100:22) error acquiring SSHClient(timeout=60000): Broken
> transport; encountered EOF
> net.schmizz.sshj.transport.TransportException: Broken transport;
> encountered EOF
> at net.schmizz.sshj.transport.Reader.run(Reader.java:70)
> Dying because - net.schmizz.sshj.transport.TransportException: Broken
> transport; encountered EOF
> Dying because - net.schmizz.sshj.transport.TransportException: Broken
> transport; encountered EOF
> <<kex done>> woke to: net.schmizz.sshj.transport.TransportException:
> Broken transport; encountered EOF
> <<
> (ubuntu:rsa[fingerprint(04:34:e0:d8:15:12:16:07:fa:95:c9:24:01:2e:dd:01),sha1(eb:56:ae:62:6d:5d:cf:50:54:be:df:c0:39:a8:f1:4b:15:e0:e6:9f)]@
> 107.21.150.100:22) error acquiring SSHClient(timeout=60000): Broken
> transport; encountered EOF
> net.schmizz.sshj.transport.TransportException: Broken transport;
> encountered EOF
> at net.schmizz.sshj.transport.Reader.run(Reader.java:70)
>
>
> --
> Russell Jurney
> twitter.com/rjurney
> russell.jurney@gmail.com
> datasyndrome.com
>