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

[Patch mechanism] Unable to rollback root container to GA from 069 patch with created child container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Blocker
    • None
    • jboss-fuse-6.2.1
    • Fabric8 v1, Patching
    • None
    • % %
    • Hide
      1. fabric:create (GA)
      2. install the patching mechanism for build nr. 69, using steps provided in : https://mojo.redhat.com/docs/DOC-1049758 (Patch is applied to version 1.1)
      3. container-upgrade 1.1 root
      4. container-create-child --version 1.1 root testcontainer
      5. containe-rollback 1.0 root
      Show
      fabric:create (GA) install the patching mechanism for build nr. 69, using steps provided in : https://mojo.redhat.com/docs/DOC-1049758 (Patch is applied to version 1.1) container-upgrade 1.1 root container-create-child --version 1.1 root testcontainer containe-rollback 1.0 root

    Description

      Unable to rollback root container to GA with applied patch 069 using the new patch mechanism. The root have one child container that is already patched to 069 (version 1.1). Rollback of root container throws exception and then freezes.

      JBossFuse:karaf@root> container-list
      [id]     [version]  [type]  [connected]  [profiles]              [provision status]
      root*    1.1        karaf   yes          fabric                  success           
                                               fabric-ensemble-0000-1                    
                                               jboss-fuse-full                           
        test9  1.1        karaf   yes          default                 success         
      JBossFuse:karaf@root> container-rollback 1.0 root 
      Rolled back container root from version 1.1 to 1.0
      JBossFuse:karaf@root> co
      Please wait while JBoss Fuse is loading...
      [PATCH] Storing user changes
      Problem with applying the change 9c07232ed4ce881e6c7d4b10dd5e98fb905d94d0:
       - etc/config.properties (BOTH_MODIFIED): Choosing change from patch
      [PATCH] Container has to be restarted. Please restart after agent finishes processing...
      [PATCH] INITIALIZING PATCH MANAGEMENT SYSTEM
      
            _ ____                  ______
           | |  _ \                |  ____|             
           | | |_) | ___  ___ ___  | |__ _   _ ___  ___
       _   | |  _ < / _ \/ __/ __| |  __| | | / __|/ _ \
      | |__| | |_) | (_) \__ \__ \ | |  | |_| \__ \  __/
       \____/|____/ \___/|___/___/ |_|   \__,_|___/\___|
      
        JBoss Fuse (6.2.1.redhat-069)
        http://www.redhat.com/products/jbossenterprisemiddleware/fuse/
      
      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      
      Open a browser to http://localhost:8181 to access the management console
      
      Create a new Fabric via 'fabric:create'
      or join an existing Fabric via 'fabric:join [someUrls]'
      
      Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown JBoss Fuse.
      
      JBossFuse:karaf@root> 
      JBossFuse:karaf@root> 
      JBossFuse:karaf@root> 
      JBossFuse:karaf@root> container-list
      Command not found: container-list
      JBossFuse:karaf@root> 
      
      
      io.fabric8.fabric-agent[io.fabric8.agent.DeploymentAgent] : Unable to update agent
      java.lang.IllegalStateException: Configuration Admin service has been unregistered
      	at org.apache.felix.cm.impl.ConfigurationAdminImpl.getConfigurationManager(ConfigurationAdminImpl.java:300)
      	at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:179)
      	at io.fabric8.agent.service.FeatureConfigInstaller.findExistingConfiguration(FeatureConfigInstaller.java:80)
      	at io.fabric8.agent.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:91)
      	at io.fabric8.agent.service.Agent$BaseDeployCallback.installFeatureConfigs(Agent.java:416)
      	at io.fabric8.agent.service.Deployer.deploy(Deployer.java:767)
      	at io.fabric8.agent.service.Agent.provision(Agent.java:348)
      	at io.fabric8.agent.service.Agent.provision(Agent.java:194)
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:642)
      	at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:256)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      Container and fabric work after the killing the root container and starting it again.

      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                           
        test9  1.1        karaf   no           default                 success    
      

      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: