Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cellar-2.2.3
-
None
Description
About the configuration of the PID(org.apache.karaf.cellar.groups) as follows:
default.config.whitelist.inbound=* default.config.whitelist.outbound=* default.config.blacklist.inbound=org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management default.config.blacklist.outbound=org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management default.config.sync=true default.features.whitelist.inbound=* default.features.whitelist.outbound=* default.features.blacklist.inbound=cellar,jetty,http default.features.blacklist.outbound =cellar,jetty,http default.features.sync=true default.features.repositories.sync=true default.bundle.whitelist.inbound=none default.bundle.whitelist.outbound=none default.bundle.sync=false default.obr.urls.sync=true default.obr.bundles.sync=true
Please note: the pid "org.apache.karaf.cellar.groups" is in blacklist.
Locally there are three karaf instances(node1, node2, node3), all are installed the feature cellar.
(1)would like to test this property "default.features.blacklist.inbound".
Expect that blacklist inbound works as below:
=> one node1 has feature("eventadmin") in blacklist inbound, node2 and node3 have not..., node2 installs feature, node3 gets synchronized, node1 not...
When execute the below command on node1 manually:
config:edit org.apache.karaf.cellar.groups; config:propappend default.features.blacklist.inbound ,eventadmin; config:update
Then sometimes changed this pid configuration on node1, but often changed this pid configuration on node2 or node3.
It seems that the configuration of this pid org.apache.karaf.cellar.groups can be synchronized.
(2)would like to test this property "default.features.blacklist.outbound".
Expect that blacklist outbound works as below:
=> one node1 has feature in blacklist outbound, all others have not... if node1 installs blacklisted feature, it shall not be synchronized.
Execute the below command on node1 manually:
config:edit org.apache.karaf.cellar.groups; config:propappend default.features.blacklist.outbound ,eventadmin; config:update
Then same as the above case. should only the configuration on node1 can be changed, however often node1 not changed but node2 or node3 would be changed.
(3) If firstly changed the above configuration(blacklist.outbound or blacklist.inbound) manually not use the above command, then start three karaf instances, then it worked as expected.