Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D496920C for ; Wed, 11 Apr 2012 05:22:55 +0000 (UTC) Received: (qmail 11983 invoked by uid 500); 11 Apr 2012 05:22:54 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 11947 invoked by uid 500); 11 Apr 2012 05:22:54 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 11939 invoked by uid 99); 11 Apr 2012 05:22:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 05:22:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 05:22:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5C336364474 for ; Wed, 11 Apr 2012 05:22:32 +0000 (UTC) Date: Wed, 11 Apr 2012 05:22:32 +0000 (UTC) From: "Xiaoli Ding (Issue Comment Edited) (JIRA)" To: issues@karaf.apache.org Message-ID: <596531250.11092.1334121752415.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <21094332.6960.1334053638419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (KARAF-1349) Can not share new configuration between user defined groups which have common node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-1349?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1325= 1262#comment-13251262 ]=20 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 cr= eate this configuration and throw an event to grp2 (as it also belongs to g= rp2. 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 t= he file 'org.apache.karaf.cellar.groups.cfg',only have info about default g= roup.about this,have filed a bug:https://issues.apache.org/jira/browse/KARA= F-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' fo= r grp2,it is enabled or not enabled by default? =20 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,th= en 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 t= he file 'org.apache.karaf.cellar.groups.cfg',only have info about default g= roup.about this,have filed a bug:https://issues.apache.org/jira/browse/KARA= F-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' fo= r grp2,it is enabled or not enabled by default? =20 > Can not share new configuration between user defined groups which have co= mmon 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=C3=A9 > 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}=20 > 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira