stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: could not start instance
Date Thu, 04 Jun 2015 06:51:30 GMT
Hi Jane,

Log says the pod didn't become to RUNNING state.

- did you pull the docker image to the kub master?
- did you use the same docker image name in cartridge definition?

Thanks.

On Thu, Jun 4, 2015 at 11:47 AM, Jane Mariathas <jane@wso2.com> wrote:

> hi,
>
> i followed the steps in https://gist.github.com/imesh/b8f81fac8de39183a504
> and tried. and i got the error saying
>
>
>
> *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.domain9956349d-1f34-40c3-bb27-e7dccf80cc84
> 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.domain9956349d-1f34-40c3-bb27-e7dccf80cc84
> [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)
>  *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.domain9956349d-1f34-40c3-bb27-e7dccf80cc84
>     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.domain9956349d-1f34-40c3-bb27-e7dccf80cc84
> [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)
>
>
> Any suggestion to fix this error?
>
> Thanks.
>
>
>


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

Mobile : +94777568639
Blog : rajkumarr.com

Mime
View raw message