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

[Patch mechanism] Patch uninstalls feature/bundle that was installed before applying patch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Karaf, Patching
    • None
    • % %
    • Hide
      1. start clean GA build (6.2.0-133)
      2. install feature/ bundle e.g. features:install camel-jclouds
      3. use the new patch mechanism described here : https://mojo.redhat.com/docs/DOC-1049758
      4. feature and bundle are not installed after patching
      Show
      start clean GA build (6.2.0-133) install feature/ bundle e.g. features:install camel-jclouds use the new patch mechanism described here : https://mojo.redhat.com/docs/DOC-1049758 feature and bundle are not installed after patching

    Description

      New patching mechanism forgets installed feature and bundle that were installed before applying patch.

      6.2 GA:

      JBossFuse:karaf@root> features:install camel-jclouds
      JBossFuse:karaf@root> list | grep jclouds
      [ 271] [Active     ] [            ] [       ] [   80] jclouds Components Core (1.8.1)
      [ 272] [Active     ] [            ] [       ] [   80] jclouds blobstore core (1.8.1)
      [ 273] [Active     ] [            ] [       ] [   80] jclouds script builder (1.8.1)
      [ 274] [Active     ] [            ] [       ] [   80] jclouds compute core (1.8.1)
      [ 275] [Active     ] [            ] [       ] [   50] camel-jclouds (2.15.1.redhat-620133)
      JBossFuse:karaf@root> features:list | grep camel-jclouds
      [installed  ] [2.15.1.redhat-620133 ] camel-jclouds                                 camel-2.15.1.redhat-620133      
      JBossFuse:karaf@root> osgi:install -s  mvn:org.apache.commons/commons-lang3/3.1 
      Bundle ID: 276
      JBossFuse:karaf@root> list | grep Lang
      [ 276] [Active     ] [            ] [       ] [   80] Commons Lang (3.1.0)
      

      After the patch is applied with all manual steps:

      JBossFuse:karaf@root> list | grep Lang
      JBossFuse:karaf@root> 
      
      JBossFuse:karaf@root> list | grep jclouds
      JBossFuse:karaf@root> 
      
      JBossFuse:karaf@root> features:list | grep camel-jclouds
      [uninstalled] [2.15.1.redhat-621043 ] camel-jclouds                                 camel-2.15.1.redhat-621043  
      

      This seems like a critical issue for the new patching mechanism

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              rjakubco Roman Jakubco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: