Fuse Fabric Creation Timeout

Solution Verified - Updated -

Issue

When running the fabric:create command with the --wait-for-provisioning pararmeter, the following stack trace is seen:

2016-09-28 17:21:08,942 | ERROR | l Console Thread | Console                          | 38 - org.apache.karaf.shell.console - 2.4.0.redhat-621117 | Exception caught while executing command  io.fabric8.api.FabricException: Unable to create zookeeper server configuration                  at io.fabric8.internal.ZooKeeperClusterBootstrapImpl.create(ZooKeeperClusterBootstrapImpl.java:150)                  at io.fabric8.boot.commands.CreateAction.doExecute(CreateAction.java:319)                  at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)                  at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_65]                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_65]                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_65]                  at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_65]                  at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.4]                  at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.4]                  at io.fabric8.boot.commands.$CreateCommand554541095.execute(Unknown Source)[157:io.fabric8.fabric-boot-commands:1.2.0.redhat-621117]                  at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]                  at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-621117]  Caused by: java.util.concurrent.TimeoutException: Cannot provision container in time                  at io.fabric8.internal.ZooKeeperClusterBootstrapImpl$BootstrapCreateHandler.waitForSuccessfulDeploymentOf(ZooKeeperClusterBootstrapImpl.java:392)                  at io.fabric8.internal.ZooKeeperClusterBootstrapImpl$BootstrapCreateHandler.access$100(ZooKeeperClusterBootstrapImpl.java:316)                  at io.fabric8.internal.ZooKeeperClusterBootstrapImpl.create(ZooKeeperClusterBootstrapImpl.java:145)                  ... 19 more

Environment

  • Red Hat JBoss Fuse
    *6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.