You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by simafengyun1984 <yi...@citi.com> on 2014/02/25 10:25:22 UTC

Cellor config issue(cellor 2.3.2 and karaf 2.3.3)

Hi JB,

I have a service bundle and 2 cluster nodes, node1 and node2.

I want to install the service bundle on the node2 only.

I  org.apache.karaf.cellar.groups.cfg of the node1, as below

*default.bundle.blacklist.inbound =
VantageOceanPublisher-Service*,Gravity-VantageOceanPublisher-Service**


notification: the bundle info as below
                  Bundle-Name = VantageOceanPublisher-Service
                  Bundle-SymbolicName =
Gravity-VantageOceanPublisher-Service

But when I install the bundle in the node2, the bundle is installed in the
node1 automatically.
Accordingly to my config, the bundle should not be installed in the nodes1
since it is added to the 
blacklist.inbound list. Do you know what's wrong?



--
View this message in context: http://karaf.922171.n3.nabble.com/Cellor-config-issue-cellor-2-3-2-and-karaf-2-3-3-tp4031922.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellor config issue(cellor 2.3.2 and karaf 2.3.3)

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

AFAIR (I gonna check), the bundle blacklist/whitelist use the bundle 
location (not the symbolic name) for key.

So, the blacklist should look like: *artifactId* for instance.

Regards
JB

On 02/25/2014 10:25 AM, simafengyun1984 wrote:
> Hi JB,
>
> I have a service bundle and 2 cluster nodes, node1 and node2.
>
> I want to install the service bundle on the node2 only.
>
> I  org.apache.karaf.cellar.groups.cfg of the node1, as below
>
> *default.bundle.blacklist.inbound =
> VantageOceanPublisher-Service*,Gravity-VantageOceanPublisher-Service**
>
>
> notification: the bundle info as below
>                    Bundle-Name = VantageOceanPublisher-Service
>                    Bundle-SymbolicName =
> Gravity-VantageOceanPublisher-Service
>
> But when I install the bundle in the node2, the bundle is installed in the
> node1 automatically.
> Accordingly to my config, the bundle should not be installed in the nodes1
> since it is added to the
> blacklist.inbound list. Do you know what's wrong?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Cellor-config-issue-cellor-2-3-2-and-karaf-2-3-3-tp4031922.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com