Seems like the EBS creation and attachment should be done locally via ec2-api-tools but the actual mounting via Whirr on the instance, correct?
On Wed, May 9, 2012 at 2:28 PM, Frank Scholten <[email protected]> wrote: > I am creating a script that creates, attaches and mounts EBS volume. > > On Wed, May 9, 2012 at 1:59 PM, Frank Scholten <[email protected]> wrote: >> I already get timeouts after around 30 seconds, even though I set >> jclouds.compute.timeout.script-complete to 1800000 (30 mins) >> >> >> On Wed, May 9, 2012 at 12:36 PM, Andrei Savu <[email protected]> wrote: >>> Are you running long tasks? >>> >>> See jclouds.compute.timeout.script-complete >>> >>> https://whirr.apache.org/docs/0.7.1/configuration-guide.html >>> >>> -- Andrei Savu / axemblr.com / Tools for Clouds >>> >>> >>> On Wed, May 9, 2012 at 1:33 PM, Frank Scholten <[email protected]> >>> wrote: >>>> >>>> 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 <[email protected]> >>>> wrote: >>>> > Ah of course, forgot to add the config. Thx! >>>> > >>>> > On Wed, May 9, 2012 at 11:27 AM, Andrei Savu <[email protected]> >>>> > 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 >>>> >> <[email protected]> >>>> >> 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 >>>> >> >>>> >> >>> >>>
