karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-3609) Kubernetes/Cloud Service Discovery isn't working in Immutable applications
Date Fri, 20 Mar 2015 09:35:38 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-3609:
----------------------------------------
    Fix Version/s: cellar-4.0.0.M1
                   cellar-2.3.5
                   cellar-3.0.2

> Kubernetes/Cloud Service Discovery isn't working in Immutable applications
> --------------------------------------------------------------------------
>
>                 Key: KARAF-3609
>                 URL: https://issues.apache.org/jira/browse/KARAF-3609
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-cloud
>         Environment: Karaf Cellar
>            Reporter: Flávio Ferreira
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.2, cellar-2.3.5, cellar-4.0.0.M1
>
>
> I’m using Karaf Cellar 3.0.1 using Hazelcast with network TCP-IP enabled instead of
Multicast. I’m trying to run immutable applications (running inside Docker containers).
> To discover Hazelcast Instances in the cluster I’m using cellar-kubernetes feature.
However, I tried to use cellar-cloud and the problem is the same.
> I belive that, as my applications are immutable and the karaf configuration is never
updated, the update in Managed Service Factories was never called. Thus, the DiscoveryTask
can’t find the Karaf Cellar instances in the cluster since there are no Service Discovery
Implementations registered.
> In short, the update in this [class|https://github.com/apache/karaf-cellar/blob/master/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryServiceFactory.java]
is never called. Therefore, this never happens:
> bq. newRegistration = bundleContext.registerService(DiscoveryService.class.getName(),
service, (Dictionary) serviceProperties);
> I have an exemple to test it, in my github, under this repository: [karaf-cellar-kubernetes-example|https://github.com/FlavioF/karaf-cellar-kubernetes-example]
> I can’t understand if there is anything that I am missing or if this is an issue in
Service Discovery registry process.
> Is there anyone I can chat about this in IRC or any other real time chat?
> [~ppires]
> [~albertocsm]



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

Mime
View raw message