karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Kindler (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-1486) When a new member enters a custom group, it does not install the features that should be installed in that group
Date Tue, 26 Nov 2013 08:58:36 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832418#comment-13832418
] 

Jürgen Kindler edited comment on KARAF-1486 at 11/26/13 8:57 AM:
-----------------------------------------------------------------

With cellar 2.3.2 I am able to reproduce this:
{panel:title=Instance 1}
karaf@trun> cluster:group-list
   Group                  Members
  [default             ] [localhost:5703 ]
\* [hobbingen           ] [localhost:5702 localhost:5701\* ]
karaf@trun> features:install eventadmin
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[installed  ] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> 
{panel}

{panel:title=Instance 2}
karaf@trun> cluster:group-list 
   Group                  Members
  [default             ] [localhost:5703 ]
\* [hobbingen           ] [localhost:5702\* localhost:5701 ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[installed  ] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> 
{panel}

{panel:title=Instance 3}
karaf@trun> cluster:group-list
   Group                  Members
\* [default             ] [localhost:5703\* ]
  [hobbingen           ] [localhost:5702 localhost:5701 ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> cluster:group-set hobbingen
   Group                  Members
  [default             ] []
\* [hobbingen           ] [localhost:5703\* localhost:5702 localhost:5701 ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> 
{panel}


was (Author: jkindler):
With cellar 2.3.2 I am able to reproduce this:
{panel:title=Instance 1}
karaf@trun> cluster:group-list
   Group                  Members
  [default             ] [localhost:5703 ]
\* [hobbingen           ] [localhost:5702 localhost:5701\* ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[installed  ] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> 
{panel}

{panel:title=Instance 2}
karaf@trun> cluster:group-list 
   Group                  Members
  [default             ] [localhost:5703 ]
\* [hobbingen           ] [localhost:5702\* localhost:5701 ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[installed  ] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> 
{panel}

{panel:title=Instance 3}
karaf@trun> cluster:group-list
   Group                  Members
\* [default             ] [localhost:5703\* ]
  [hobbingen           ] [localhost:5702 localhost:5701 ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> cluster:group-set hobbingen
   Group                  Members
  [default             ] []
\* [hobbingen           ] [localhost:5703\* localhost:5702 localhost:5701 ]
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> features:list | grep eventadmin
[uninstalled] [2.3.2           ] cellar-eventadmin                       karaf-cellar-2.3.2
               OSGi events broadcasting in clusters
[uninstalled] [2.3.3           ] eventadmin                              karaf-2.3.3     
                 OSGi Event Admin service specification for event-based communication
[uninstalled] [2.12.1          ] camel-eventadmin                        camel-2.12.1    
                 
karaf@trun> 
{panel}

> When a new member enters a custom group, it does not install the features that should
be installed in that group
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1486
>                 URL: https://issues.apache.org/jira/browse/KARAF-1486
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jürgen Kindler
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.3.0, cellar-2.2.6
>
>
> I would have expected that on node 3 the feature "guice" would automatically installed
as soon as node 3 enters the group hasikasi.
> {panel:title=Node1}
> (1) karaf@trun> cluster:group-list
>    Group                  Members
> * [hasikasi            ] [localhost:5702 localhost:5701* ]
>   [default             ] [localhost:5703 ]
> (4) karaf@trun> features:install guice
> (5) karaf@trun> features:list | grep guice
> [uninstalled] [1.3.2_3        ] jclouds-guice                         jclouds-1.3.2_3
            Jclouds - Google Guice
> [installed  ] [3.0            ] guice                                 jclouds-1.3.1 
             Google Guice
> [uninstalled] [2.9.2          ] camel-guice                           camel-2.9.2   
             
> karaf@trun> 
> {panel}
> {panel:title=Node2}
> (2) karaf@trun> cluster:group-list;
>    Group                  Members
> * [hasikasi            ] [localhost:5702* localhost:5701 ]
>   [default             ] [localhost:5703 ]
> (6) karaf@trun> features:list | grep guice
> [uninstalled] [1.3.2_3        ] jclouds-guice                         jclouds-1.3.2_3
            Jclouds - Google Guice
> [installed  ] [3.0            ] guice                                 jclouds-1.3.1 
             Google Guice
> [uninstalled] [2.9.2          ] camel-guice                           camel-2.9.2   
             
> karaf@trun> 
> {panel}
> {panel:title=Node3}
> (3) karaf@trun> cluster:group-list
>    Group                  Members
>   [hasikasi            ] [localhost:5702 localhost:5701 ]
> * [default             ] [localhost:5703* ]
> (7) karaf@trun> cluster:group-set hasikasi
>    Group                  Members
> * [hasikasi            ] [localhost:5703* localhost:5702 localhost:5701 ]
>   [default             ] []
> (8) karaf@trun> features:list | grep guice
> [uninstalled] [1.3.2_3        ] jclouds-guice                         jclouds-1.3.2_3
            Jclouds - Google Guice
> [uninstalled] [3.0            ] guice                                 jclouds-1.3.1 
             Google Guice
> [uninstalled] [2.9.2          ] camel-guice                           camel-2.9.2   
             
> ((waited a bit) ... 9) karaf@trun> features:list | grep guice
> [uninstalled] [1.3.2_3        ] jclouds-guice                         jclouds-1.3.2_3
            Jclouds - Google Guice
> [uninstalled] [3.0            ] guice                                 jclouds-1.3.1 
             Google Guice
> [uninstalled] [2.9.2          ] camel-guice                           camel-2.9.2   
             
> karaf@trun> 
> {panel}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message