Hi Devs,

The above issue is now fixed in the master branch. In addition the
following changes were done to support the new Kubernetes API and
functionality:

   - Removed Public IP addresses of nodes being added to Kubernetes
   Services, this is not needed now.
   - Changed Kubernetes Service type to NodePort. This will make sure
   Kubernetes Services are exposed via each node with the given Node Port.
   - Changed default Node Port Range in sample Kubernetes Clsuters to 30000
   to 32767. This is the default range which Kubernetes uses.
   - Added the Container Port as the Kubernetes Service Port. This will
   allow internal service calls to use the Container Port via Portlet IPs.

Thanks

On Sun, Jul 26, 2015 at 8:38 AM, Imesh Gunaratne <[email protected]> wrote:

> I found the following error while testing and currently under
> investigation:
>
> TID: [0] [STRATOS] [2015-07-26 08:15:19,622] ERROR
> {org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas} -
>  Could not start container: [application] single-cartridge-app [cartridge]
> php [member]
> single-cartridge-app.my-php.php.domain4e65af46-0301-413a-8ac4-31c3c85a5de7
> java.lang.TypeNotPresentException: Type
> io.fabric8.kubernetes.internal.KubernetesDeserializer not present
> at
> sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:46)
> at
> sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:83)
> at com.sun.proxy.$Proxy73.using(Unknown Source)
> at
> com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.findDeserializer(JacksonAnnotationIntrospector.java:556)
> at
> com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.findDeserializer(JacksonAnnotationIntrospector.java:25)
> at
> com.fasterxml.jackson.databind.deser.DeserializerCache.findDeserializerFromAnnotation(DeserializerCache.java:411)
> at
> com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:325)
> at
> com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:261)
> at
> com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:241)
>
>
> On Sun, Jul 26, 2015 at 6:24 AM, Imesh Gunaratne <[email protected]> wrote:
>
>> Hi Devs,
>>
>> I have now upgraded Fabric 8 Kubernetes API client version to 2.2.16 and
>> removed forked code.
>>
>> Stratos now supports Kubernetes API V1. I have verified this with a
>> Kubernetes 1.0.1 environment [1] using the live test. This change is now
>> available in the master branch.
>>
>> [1] https://github.com/imesh/kubernetes-vagrant-setup
>>
>> Thanks
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to