You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Xiaoli Ding (JIRA)" <ji...@apache.org> on 2012/04/26 11:45:18 UTC

[jira] [Created] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Xiaoli Ding created KARAF-1405:
----------------------------------

             Summary: 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,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'


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

        

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271316#comment-13271316 ] 

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

karaf@root> config:list "(service.pid=org.apache.karaf.cellar.groups)"
----------------------------------------------------------------
Pid:            org.apache.karaf.cellar.groups
BundleLocation: mvn:com.hazelcast/hazelcast/1.9.4.8
Properties:
...
   default.features.sync = true
...
karaf@root> cluster:config-propset default org.apache.karaf.cellar.groups default.features.sync false
karaf@root> 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
...
karaf@root> config:list "(service.pid=org.apache.karaf.cellar.groups)"
----------------------------------------------------------------
Pid:            org.apache.karaf.cellar.groups
BundleLocation: mvn:com.hazelcast/hazelcast/1.9.4.8
Properties:
...
   default.features.sync = false
...

I checked in the etc/org.apache.karaf.cellar.groups.cfg file, the value changed as well.

Don't use a Karaf 2.2.6 version ?
                
> 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

       

[jira] [Resolved] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1405.
-----------------------------------------

    Resolution: Fixed
    
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265677#comment-13265677 ] 

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

OK, the cluster event is not sent by the commands (using an event producer). I fix that.
                
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265695#comment-13265695 ] 

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

New pid are correctly added into the local config admin instance, but the existing one are not updated.
                
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272529#comment-13272529 ] 

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

Yes, but previously (in the latest SNAPSHOT), the cluster:* commands and MBeans did check if a PID was allowed outbound (only the handler inbound).

I made the fix today, I'm deploying a new SNAPSHOT.
                
> 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

       

[jira] [Reopened] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Xiaoli Ding (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoli Ding reopened KARAF-1405:
--------------------------------


on node1,after excute:
{panel}
karaf@trun> cluster:config-propset default org.apache.karaf.cellar.groups default.features.sync false
{panel}
then  go to etc folder,open file 'org.apache.karaf.cellar.groups.cfg' of node1,the property is not updated.the properties still:

default.features.sync=true
                
> 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

       

[jira] [Updated] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Xiaoli Ding (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Xiaoli Ding (JIRA)" <ji...@apache.org>.
     [ 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.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'


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


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

        

[jira] [Resolved] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1405.
-----------------------------------------

    Resolution: Fixed
    
> 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

       

[jira] [Resolved] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1405.
-----------------------------------------

    Resolution: Fixed
    
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271309#comment-13271309 ] 

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

Let me check. I made the test before (maybe it's not the updated SNAPSHOT).
                
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265894#comment-13265894 ] 

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

OK found the issue. There is a method to check if the distributed configuration differs from the local one, but it doesn't detect the change.

More other the filtered properties don't make sense. I try to remove both.
                
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272533#comment-13272533 ] 

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

WARNING, I updated the default blacklist/whitelist set on config:

default.config.whitelist.inbound=*
default.config.whitelist.outbound=*
default.config.blacklist.inbound=org.apache.karaf.cellar.node, \
                                 org.apache.karaf.management, \
                                 org.apache.karaf.shell, \
                                 org.ops4j.pax.logging
default.config.blacklist.outbound=org.apache.karaf.cellar.node, \
                                 org.apache.karaf.management, \
                                 org.apache.karaf.shell, \
                                 org.ops4j.pax.logging

So org.apache.karaf.cellar.group is not blacklisted.
                
> 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

       

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Georg-Victor Voutsinos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272431#comment-13272431 ] 

Georg-Victor Voutsinos commented on KARAF-1405:
-----------------------------------------------

org.apache.karaf.cellar.groups is blacklisted. Based on this configuration it can't be synced.
                
> 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

       

[jira] [Updated] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1405:
----------------------------------------

    Affects Version/s:     (was: 2.2.4)
                       cellar-2.2.3
        Fix Version/s: cellar-2.2.4
                       cellar-3.0.0
             Assignee: Jean-Baptiste Onofré
    
> 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