This is now fixed in Stratos 4.1.x branch and that fix will be available in PPaaS alpha release.
Thanks, Gayan On Thu, Sep 17, 2015 at 3:58 PM, Gayan Gunarathne <gay...@wso2.com> wrote: > Getting the following exception when deploying the ESB 4.8.1 on Kubernetes > cluster with Stratos 4.1.x branch. Seems this is due to the length of the > application name that we are using with the samples. We may need to > validate the application name and update the samples appropriately. > > javax.ws.rs.WebApplicationException: HTTP 422 Service > "wso2esb-481-application-service-1" is invalid: metadata.name: invalid > value 'wso2esb-481-application-service-1': must be a DNS 952 label (at most > 24 characters, matching regex [a-z]([-a-z0-9]*[a-z0-9])?): e.g. "my-name" > at > io.fabric8.kubernetes.api.ExceptionResponseMapper.fromResponse(ExceptionResponseMapper.java:40) > 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:217) > at > org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.createKubernetesServices(KubernetesIaas.java:533) > at > org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startContainer(KubernetesIaas.java:221) > at > org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.startInstance(KubernetesIaas.java:125) > 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:744) > > Thanks, > Gayan > -- > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> > > > -- Gayan Gunarathne Technical Lead, WSO2 Inc. (http://wso2.com) Committer & PMC Member, Apache Stratos email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev