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

[Patch mechanism] Unexpected output from patch mechanism in full build

    XMLWordPrintable

Details

    • % %
      1. start fuse 6.2.1-070
      2. fabric:create
      3. start other fuse and use fabric:join to connect
      4. output was in root container

    Description

      When testing fabric join commands on 6.2.1 full build I got some unexpected output from patching mechanism even through I didn't do anything with patch in general. I was connecting container to fabric via fabric:join command and then I got this on root container:

      JBossFuse:karaf@root> container-info
      Name:                          root
      Version:                       1.0
      Connected:                     true
      Type:                          karaf
      Root:                          true
      Ensemble Server:               true
      Managed:                       true
      Process ID:                    21227
      Resolver:                      localhostname
      Network Address:               rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e
      Local Network Address:         172.16.116.13
      Public Network Address:        
      Local Hostname:                rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e
      Public Hostname:               
      SSH Url:                       rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e:8101
      JMX Url:                       service:jmx:rmi://rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e:44444/jndi/rmi://rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e:1099/karaf-root
      Http Url:                      http://rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e:8181
      Jolokia Url:                   http://rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e:8181/jolokia
      Blueprint Status:              started
      Provision Status:              success
      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                                      
      simple-join-localhostname  1.0        karaf   yes          fabric                  finalizing (starting bundles)
      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                           
      simple-join-localhostname  1.0        karaf   yes          fabric                  success           
      JBossFuse:karaf@root> PATCH] No user changes
      [PATCH] Container has to be restarted. Please restart after agent finishes processing...
      
      JBossFuse:karaf@root> 
      

      And here is the log:

      2015-11-03 06:25:15,529 | INFO  | pool-21-thread-1 | GitDataStoreImpl                 | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Remote url change from: http://rjakubco-join-4faac6dc-70b1-4fe2-b30c-12a61603142e:8181/git/fabric/ to: http://rjakubco-join-947b7c33-edc7-455d-9120-9cbd010c39db:8181/git/fabric/
      2015-11-03 06:25:15,537 | INFO  | pool-3-thread-3  | HttpServiceFactoryImpl           | 103 - org.ops4j.pax.web.pax-web-runtime - 3.2.5 | Binding bundle: [io.hawt.hawtio-karaf-terminal [254]] to http service
      2015-11-03 06:25:15,549 | INFO  | pool-3-thread-3  | ConfigManager                    | 254 - io.hawt.hawtio-karaf-terminal - 1.4.0.redhat-621070 | Configuration will be discovered via system properties
      2015-11-03 06:25:15,549 | INFO  | pool-3-thread-3  | AuthenticationFilter             | 254 - io.hawt.hawtio-karaf-terminal - 1.4.0.redhat-621070 | Starting hawtio authentication filter, JAAS realm: "karaf" authorized role(s): "admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser" role principal classes: "org.apache.karaf.jaas.boot.principal.RolePrincipal,org.apache.karaf.jaas.modules.RolePrincipal,org.apache.karaf.jaas.boot.principal.GroupPrincipal"
      2015-11-03 06:25:15,553 | INFO  | pool-3-thread-3  | LoginServlet                     | 254 - io.hawt.hawtio-karaf-terminal - 1.4.0.redhat-621070 | hawtio login is using 1800 sec. HttpSession timeout
      2015-11-03 06:25:15,558 | INFO  | pool-21-thread-1 | DefaultPullPushPolicy            | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Performing a pull on remote URL: http://rjakubco-join-947b7c33-edc7-455d-9120-9cbd010c39db:8181/git/fabric/
      2015-11-03 06:25:15,660 | INFO  | xFrameworkWiring | BlueprintExtender                | 23 - org.apache.aries.blueprint.core - 1.4.4 | Destroying BlueprintContainer for bundle org.apache.karaf.shell.ssh/2.4.0.redhat-621070
      2015-11-03 06:25:15,928 | INFO  | pool-21-thread-1 | DefaultPullPushPolicy            | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Pull result: [localUpdate=[],remoteUpdate=true,versions=[1.0, master],error=null]
      2015-11-03 06:25:15,928 | INFO  | pool-21-thread-1 | DefaultPullPushPolicy            | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Pushing last change to: http://rjakubco-join-947b7c33-edc7-455d-9120-9cbd010c39db:8181/git/fabric/
      2015-11-03 06:25:16,074 | INFO  | xFrameworkWiring | BlueprintExtender                | 23 - org.apache.aries.blueprint.core - 1.4.4 | Destroying BlueprintContainer for bundle org.apache.camel.karaf.camel-karaf-commands/2.15.1.redhat-621070
      2015-11-03 06:25:16,186 | INFO  | xFrameworkWiring | BlueprintExtender                | 23 - org.apache.aries.blueprint.core - 1.4.4 | Destroying BlueprintContainer for bundle activemq-karaf/5.11.0.redhat-621070
      2015-11-03 06:25:16,403 | INFO  | xFrameworkWiring | BlueprintExtender                | 23 - org.apache.aries.blueprint.core - 1.4.4 | Destroying BlueprintContainer for bundle org.apache.karaf.features.command/2.4.0.redhat-621070
      2015-11-03 06:25:16,689 | INFO  | 1.redhat-070/etc | fileinstall                      | 9 - org.apache.felix.fileinstall - 3.5.0 | Updating bundle auth / 0.0.0
      2015-11-03 06:25:16,723 | INFO  | xFrameworkWiring | BlueprintExtender                | 23 - org.apache.aries.blueprint.core - 1.4.4 | Destroying BlueprintContainer for bundle org.apache.karaf.shell.config/2.4.0.redhat-621070
      2015-11-03 06:25:16,875 | INFO  | 1.redhat-070/etc | fileinstall                      | 9 - org.apache.felix.fileinstall - 3.5.0 | Started bundle: wrap:jardir:/home/fuse/jboss-fuse-6.2.1.redhat-070/etc/auth$Bundle-SymbolicName=auth&Bundle-Version=0.0.0
      2015-11-03 06:25:17,359 | INFO  | pool-21-thread-1 | DefaultPullPushPolicy            | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Push result: [accepted=7,rejected=0,error=null]
      2015-11-03 06:25:17,364 | INFO  | pool-21-thread-1 | DefaultPullPushPolicy            | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Performing a pull on remote URL: http://rjakubco-join-947b7c33-edc7-455d-9120-9cbd010c39db:8181/git/fabric/
      2015-11-03 06:25:17,369 | INFO  | pool-3-thread-3  | HttpServiceFactoryImpl           | 103 - org.ops4j.pax.web.pax-web-runtime - 3.2.5 | Binding bundle: [io.fabric8.fabric-maven-proxy [112]] to http service
      2015-11-03 06:25:17,425 | INFO  | pool-21-thread-1 | DefaultPullPushPolicy            | 83 - io.fabric8.fabric-git - 1.2.0.redhat-621070 | Pull result: [localUpdate=[],remoteUpdate=false,versions=[1.0, master, patches-child, patches-root-amq, patches-root-fuse, patches-ssh-fabric8, patches-ssh-fuse],error=null]
      2015-11-03 06:25:17,456 | INFO  | pool-3-thread-3  | HttpServiceFactoryImpl           | 103 - org.ops4j.pax.web.pax-web-runtime - 3.2.5 | Binding bundle: [io.fabric8.fabric-git-server [105]] to http service
      2015-11-03 06:25:17,463 | INFO  | pool-3-thread-3  | HttpServiceFactoryImpl           | 103 - org.ops4j.pax.web.pax-web-runtime - 3.2.5 | Binding bundle: [io.hawt.hawtio-redhat-fuse-branding [261]] to http service
      2015-11-03 06:25:17,486 | INFO  | pool-3-thread-3  | PluginContextListener            | 261 - io.hawt.hawtio-redhat-fuse-branding - 1.4.0.redhat-621070 | Initialized hawtio-redhat-fuse-branding plugin
      

      Is this normal and expected? I didn't patch fuse just started full build. And the message is also little bit unclear if this is expected because if you just connected a new container then you don't know which container needs to be restarted.

      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: