[
https://issues.apache.org/jira/browse/KARAF-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Meifang Shen updated KARAF-1330:
--------------------------------
Description:
h6.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.
{noformat}
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
{noformat}
was:
Note: You can either reproduce this issue according to those steps in the
comment or the following description.
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.
{noformat}
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
{noformat}
> "cluster:feature-uninstall" command only worked for current group but didn't
> work for other group
> -------------------------------------------------------------------------------------------------
>
> Key: KARAF-1330
> URL: https://issues.apache.org/jira/browse/KARAF-1330
> Project: Karaf
> Issue Type: Bug
> Components: cellar-features
> Affects Versions: cellar-2.2.4
> Reporter: Meifang Shen
> Assignee: Jean-Baptiste Onofré
>
> h6.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.
> {noformat}
> 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira