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

Can't apply a patch to the fabric server after removing root container and adding 2 extra fabric servers

XMLWordPrintable

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

      Instruction Summary

      • create an ensemble server environment(3 instances) using ssh containers
      • delete a root container from the existing fabric environment
      • add 2 new ensemble servers using ssh containers
      • install 6.2.1 R1 to one of the fabric server

      Instruction Detail

      • On root console
        fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning
        fabric:profile-edit --delete --feature patch-core default
        fabric:profile-edit --feature patch default
        patch:fabric-synchronize
        
        fabric:container-create-ssh --host 0.0.1.1 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.1 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver1
        
        fabric:container-create-ssh --host 0.0.1.2 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.2 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver2
        
        fabric:container-create-ssh --host 0.0.1.3 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.3 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver3
        
        fabric:ensemble-add fabricserver1 fabricserver2 fabricserver3
        
        fabric:ensemble-remove root
        JBossFuse:karaf@root> fabric:container-delete --force root
        The list of container names: [root]
        Error executing command: Container's lifecycle not managed by Fabric8 (the container was not created by Fabric8).
        
        shutdonw
        
      • log on to 0.0.1.1
        fabric:container-create-ssh --host 0.0.1.4 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.4 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver4
        
        fabric:container-create-ssh --host 0.0.1.5 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.5 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver5
        
        fabric:ensemble-add fabricserver4 fabricserver5
        
        patch:add file:///root/jboss-fuse-full-6.2.1.redhat-090.zip
        fabric:version-create 1.1
        patch:fabric-install --username admin --password admin --upload --version 1.1 jboss-fuse-full-6.2.1.redhat-090
        patch:fabric-synchronize
        fabric:container-upgrade 1.1 fabricserver5
        ===
        fabricserver5   1.1        karaf   yes          fabric                  error - io.fabric8.patch.management.PatchException: Invalid ref name: baseline-ssh-fabric8-1.2.0.red
        ===
        
      Show
      Instruction Summary create an ensemble server environment(3 instances) using ssh containers delete a root container from the existing fabric environment add 2 new ensemble servers using ssh containers install 6.2.1 R1 to one of the fabric server Instruction Detail On root console fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning fabric:profile-edit --delete --feature patch-core default fabric:profile-edit --feature patch default patch:fabric-synchronize fabric:container-create-ssh --host 0.0.1.1 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.1 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver1 fabric:container-create-ssh --host 0.0.1.2 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.2 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver2 fabric:container-create-ssh --host 0.0.1.3 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.3 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver3 fabric:ensemble-add fabricserver1 fabricserver2 fabricserver3 fabric:ensemble-remove root JBossFuse:karaf@root> fabric:container-delete --force root The list of container names: [root] Error executing command: Container's lifecycle not managed by Fabric8 (the container was not created by Fabric8). shutdonw log on to 0.0.1.1 fabric:container-create-ssh --host 0.0.1.4 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.4 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver4 fabric:container-create-ssh --host 0.0.1.5 --user root --password redhat --zookeeper-password admin --jvm-opts="-Djava.rmi.server.hostname=0.0.1.5 -Daether.updateCheckManager.sessionState=bypass" --profile fabric fabricserver5 fabric:ensemble-add fabricserver4 fabricserver5 patch:add file:///root/jboss-fuse-full-6.2.1.redhat-090.zip fabric:version-create 1.1 patch:fabric-install --username admin --password admin --upload --version 1.1 jboss-fuse-full-6.2.1.redhat-090 patch:fabric-synchronize fabric:container-upgrade 1.1 fabricserver5 === fabricserver5 1.1 karaf yes fabric error - io.fabric8.patch.management.PatchException: Invalid ref name: baseline-ssh-fabric8-1.2.0.red ===

      Can't apply a patch to the fabric server after removing root container and adding 2 extra fabric servers.

      >fabric:container-upgrade 1.1 fabricserver5
      >container-list
       fabricserver5   1.1        karaf   yes          fabric                  error - io.fabric8.patch.management.PatchException: Invalid ref name: baseline-ssh-fabric8-1.2.0.red
      

              ggrzybek Grzegorz Grzybek
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: