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

[Patch mechanism] Upgrading child container reverts user.properties to karaf default version

    XMLWordPrintable

Details

    • % %
    • Hide
      1. add admin user to user.properties to
      2. start GA
      3. fabric:create
      4. container-create-child root testcontainer
      5. add new patch mechanism + install patch to new version
      6. patch:fabric-synchronize
      7. upgrade root
      8. upgrade testcontainer
      9. container-connect testcontainer (doesn't work with admin/admin)
      10. also check FUSE_HOME/instances/testcontainer/etc/user.properties
      Show
      add admin user to user.properties to start GA fabric:create container-create-child root testcontainer add new patch mechanism + install patch to new version patch:fabric-synchronize upgrade root upgrade testcontainer container-connect testcontainer (doesn't work with admin/admin) also check FUSE_HOME/instances/testcontainer/etc/user.properties

    Description

      Starting Fuse GA with modified user.properties and creating fabric with child container, you are able to connect to child container using admin/admin.

      admin=admin,admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
      

      After installing patch with new patch mechanism, upgrading root container and then child containers, you are still able to connect to child container using admin/admin.

      But if you call patch:fabric-synchronize before the upgrade root and child then after upgrade the child container has user.properties like this:

      karaf = karaf,_g_:admingroup
      _g_\:admingroup = group,admin,manager,viewer,webconsole
      

      So it is logical that connecting to this child container doesn't work anymore with admin/admin but only with karaf/karaf.

      I am not sure if this really blocker because the fabric environment is working without problem and both containers have new versions of bundles. It is just strange behavior that can cause problems to customer so for now I created it as blocker. Your opinions?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: