Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1405

Can not update properties of configuraton using cluster command 'cluster:config-propset'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • cellar-2.2.3
    • cellar-3.0.0, cellar-2.2.4
    • cellar
    • None
    • Karaf-2.2.7-SNAPSHOT from 20120426

    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

      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

      3.on node1,update one property to 'false' by excute cluster commands

      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

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

      5.open file 'org.apache.karaf.cellar.groups.cfg' of node2 and node3,the property are also not updated.the properties still:

      default.features.sync=true

      for file 'org.apache.karaf.cellar.groups.cfg' of three nodes,now expect seeing the updated property:'default.features.sync=false'

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            xlding Xiaoli Ding
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: