Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 079D8200B89 for ; Tue, 6 Sep 2016 10:14:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0659F160AAD; Tue, 6 Sep 2016 08:14:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 56D2A160ABF for ; Tue, 6 Sep 2016 10:14:22 +0200 (CEST) Received: (qmail 78742 invoked by uid 500); 6 Sep 2016 08:14:21 -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 78680 invoked by uid 99); 6 Sep 2016 08:14:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 08:14:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1AD9D2C1B81 for ; Tue, 6 Sep 2016 08:14:21 +0000 (UTC) Date: Tue, 6 Sep 2016 08:14:21 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4698) Cellar handling of cluster:bundle-uninstall when one of the cluster nodes is offline MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Sep 2016 08:14:23 -0000 [ https://issues.apache.org/jira/browse/KARAF-4698?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1546= 6782#comment-15466782 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-4698: --------------------------------------------- Do you use the "cluster" sync policy ? If yes, then it has to be fixed on t= he synchonizer. > Cellar handling of cluster:bundle-uninstall when one of the cluster nodes= is offline > -------------------------------------------------------------------------= ----------- > > Key: KARAF-4698 > URL: https://issues.apache.org/jira/browse/KARAF-4698 > Project: Karaf > Issue Type: Bug > Components: cellar-bundle > Affects Versions: cellar-4.0.1 > Reporter: Sergiy Shyrkov > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: cellar-4.0.2 > > > My setup: two Karaf 4.0.6 + Cellar 4.0.1 (same with the latest 4.0.2-SNAP= SHOT) instances, say "root" and "child" > Scenario: > 1) Both instances are started > 2) Install and start say commons-math bundle in cluster > {{cluster:bundle-install -s default mvn:org.apache.commons/commons-math/2= .2}} > 3) The state of the bundle on both nodes is correct: Active > {{cluster:bundle-list default | grep 'Commons Math'}} > 4) I stop the second instance > {{instance:stop child}} > 5) Uninstall commons-math from cluster > {{cluster:bundle-uninstall default commons-math/2.2}} > 6) Start child instance > {{instance:start child}} > On startup of the child instance it "pushes" the commons-math to the clus= ter and thus the bundle is again installed across the cluster -- This message was sent by Atlassian JIRA (v6.3.4#6332)