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

'IllegalStateException: Client is not started' happens on ssh container startup with replicated LevelDB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2
    • jboss-fuse-6.2
    • Fabric8 v1
    • None
    • % %
    • Hide
      1. Start Fuse and create fabric, and wait for provision.
      2. Run commands:
        mq-create --no-ssl --parent-profile=mq-replicated --group a broker-nossl-b
        
        fabric:container-create-ssh --user USER --host 127.0.0.1 --new-user admin --new-user-password admin  --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c0
        
        fabric:container-create-ssh --user USER --host 127.0.0.1  --new-user admin --new-user-password admin  --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c1
        
        fabric:container-create-ssh --user USER --host 127.0.0.1 --new-user admin --new-user-password admin  --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c2
        
        
      3. Wait for all containers to start
        Check their log
      Show
      Start Fuse and create fabric, and wait for provision. Run commands: mq-create --no-ssl --parent-profile=mq-replicated --group a broker-nossl-b fabric:container-create-ssh --user USER --host 127.0.0.1 -- new -user admin -- new -user-password admin --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c0 fabric:container-create-ssh --user USER --host 127.0.0.1 -- new -user admin -- new -user-password admin --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c1 fabric:container-create-ssh --user USER --host 127.0.0.1 -- new -user admin -- new -user-password admin --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c2 Wait for all containers to start Check their log

      Following exception is in ssh container log:

      2015-03-05 14:58:51,412 | ERROR | ZooKeeperGroup-0 | ZooKeeperGroup                   | 65 - io.fabric8.fabric-groups - 1.2.0.redhat-079 | 
      java.lang.IllegalStateException: Client is not started
      	at com.google.common.base.Preconditions.checkState(Preconditions.java:176)[56:com.google.guava:17.0.0]
      	at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:113)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:474)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:199)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-079]
      	at io.fabric8.groups.internal.ZooKeeperGroup.refresh(ZooKeeperGroup.java:385)[65:io.fabric8.fabric-groups:1.2.0.redhat-079]
      	at io.fabric8.groups.internal.RefreshOperation.invoke(RefreshOperation.java:32)[65:io.fabric8.fabric-groups:1.2.0.redhat-079]
      	at io.fabric8.groups.internal.ZooKeeperGroup.mainLoop(ZooKeeperGroup.java:510)[65:io.fabric8.fabric-groups:1.2.0.redhat-079]
      	at io.fabric8.groups.internal.ZooKeeperGroup.access$200(ZooKeeperGroup.java:65)[65:io.fabric8.fabric-groups:1.2.0.redhat-079]
      	at io.fabric8.groups.internal.ZooKeeperGroup$4.run(ZooKeeperGroup.java:156)[65:io.fabric8.fabric-groups:1.2.0.redhat-079]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
      	at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
      2015-03-05 14:58:51,436 | INFO  | pool-12-thread-1 | ZooKeeper                        | 71 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-079 | Session: 0x14bea38c8890005 closed
      

        1. logs-101.zip
          87 kB
        2. fuse.log
          697 kB

            hchirino Hiram Chirino
            emedvede Elena Medvedeva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: