karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoli Ding (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (KARAF-1349) Can not share new configuration between user defined groups which have common node
Date Wed, 11 Apr 2012 05:22:32 GMT

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

Xiaoli Ding edited comment on KARAF-1349 at 4/11/12 5:22 AM:
-------------------------------------------------------------

1.n1 and n2 in grp1,n2 and n3 in grp2. grp1 and grp2 has common node:n2. i excute 'config:edit
newPID' on n1,i expect n1 propagate event to grp1,n2 create this configuration and throw an
event to grp2 (as it also belongs to grp2. n3 also apply this change).

2.for your question:"Maybe the config sync is not enabled for grp2."?
when i create grp1 and grp2,i did not see the info about grp1 and grp2 in the file 'org.apache.karaf.cellar.groups.cfg',only
have info about default group.about this,have filed a bug:https://issues.apache.org/jira/browse/KARAF-1306.
so from myside,i hope would better to fix the 'KARAF-1306' first.
when i filed this bug:'KARAF-1349',i create grp1 and grp2,i did not add the 'config sync'
for grp2 manually.if there is no info about 'config sync' for grp2,it is enabled or not enabled
by default?

                
      was (Author: xlding):
    1.n1 and n2 in grp1,n2 and n3 in grp2.grp1 and grp2 has common node:n2.i excute 'config:edit
newPID' on n1,i expect this action broadcast to n2,then n2 broadcast it to n3.Expect a chain
modification.

2.for your question:"Maybe the config sync is not enabled for grp2."?
when i create grp1 and grp2,i did not see the info about grp1 and grp2 in the file 'org.apache.karaf.cellar.groups.cfg',only
have info about default group.about this,have filed a bug:https://issues.apache.org/jira/browse/KARAF-1306.
so from myside,i hope would better to fix the 'KARAF-1306' first.
when i filed this bug:'KARAF-1349',i create grp1 and grp2,i did not add the 'config sync'
for grp2 manually.if there is no info about 'config sync' for grp2,it is enabled or not enabled
by default?

                  
> Can not share new configuration between user defined groups which have common node
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-1349
>                 URL: https://issues.apache.org/jira/browse/KARAF-1349
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-config
>    Affects Versions: cellar-2.2.4
>            Reporter: Xiaoli Ding
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> 1.Start karaf and install cellar
> 2.using group-create,group-set command,at last have two groups: grp1: n1&n2; grp2:
n2&n3
> {panel} 
> karaf@trun> cluster:group-list
>   Node                 Group
>   xlding:5702          grp1
> * xlding:5701          grp1
>   xlding:5703          grp2
>   xlding:5702          grp2
> {panel}
> 3.on n1,
> {panel}
> karaf@trun> config:edit newPID
> karaf@trun> config:update
> {panel}
> 4.on n3,
> {panel}
> karaf@trun> cluster:config-list grp2
> {panel}
> can not output 'newPID' in the last step,it should output it.

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