karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'
Date Mon, 30 Apr 2012 19:41:48 GMT

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

Jean-Baptiste Onofré commented on KARAF-1405:
---------------------------------------------

I reproduced the issue even locally. The config distributed map is updated, but the synchronizer
doesn't update the local config layer.

I'm digging.
                
> Can not update properties of configuraton  using cluster command 'cluster:config-propset'
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-1405
>                 URL: https://issues.apache.org/jira/browse/KARAF-1405
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-config
>    Affects Versions: cellar-2.2.3
>         Environment: Karaf-2.2.7-SNAPSHOT from 20120426
>            Reporter: Xiaoli Ding
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> 1.Start three Karaf and install cellar on three karaf
> now there are three node(node1,node2 and node3) on default group
> 2.using default properties of org.apache.karaf.cellar.groups.cfg for these three karaf
> {panel}
> default.config.whitelist.inbound=*
> default.config.whitelist.outbound=*
> default.config.blacklist.inbound=org.apache.cxf.dosgi.discovery.zookeeper.server,org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management,org.ops4j.pax.web,org.talend.esb.locator,org.apache.karaf.shell,org.talend.remote.jobserver.server
> default.config.blacklist.outbound=org.apache.cxf.dosgi.discovery.zookeeper.server,org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management,org.ops4j.pax.web,org.talend.esb.locator,org.apache.karaf.shell,org.talend.remote.jobserver.server
> default.config.sync=true
> default.features.whitelist.inbound=*
> default.features.whitelist.outbound=*
> default.features.blacklist.inbound=cellar,jetty,http,tesb-locator-client,tesb-sam-server,tesb-derby-starter
> default.features.blacklist.outbound=cellar,jetty,http,tesb-locator-client,tesb-sam-server,tesb-derby-starter
> default.features.sync=true
> default.features.repositories.sync=true
> {panel}
> 3.on node1,update one property to 'false' by excute  cluster commands
> {panel}
> karaf@trun> cluster:config-propset default org.apache.karaf.cellar.groups default.features.sync
false
> karaf@trun> cluster:config-proplist default org.apache.karaf.cellar.groups
> Property list for configuration PID org.apache.karaf.cellar.groups for group default
> Key                                      Value
> default.features.sync                    false
> {panel}
> 4.go to etc folder,open file 'org.apache.karaf.cellar.groups.cfg' of node1,the property
is not updated.the properties still:
> {panel}
> default.features.sync=true
> {panel}
> 5.open file 'org.apache.karaf.cellar.groups.cfg' of node2 and node3,the property are
also not updated.the properties still:
> {panel}
> default.features.sync=true
> {panel}
> for file 'org.apache.karaf.cellar.groups.cfg' of three nodes,now expect seeing the updated
property:'default.features.sync=false'

--
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

       

Mime
View raw message