Hi Pubudu, Thanks for your reply. There is no pods on kubernetes: root@kube-master:~# kubectl get pods NAME READY REASON RESTARTS AGE root@kube-master:~#
But docker image for php is there: root@kube-master:~# docker images REPOSITORY TAG IMAGE ID CREATED SIZE stratos/php 4.1.1 c8a797678457 8 months ago 415.6 MB root@kube-master:~# this is the log, I did not get any clue from this. Please check and let know your findings. root@a898ec74aa6c:/# tail -f apache-stratos-4.1.5/repository/logs/wso2carbon.log at io.fabric8.kubernetes.api.ExceptionResponseMapper.fromResponse(ExceptionResponseMapper.java:31) at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:302) at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:725) at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:683) at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:224) at com.sun.proxy.$Proxy84.createService(Unknown Source) at io.fabric8.kubernetes.api.KubernetesClient.createService(KubernetesClient.java:440) at io.fabric8.kubernetes.api.KubernetesClient.createService(KubernetesClient.java:430) at org.apache.stratos.kubernetes.client.KubernetesApiClient.createService(KubernetesApiClient.java:220) ... 8 more Regards, Aanand Phone: 8098816226 Skype: anand7007 On Mon, Apr 4, 2016 at 11:29 AM, Pubudu Gunatilaka <pub...@apache.org> wrote: > Hi, > > It looks like pods are not creating properly. Could you please check the > stratos log? You can find the log in <Stratos_home>/repository/ > logs/wso2carbon.log. > > Make sure you have the docker image in the minion nodes which is specified > in the php cartridge definition. One of the other ways that you can > troubleshoot this is using kubectl command. Use 'kubectl get pods' command. > It will show the status of the pods. > > Thank you! > > > On Mon, Apr 4, 2016 at 10:59 AM, Aanand <anand...@gmail.com> wrote: > >> Hi Pubudu, >> >> I have installed Stratos from the scratch on docker as per [1], and >> kubernetes with one minion as in [3] added the kubernetes cluster to >> Stratos as per [2]. when I deployed a single cartridge app as per [4]. See >> the screen shot the PHP application is deployed without any IP to access. >> How can I do this properly? Please assist me. >> >> [1] >> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS >> [2] >> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Adding+a+Kubernetes-CoreOS+Cluster+via+the+UI >> [3] http://containertutorials.com/get_started_kubernetes/index.html >> [4] >> http://blog.lasindu.com/2015/08/getting-started-with-apache-stratos-410.html >> >> Regards, >> Aanand >> Phone: 8098816226 >> Skype: anand7007 >> > >