Any updates for me> On Mon, Apr 4, 2016 at 6:05 PM, Aanand <anand...@gmail.com> wrote:
> Hi Pubudu, > I had used [1] to install kubernetes, so it is 1.0.6 as you mentioned. see > the output below which shows the API versions > { > > "paths": [ > "/api", > "/api/v1", > "/api/v1beta3", > "/healthz", > "/healthz/ping", > "/logs/", > "/metrics", > "/static/", > "/swagger-ui/", > "/swaggerapi/", > "/ui/", > "/version" > ] > } > > And also I tried stratos/php:4.1.5 as in[2] but now success, giving the same > problem. > > [1] wget > https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v1.0.6/kubernetes.tar.gz > > https://github.com/apache/stratos/blob/4.1.5/samples/cartridges/kubernetes/php.json > > Regards, > Aanand > Phone: 8098816226 > Skype: anand7007 > > On Mon, Apr 4, 2016 at 2:14 PM, Pubudu Gunatilaka <pub...@apache.org> > wrote: > >> Hi, >> >> If you are using Stratos 4.1.5 and samples related to 4.1.5 [1] , version >> of the php cartridge would be 4.1.5 and not 4.1.1. >> >> Please note that Stratos 4.1.5 is only tested in Kubernetes v1.0.6 and >> below. There could be API changes in the latest Kubernetes releases. >> >> Check the Stratos log from the beginning. >> >> [1] - >> https://github.com/apache/stratos/blob/4.1.5/samples/cartridges/kubernetes/php.json >> >> Thank you! >> >> On Mon, Apr 4, 2016 at 12:16 PM, Aanand <anand...@gmail.com> wrote: >> >>> 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 >>>>> >>>> >>>> >>> >> >