stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: Problem in Kubernetes with Stratos master branch
Date Fri, 05 Jun 2015 06:23:09 GMT
Hi,

I am not sure how things are working now. Earlier we used to pull docker
images all kub hosts including master and minions. But now I see from the
doc that we need to pull the image only to master. So how the pod will be
created in minions?

Thanks.

On Fri, Jun 5, 2015 at 11:49 AM, Udara Liyanage <udara@wso2.com> wrote:

> Hi Lahiru,
>
> Seems the same issue discussed in "could not start instance"
>
> On Fri, Jun 5, 2015 at 10:32 AM, Lahiru Sandaruwan <lahirus@wso2.com>
> wrote:
>
>> Hi devs,
>>
>> I tried single cartridge sample with $subject. I'm using the git repo
>> [1]. It seems pods do not become active.([2])
>>
>> Thanks.
>>
>> [1] https://github.com/imesh/kubernetes-vagrant-setup
>> [2]
>> java.lang.RuntimeException: Pod status did not change to running within
>> 60 sec: [application] single-cartridge-app [cartridge] php [member]
>> single-cartridge-app.my-php.php.domaineb6cd608-b58a-4799-afe5-5a2e8cd91a99
>> [pod] pod-1
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.waitForPodToBeActivated(KubernetesIaas.java:342)
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startContainer(KubernetesIaas.java:227)
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startInstance(KubernetesIaas.java:126)
>> at
>> org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109)
>> at
>> org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>> TID: [0] [STRATOS] [2015-06-05 10:26:18,147] ERROR
>> {org.apache.stratos.cloud.controller.services.impl.InstanceCreator} -
>>  Could not start instance: [cartridge-type] php [cluster-id]
>> single-cartridge-app.my-php.php.domain
>> java.lang.RuntimeException: Could not start container: [application]
>> single-cartridge-app [cartridge] php [member]
>> single-cartridge-app.my-php.php.domaineb6cd608-b58a-4799-afe5-5a2e8cd91a99
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startContainer(KubernetesIaas.java:243)
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startInstance(KubernetesIaas.java:126)
>> at
>> org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109)
>> at
>> org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.RuntimeException: Pod status did not change to
>> running within 60 sec: [application] single-cartridge-app [cartridge] php
>> [member]
>> single-cartridge-app.my-php.php.domaineb6cd608-b58a-4799-afe5-5a2e8cd91a99
>> [pod] pod-1
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.waitForPodToBeActivated(KubernetesIaas.java:342)
>> at
>> org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startContainer(KubernetesIaas.java:227)
>> ... 6 more
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Mime
View raw message