brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tidd, Bryan (MAN-Corporate)" <Bryan.T...@Manheim.com>
Subject Re: Errors trying to deploy Docker Cloud
Date Thu, 03 Jul 2014 00:05:45 GMT
Alex, 

Just grabbed from GitHubÅ so should be fresh.

Will deploy again and follow tasks.

Bryan

On 7/2/14, 8:01 PM, "Alex Heneveld" <alex.heneveld@cloudsoftcorp.com>
wrote:

>
>Hi Bryan,
>
>If you click on tasks in the tasks view you should be able to drill down
>to the failing start task and it will show you the stdin / stdout /
>stderr for the command which failed.
>
>Can you let us know what you find out there?
>
>Also can I check you have a recent version?  There was an occasional
>race between `mkdir` and a script which used it but I'm pretty sure that
>was fixed weeks ago.
>
>Best
>Alex
>
>
>On 03/07/2014 00:52, Tidd, Bryan (MAN-Corporate) wrote:
>> I keep getting this error when deploying Docker Cloud example to AWS :
>>
>> Failed after 3m 51s: Execution failed, invalid result 1 for installing
>>DockerHostImpl{id=p3X4sIOE}
>>
>> brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking
>>start at DockerHostImpl{id=p3X4sIOE}: Execution failed, invalid result 1
>>for installing DockerHostImpl{id=p3X4sIOE}
>> at 
>>brooklyn.management.internal.EffectorUtils.handleEffectorException(Effect
>>orUtils.java:233)
>> at 
>>brooklyn.entity.effector.EffectorTasks$EffectorBodyTaskFactory$2.handleEx
>>ception(EffectorTasks.java:71)
>> at 
>>brooklyn.util.task.DynamicSequentialTask.handleException(DynamicSequentia
>>lTask.java:394)
>> at 
>>brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTas
>>k.java:346)
>> at 
>>brooklyn.util.task.BasicExecutionManager$3.call(BasicExecutionManager.jav
>>a:353)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at 
>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
>>:1145)
>> at 
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>>a:615)
>> at java.lang.Thread.run(Thread.java:744)
>> Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error
>>invoking start at DockerHostImpl{id=p3X4sIOE}: Execution failed, invalid
>>result 1 for installing DockerHostImpl{id=p3X4sIOE}
>> at 
>>brooklyn.management.internal.EffectorUtils.handleEffectorException(Effect
>>orUtils.java:233)
>> at 
>>brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorU
>>tils.java:225)
>> at brooklyn.entity.basic.MethodEffector.call(MethodEffector.java:131)
>> at 
>>brooklyn.entity.trait.Startable$StartEffectorBody.call(Startable.java:36)
>> at 
>>brooklyn.entity.trait.Startable$StartEffectorBody.call(Startable.java:1)
>> at 
>>brooklyn.entity.effector.EffectorTasks$EffectorBodyTaskFactory$1.call(Eff
>>ectorTasks.java:63)
>> at 
>>brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTas
>>k.java:296)
>> ... 5 more
>> Caused by: java.util.concurrent.ExecutionException:
>>brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed,
>>invalid result 1 for installing DockerHostImpl{id=p3X4sIOE}
>> at 
>>brooklyn.management.internal.AbstractManagementContext.invokeEffectorMeth
>>odSync(AbstractManagementContext.java:255)
>> at 
>>brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorU
>>tils.java:220)
>> ... 10 more
>> Caused by: brooklyn.util.exceptions.PropagatedRuntimeException:
>>Execution failed, invalid result 1 for installing
>>DockerHostImpl{id=p3X4sIOE}
>> at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:71)
>> at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:315)
>> at 
>>brooklyn.util.task.DynamicSequentialTask.drain(DynamicSequentialTask.java
>>:424)
>> at brooklyn.util.task.DynamicTasks.drain(DynamicTasks.java:281)
>> at brooklyn.util.task.DynamicTasks.waitForLast(DynamicTasks.java:270)
>> at 
>>brooklyn.entity.software.MachineLifecycleEffectorTasks.start(MachineLifec
>>ycleEffectorTasks.java:181)
>> at 
>>brooklyn.entity.basic.SoftwareProcessImpl.doStart(SoftwareProcessImpl.jav
>>a:436)
>> at 
>>brooklyn.entity.basic.SoftwareProcessImpl.start(SoftwareProcessImpl.java:
>>390)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:57)
>> at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>mpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at 
>>org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
>> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
>> at 
>>groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149
>>)
>> at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
>> at 
>>org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteAr
>>ray.java:42)
>> at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
>> at 
>>brooklyn.util.GroovyJavaMethods.invokeMethodOnMetaClass(GroovyJavaMethods
>>.groovy:125)
>> at 
>>brooklyn.management.internal.AbstractManagementContext.invokeEffectorMeth
>>odLocal(AbstractManagementContext.java:228)
>> at 
>>brooklyn.management.internal.AbstractManagementContext.invokeEffectorMeth
>>odSync(AbstractManagementContext.java:251)
>> ... 11 more
>> Caused by: java.util.concurrent.ExecutionException:
>>brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed,
>>invalid result 1 for installing DockerHostImpl{id=p3X4sIOE}
>> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>> at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>> at 
>>com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.j
>>ava:63)
>> at brooklyn.util.task.BasicTask.get(BasicTask.java:304)
>> at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:313)
>> ... 32 more
>> Caused by: brooklyn.util.exceptions.PropagatedRuntimeException:
>>Execution failed, invalid result 1 for installing
>>DockerHostImpl{id=p3X4sIOE}
>> at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:71)
>> at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:315)
>> at 
>>brooklyn.util.task.DynamicSequentialTask.drain(DynamicSequentialTask.java
>>:424)
>> at brooklyn.util.task.DynamicTasks.drain(DynamicTasks.java:281)
>> at brooklyn.util.task.DynamicTasks.waitForLast(DynamicTasks.java:270)
>> at 
>>brooklyn.entity.basic.SoftwareProcessDriverLifecycleEffectorTasks.startPr
>>ocessesAtMachine(SoftwareProcessDriverLifecycleEffectorTasks.java:100)
>> at 
>>brooklyn.entity.software.MachineLifecycleEffectorTasks$4.run(MachineLifec
>>ycleEffectorTasks.java:209)
>> at 
>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> ... 6 more
>> Caused by: java.util.concurrent.ExecutionException:
>>brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed,
>>invalid result 1 for installing DockerHostImpl{id=p3X4sIOE}
>> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>> at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>> at 
>>com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.j
>>ava:63)
>> at brooklyn.util.task.BasicTask.get(BasicTask.java:304)
>> at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:313)
>> ... 12 more
>> Caused by: brooklyn.util.exceptions.PropagatedRuntimeException:
>>Execution failed, invalid result 1 for installing
>>DockerHostImpl{id=p3X4sIOE}
>> at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:71)
>> at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:315)
>> at 
>>brooklyn.entity.basic.lifecycle.ScriptHelper.execute(ScriptHelper.java:29
>>1)
>> at 
>>brooklyn.entity.container.docker.DockerHostSshDriver.install(DockerHostSs
>>hDriver.java:168)
>> at 
>>brooklyn.entity.basic.AbstractSoftwareProcessDriver$1.run(AbstractSoftwar
>>eProcessDriver.java:64)
>> ... 7 more
>> Caused by: java.util.concurrent.ExecutionException:
>>java.lang.IllegalStateException: Execution failed, invalid result 1 for
>>installing DockerHostImpl{id=p3X4sIOE}
>> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>> at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>> at 
>>com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.j
>>ava:63)
>> at brooklyn.util.task.BasicTask.get(BasicTask.java:304)
>> at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:313)
>> ... 10 more
>> Caused by: java.lang.IllegalStateException: Execution failed, invalid
>>result 1 for installing DockerHostImpl{id=p3X4sIOE}
>> at 
>>brooklyn.entity.basic.lifecycle.ScriptHelper.logWithDetailsAndThrow(Scrip
>>tHelper.java:340)
>> at 
>>brooklyn.entity.basic.lifecycle.ScriptHelper.executeInternal(ScriptHelper
>>.java:329)
>> at 
>>brooklyn.entity.basic.lifecycle.ScriptHelper$8.call(ScriptHelper.java:241
>>)
>> at 
>>brooklyn.entity.basic.lifecycle.ScriptHelper$8.call(ScriptHelper.java:1)
>> ... 6 more
>>
>> The instances are created, as are the keys and security groupsÅ but it
>>fails
>> Any thoughts?
>> Bryan
>>
>


Mime
View raw message