Re: Karaf Cellar cluster bundle update propagation
Thank you! Sent from my iPhone > On Jul 25, 2018, at 3:15 PM, Jean-Baptiste Onofré wrote: > > Thanks for the update, I will test and prepare Cellar 4.1.2 once Karaf > "Container" 4.2.1 is out. > > Regards > JB > >> On 25/07/2018 19:03, Oleg Cohen wrote: >> Hi JB, >> >> Just replied to your previous email. >> >> I think the latest versions, Karaf 4.2.0 and Cellar 4.1.1 >> >> Thank you! >> Oleg >> >>> On Jul 25, 2018, at 10:42 AM, j...@nanthrax.net wrote: >>> >>> Hi Oleg, >>> >>> which Cellar version are you using (and Karaf version as well) ? >>> >>> Bundle update is handled in the Cellar BundleEventHandler: >>> >>> (event.getType() == BundleState.UPDATE) >>> >>> The problem is then probably located in the BundleSupport#update() method: >>> >>> https://github.com/apache/karaf-cellar/blob/master/bundle/src/main/java/org/apache/karaf/cellar/bundle/BundleSupport.java#L130 >>> >>> Let me try to reproduce. I keep you posted. >>> >>> Regards >>> JB >>> On Wednesday, July 25, 2018 15:57 CEST, Oleg Cohen wrote: Greetings, I have a question about how bundle update is handled across a Cellar cluster. I have three nodes in a Cellar cluster. When I cluster-deploy a bundle on node1 from a Maven repo, it gets correctly and successfully deployed onto node2 and node3. Later on, I call cluster:bundle-update XXX on node1 and it gets updated correctly on node1, but the update isn’t automatically propagated to nodes 2 and 3. Is this an expected behavior? Would appreciation clarification/advice! Best, Oleg >>> >>> >>> >>> >> > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com
Re: Karaf Cellar cluster bundle update propagation
Thanks for the update, I will test and prepare Cellar 4.1.2 once Karaf "Container" 4.2.1 is out. Regards JB On 25/07/2018 19:03, Oleg Cohen wrote: > Hi JB, > > Just replied to your previous email. > > I think the latest versions, Karaf 4.2.0 and Cellar 4.1.1 > > Thank you! > Oleg > >> On Jul 25, 2018, at 10:42 AM, j...@nanthrax.net wrote: >> >> Hi Oleg, >> >> which Cellar version are you using (and Karaf version as well) ? >> >> Bundle update is handled in the Cellar BundleEventHandler: >> >> (event.getType() == BundleState.UPDATE) >> >> The problem is then probably located in the BundleSupport#update() method: >> >> https://github.com/apache/karaf-cellar/blob/master/bundle/src/main/java/org/apache/karaf/cellar/bundle/BundleSupport.java#L130 >> >> Let me try to reproduce. I keep you posted. >> >> Regards >> JB >> >> On Wednesday, July 25, 2018 15:57 CEST, Oleg Cohen >> wrote: >> >>> >>> Greetings, >>> >>> I have a question about how bundle update is handled across a Cellar >>> cluster. >>> >>> I have three nodes in a Cellar cluster. When I cluster-deploy a bundle on >>> node1 from a Maven repo, it gets correctly and successfully deployed onto >>> node2 and node3. >>> >>> Later on, I call cluster:bundle-update XXX on node1 and it gets updated >>> correctly on node1, but the update isn’t automatically propagated to nodes >>> 2 and 3. Is this an expected behavior? >>> >>> Would appreciation clarification/advice! >>> >>> Best, >>> Oleg >>> >> >> >> >> > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Karaf Cellar cluster bundle update propagation
Hi JB, Just replied to your previous email. I think the latest versions, Karaf 4.2.0 and Cellar 4.1.1 Thank you! Oleg > On Jul 25, 2018, at 10:42 AM, j...@nanthrax.net wrote: > > Hi Oleg, > > which Cellar version are you using (and Karaf version as well) ? > > Bundle update is handled in the Cellar BundleEventHandler: > > (event.getType() == BundleState.UPDATE) > > The problem is then probably located in the BundleSupport#update() method: > > https://github.com/apache/karaf-cellar/blob/master/bundle/src/main/java/org/apache/karaf/cellar/bundle/BundleSupport.java#L130 > > Let me try to reproduce. I keep you posted. > > Regards > JB > > On Wednesday, July 25, 2018 15:57 CEST, Oleg Cohen > wrote: > >> >> Greetings, >> >> I have a question about how bundle update is handled across a Cellar cluster. >> >> I have three nodes in a Cellar cluster. When I cluster-deploy a bundle on >> node1 from a Maven repo, it gets correctly and successfully deployed onto >> node2 and node3. >> >> Later on, I call cluster:bundle-update XXX on node1 and it gets updated >> correctly on node1, but the update isn’t automatically propagated to nodes 2 >> and 3. Is this an expected behavior? >> >> Would appreciation clarification/advice! >> >> Best, >> Oleg >> > > > >
Re: Karaf Cellar cluster bundle update propagation
Hi Oleg, which Cellar version are you using (and Karaf version as well) ? Bundle update is handled in the Cellar BundleEventHandler: (event.getType() == BundleState.UPDATE) The problem is then probably located in the BundleSupport#update() method: https://github.com/apache/karaf-cellar/blob/master/bundle/src/main/java/org/apache/karaf/cellar/bundle/BundleSupport.java#L130 Let me try to reproduce. I keep you posted. Regards JB On Wednesday, July 25, 2018 15:57 CEST, Oleg Cohen wrote: Greetings, I have a question about how bundle update is handled across a Cellar cluster. I have three nodes in a Cellar cluster. When I cluster-deploy a bundle on node1 from a Maven repo, it gets correctly and successfully deployed onto node2 and node3. Later on, I call cluster:bundle-update XXX on node1 and it gets updated correctly on node1, but the update isn’t automatically propagated to nodes 2 and 3. Is this an expected behavior? Would appreciation clarification/advice! Best, Oleg
Karaf Cellar cluster bundle update propagation
Greetings, I have a question about how bundle update is handled across a Cellar cluster. I have three nodes in a Cellar cluster. When I cluster-deploy a bundle on node1 from a Maven repo, it gets correctly and successfully deployed onto node2 and node3. Later on, I call cluster:bundle-update XXX on node1 and it gets updated correctly on node1, but the update isn’t automatically propagated to nodes 2 and 3. Is this an expected behavior? Would appreciation clarification/advice! Best, Oleg