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

[Patch mechanism] Provision status freezes on installing when upgrading child container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate Issue
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.2.1
    • Component/s: Fabric8 v1, Patching
    • Labels:
      None
    • Environment:

      jdk1.7 / openjdk 1.7

    • Steps to Reproduce:
      Hide
      1. fabric:create --wait-for-provision
      2. container-create-child root testcontainer
      3. version-create 1.0.1
      4. profile-edit --repository mvn:io.fabric8.patch/patch-features/1.2.0.redhat-621071/xml/features default 1.0.1
      5. profile-edit --feature patch --feature patch-core default 1.0.1
      6. container-upgrade 1.0.1 root
      7. version-create 1.1
      8. patch:add file:/home/fuse/jboss-fuse-full-6.2.1.redhat-071.zip
      9. patch:fabric-install --upload --username admin --password admin --version 1.1 jboss-fuse-full-6.2.1.redhat-071
      10. container-upgrade 1.1 testcontainer
      Show
      fabric:create --wait-for-provision container-create-child root testcontainer version-create 1.0.1 profile-edit --repository mvn:io.fabric8.patch/patch-features/1.2.0.redhat-621071/xml/features default 1.0.1 profile-edit --feature patch --feature patch-core default 1.0.1 container-upgrade 1.0.1 root version-create 1.1 patch:add file:/home/fuse/jboss-fuse-full-6.2.1.redhat-071.zip patch:fabric-install --upload --username admin --password admin --version 1.1 jboss-fuse-full-6.2.1.redhat-071 container-upgrade 1.1 testcontainer

      Description

      I have a small problem when upgrading child container from GA to build 071. The I tried it on my machine and also on RHEL7 on openstack and it always hangs on installing provision status.

      First I was adding the patch mechanism on default version 1.0 which was also reproduced to child container so I thought it could be a problem. After the meeting I tried it with your approach with separate version with added patch feature but the problem remains.

      JBossFuse:karaf@root> container-list
      [id]             [version]  [type]  [connected]  [profiles]              [provision status]
      root*            1.0.1      karaf   yes          fabric                  success           
                                                       fabric-ensemble-0000-1                    
                                                       jboss-fuse-full                           
        testcontainer  1.1        karaf   yes          default                 installing  
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  grgrzybek Grzegorz Grzybek
                  Reporter:
                  rjakubco Roman Jakubco
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: