Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4483

Windows: Joining into fabric - Client is not started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %
    • 6.3 Sprint 2 (1-Feb - 26-Feb)

      I want to join into existing fabric from windows and when I use fabric:join, I occasionally run into the exception "Client is not started". To me this exception is thrown random and I can't reproduce it reliably. I was able to reproduce it only on windows (in virtualbox ~1/10 times, on openstack it is more common).

      2015-11-23 03:32:24,543 | ERROR | n-reg-3-thread-1 | FabricMBeanRegistrationListener  | 138 - io.fabric8.fabric-core - 1.2.0.redhat-621078 | Client is not started
      java.lang.IllegalStateException: Client is not started
      	at com.google.common.base.Preconditions.checkState(Preconditions.java:176)[134:com.google.guava:17.0.0]
      	at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:113)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:474)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:239)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:234)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.framework.imps.DeleteBuilderImpl.pathInForeground(DeleteBuilderImpl.java:230)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:215)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:42)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at io.fabric8.zookeeper.utils.ZooKeeperUtils.deleteSafe(ZooKeeperUtils.java:265)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at io.fabric8.zookeeper.utils.ZooKeeperUtils.deleteSafe(ZooKeeperUtils.java:262)[145:io.fabric8.fabric-zookeeper:1.2.0.redhat-621078]
      	at io.fabric8.service.FabricMBeanRegistrationListener.registerDomains(FabricMBeanRegistrationListener.java:223)[138:io.fabric8.fabric-core:1.2.0.redhat-621078]
      	at io.fabric8.service.FabricMBeanRegistrationListener.access$200(FabricMBeanRegistrationListener.java:71)[138:io.fabric8.fabric-core:1.2.0.redhat-621078]
      	at io.fabric8.service.FabricMBeanRegistrationListener$2.run(FabricMBeanRegistrationListener.java:158)[138:io.fabric8.fabric-core:1.2.0.redhat-621078]
      	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]
      

      I reproduced it for example with following steps:
      1. edit etc/system.properties and change karaf.name property
      2. start fuse
      3. fabric:join --zookeeper-password admin --resolver localhostname <zk_ip>
      4. the container joined into the fabric, but its provision status says "Error: Client is not started"

        1. fuse.log
          156 kB
          Andrej Vano

              pantinor@redhat.com Paolo Antinori
              avano@redhat.com Andrej Vano
              Andrej Vano Andrej Vano
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: