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

All containers have to run when execute ensemble command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %
    • Hide

      Execute following command.

      JBossFuse:karaf@root> fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning
      JBossFuse:karaf@root> fabric:container-create-ssh --host 172.17.0.2 --user test --password test --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=172.17.0.2" --profile fabric test1
      JBossFuse:karaf@root> fabric:container-create-ssh --host 172.17.0.3 --user test --password test --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=172.17.0.3" --profile fabric test2
      JBossFuse:karaf@root> fabric:container-create-child --version 1.0 root test3
      JBossFuse:karaf@root> container-list 
      [id]     [version]  [type]  [connected]  [profiles]              [provision status]
      root*    1.0        karaf   yes          fabric                  success           
                                               fabric-ensemble-0000-1                    
                                               jboss-fuse-full                           
        test3  1.0        karaf   yes          default                 success           
      test1    1.0        karaf   yes          fabric                  success           
      test2    1.0        karaf   yes          fabric                  success           
      JBossFuse:karaf@root> fabric:container-stop test3
      JBossFuse:karaf@root> container-list 
      [id]     [version]  [type]  [connected]  [profiles]              [provision status]
      root*    1.0        karaf   yes          fabric                  success           
                                               fabric-ensemble-0000-1                    
                                               jboss-fuse-full                           
        test3  1.0        karaf   no           default                 stopped           
      test1    1.0        karaf   yes          fabric                  success           
      test2    1.0        karaf   yes          fabric                  success           
      JBossFuse:karaf@root> fabric:ensemble-add test1 test2
      This will change of the zookeeper connection string.
      Are you sure want to proceed(yes/no):yes
      Error executing command: Can not modify the zookeeper ensemble if all containers are not running. Containers not ready:[Container[id=test3, parent=root]]
      
      Show
      Execute following command. JBossFuse:karaf@root> fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning JBossFuse:karaf@root> fabric:container-create-ssh --host 172.17.0.2 --user test --password test --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=172.17.0.2" --profile fabric test1 JBossFuse:karaf@root> fabric:container-create-ssh --host 172.17.0.3 --user test --password test --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=172.17.0.3" --profile fabric test2 JBossFuse:karaf@root> fabric:container-create-child --version 1.0 root test3 JBossFuse:karaf@root> container-list [id] [version] [type] [connected] [profiles] [provision status] root* 1.0 karaf yes fabric success fabric-ensemble-0000-1 jboss-fuse-full test3 1.0 karaf yes default success test1 1.0 karaf yes fabric success test2 1.0 karaf yes fabric success JBossFuse:karaf@root> fabric:container-stop test3 JBossFuse:karaf@root> container-list [id] [version] [type] [connected] [profiles] [provision status] root* 1.0 karaf yes fabric success fabric-ensemble-0000-1 jboss-fuse-full test3 1.0 karaf no default stopped test1 1.0 karaf yes fabric success test2 1.0 karaf yes fabric success JBossFuse:karaf@root> fabric:ensemble-add test1 test2 This will change of the zookeeper connection string. Are you sure want to proceed(yes/no):yes Error executing command: Can not modify the zookeeper ensemble if all containers are not running. Containers not ready:[Container[id=test3, parent=root]]
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

    Description

      When execute ensemble command, all containers have to run even if it is not an ensemble container.

      Attachments

        Issue Links

          Activity

            People

              acosenti Andrea Cosentino
              rhn-support-enagai Eiichi Nagai (Inactive)
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: