Details
-
Bug
-
Resolution: Done
-
Blocker
-
jboss-fuse-6.2
-
None
-
%
-
Description
Creating openshift fuse containers in hawtio or fabric:container-create-openshift fails in the current 6.2 ER5 (build 117)
It seems the HTTP server (jetty) won't get deployed in the end for some reason, which will cause the control script to wait in the
wait_for_start 'wait-for-fabric'
which will eventually timeout.
There is also this suspicious exception in the logs:
2015-05-12 14:44:04,786 | ERROR | pool-7-thread-1 | Activator | x.web.service.internal.Activator 372 | 99 - org.ops4j.pax.web.pax-web-runtime - 3.2.2 | Unable to start pax web server: Exception while starting Jetty java.lang.RuntimeException: Exception while starting Jetty at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:143)[100:org.ops4j.pax.web.pax-web-jetty:3.2.2] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Stopped.start(ServerControllerImpl.java:386)[100:org.ops4j.pax.web.pax-web-jetty:3.2.2] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.start(ServerControllerImpl.java:69)[100:org.ops4j.pax.web.pax-web-jetty:3.2.2] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Unconfigured.configure(ServerControllerImpl.java:680)[100:org.ops4j.pax.web.pax-web-jetty:3.2.2] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.configure(ServerControllerImpl.java:85)[100:org.ops4j.pax.web.pax-web-jetty:3.2.2] at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:341)[99:org.ops4j.pax.web.pax-web-runtime:3.2.2] at org.ops4j.pax.web.service.internal.Activator$2.run(Activator.java:276)[99:org.ops4j.pax.web.pax-web-runtime:3.2.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79] at java.lang.Thread.run(Thread.java:745)[:1.7.0_79] Caused by: java.lang.IllegalStateException: Client is not started at com.google.common.base.Preconditions.checkState(Preconditions.java:176)[67:com.google.guava:17.0.0] at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:113)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:474)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:172)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:161)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.framework.imps.ExistsBuilderImpl.pathInForeground(ExistsBuilderImpl.java:157)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:148)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:36)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at io.fabric8.zookeeper.utils.ZooKeeperUtils.getChildrenSafe(ZooKeeperUtils.java:133)[82:io.fabric8.fabric-zookeeper:1.2.0.redhat-117] at io.fabric8.service.ZkDataStoreImpl.getContainers(ZkDataStoreImpl.java:238)[75:io.fabric8.fabric-core:1.2.0.redhat-117] at io.fabric8.service.ZkDataStoreImpl.hasContainer(ZkDataStoreImpl.java:247)[75:io.fabric8.fabric-core:1.2.0.redhat-117] at io.fabric8.service.FabricServiceImpl.getContainer(FabricServiceImpl.java:317)[75:io.fabric8.fabric-core:1.2.0.redhat-117] at io.fabric8.service.FabricServiceImpl.getCurrentContainer(FabricServiceImpl.java:233)[75:io.fabric8.fabric-core:1.2.0.redhat-117] at io.fabric8.service.ProfileUrlHandler$Connection.getInputStream(ProfileUrlHandler.java:111)[75:io.fabric8.fabric-core:1.2.0.redhat-117] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)[:] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)[:] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[:] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[:] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)[:] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)[:] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)[:] at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)[:] at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:204)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.16.v20140903] at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:220)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.16.v20140903] at org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:153)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.16.v20140903] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:119)[100:org.ops4j.pax.web.pax-web-jetty:3.2.2] ... 11 more