whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Scholten <fr...@frankscholten.nl>
Subject Re: Whirr run-script command
Date Wed, 09 May 2012 10:33:34 GMT
Hmm I am getting SSH timeouts when running a script on a running cluster

]) (out of retries - max 7): Read timed out
	at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:417)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:238)
	at org.jclouds.sshj.SshjSshClient.exec(SshjSshClient.java:499)
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.runCommand(RunScriptOnNodeUsingSsh.java:113)
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:86)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
	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.connection.ConnectionException: Read timed out
	at net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:32)
	at net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:26)
	at net.schmizz.concurrent.Promise.deliverError(Promise.java:95)
	at net.schmizz.concurrent.Event.deliverError(Event.java:72)
	at net.schmizz.concurrent.ErrorDeliveryUtil.alertEvents(ErrorDeliveryUtil.java:34)
	at net.schmizz.sshj.connection.channel.AbstractChannel.notifyError(AbstractChannel.java:239)

On Wed, May 9, 2012 at 11:47 AM, Frank Scholten <frank@frankscholten.nl> wrote:
> Ah of course, forgot to add the config. Thx!
>
> On Wed, May 9, 2012 at 11:27 AM, Andrei Savu <savu.andrei@gmail.com> wrote:
>> I usually specify the same config file I've used for launch.
>>
>> $ whirr run-script --script path-to-script --roles role --config ....
>>
>>
>>
>> On Wed, May 9, 2012 at 12:22 PM, Frank Scholten <frank@frankscholten.nl>
>> wrote:
>>>
>>> Hi all,
>>>
>>> I am using the whirr run-script command like this
>>>
>>> $ whirr run-script --script path-to-script --roles role
>>>
>>> but I am suprised it asks for a 'cluster-name' and an
>>> 'instance-templates' option. Is this correct?
>>>
>>> Cheers,
>>>
>>> Frank
>>
>>

Mime
View raw message