Sergiy Shyrkov created KARAF-4698:
-------------------------------------

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


My setup: two Karaf 4.0.6 + Cellar 4.0.1 (same with the latest 4.0.2-SNAPSHOT) 
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 cluster 
and thus the bundle is again installed across the cluster



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to