Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy app to docker hung when docker host was stopped #1454

Open
aledsage opened this issue Jun 5, 2014 · 0 comments
Open

deploy app to docker hung when docker host was stopped #1454

aledsage opened this issue Jun 5, 2014 · 0 comments
Labels

Comments

@aledsage
Copy link
Member

aledsage commented Jun 5, 2014

I tried to deploy an app to a jclouds:docker location. However, the VM for the docker host was stopped. It seemed to hang forever - I stopped waiting after what felt like 10 minutes. The thread's stacktrace is below.

I expected to get back a nice error after some TCP timeouts, possibly with some retries, to tell me that it couldn't connect.

Provisioning machine in JcloudsPortforwardingSubnetLocation[docker:http://10.47.2.109:4243:notused]

Task[provisioning (docker:http://10.47.2.109:4243) [SUB-TASK, Wrapped[contextEntity:MySqlNodeImpl{id=BTlxffly}]]; TFD0T5Gd]
Submitted by Task[DST manager (internal) [Wrapped[contextEntity:MySqlNodeImpl{id=BTlxffly}]]; PYgBh3sT]

In progress, thread waiting (notify) on com.google.common.util.concurrent.AbstractFuture$Sync@c0624a4f
At: com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:285)
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135)
com.google.common.cache.LocalCache$LoadingValueReference.waitForValue(LocalCache.java:3552)
com.google.common.cache.LocalCache$Segment.waitForLoadingValue(LocalCache.java:2298)
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2285)
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
com.google.common.cache.LocalCache.get(LocalCache.java:3932)
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806)
org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
org.jclouds.compute.domain.internal.TemplateBuilderImpl.getImages(TemplateBuilderImpl.java:866)
org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:680)
brooklyn.location.jclouds.templates.PortableTemplateBuilder.newJcloudsTemplate(PortableTemplateBuilder.java:52)
brooklyn.location.jclouds.templates.PortableTemplateBuilder.build(PortableTemplateBuilder.java:30)
brooklyn.location.jclouds.JcloudsLocation.buildTemplate(JcloudsLocation.java:1029)
brooklyn.location.jclouds.JcloudsLocation.obtainOnce(JcloudsLocation.java:555)
brooklyn.location.jclouds.JcloudsLocation.obtain(JcloudsLocation.java:493)
io.cloudsoft.networking.portforwarding.subnet.JcloudsPortforwardingSubnetLocation.obtain(JcloudsPortforwardingSubnetLocation.java:96)
io.cloudsoft.networking.portforwarding.subnet.JcloudsPortforwardingSubnetLocation.obtain(JcloudsPortforwardingSubnetLocation.java:34)
brooklyn.entity.software.MachineLifecycleEffectorTasks$5$1.call(MachineLifecycleEffectorTasks.java:229)
brooklyn.entity.software.MachineLifecycleEffectorTasks$5$1.call(MachineLifecycleEffectorTasks.java:1)
brooklyn.util.task.Tasks.withBlockingDetails(Tasks.java:83)
brooklyn.entity.software.MachineLifecycleEffectorTasks$5.call(MachineLifecycleEffectorTasks.java:227)
brooklyn.entity.software.MachineLifecycleEffectorTasks$5.call(MachineLifecycleEffectorTasks.java:1)
brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:296)
brooklyn.util.task.BasicExecutionManager$3.call(BasicExecutionManager.java:353)

@aledsage aledsage added the bug label Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant