Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1330

"cluster:feature-uninstall" command only worked for current group but didn't work for other group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • cellar-2.2.3
    • cellar-3.0.0, cellar-2.2.4
    • cellar
    • None

    Description

      Note:

      You can either reproduce this issue according to those steps in the comment or the following description.
      It will be simple using those steps in the comment.

      ------------
      There are three cluster nodes in default group, also there is an user defined group "testGrp" and no node in it.

      When use karaf command or cluster command to uninstall feature, both are ok for the current group "default", But use cluster command to uninstall feature in the group "testGrp", it failed, feature couldn't be uninstalled.

      Vice versa, all three cluster nodes are in group "testGrp", no node in default group.

      Please have a look at those below commands.

       
      karaf@trun> cluster:group-create testGrp
      Name                 testGrp
      Nodes                []
      
      karaf@trun> cluster:group-pick default testGrp
        Node                 Group
                             default
        TALENDSSHEN:5703     testGrp
      * TALENDSSHEN:5701     testGrp
        TALENDSSHEN:5702     testGrp
      
      karaf@trun> cluster:group-pick testGrp default
      
      karaf@trun> cluster:group-list
        Node                 Group
        TALENDSSHEN:5703     default
      * TALENDSSHEN:5701     default
        TALENDSSHEN:5702     default
      		       testGrp
       
      karaf@trun> features:uninstall tesb-zookeeper
      karaf@trun> feature-list default
      tesb-zookeeper    5.1.0-SNAPSHOT    false
       
      karaf@trun> feature-uninstall default activemq
      karaf@trun> feature-list default
      activemq    5.5.0    false
      
      karaf@trun> feature-uninstall testGrp activemq
      karaf@trun> feature-list testGrp
      activemq    5.5.0    true
      

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            mfshen Meifang Shen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: