karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoli Ding (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'
Date Thu, 26 Apr 2012 09:47:17 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoli Ding updated KARAF-1405:
-------------------------------

    Description: 
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.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'


  was:

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,excute the following 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.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'


    
> 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: 2.2.4
>         Environment: Karaf-2.2.7-SNAPSHOT from 20120426
>            Reporter: Xiaoli Ding
>
> 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.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