Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7045A11ADC for ; Mon, 22 Sep 2014 03:51:13 +0000 (UTC) Received: (qmail 45064 invoked by uid 500); 22 Sep 2014 03:51:13 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 45006 invoked by uid 500); 22 Sep 2014 03:51:13 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 44972 invoked by uid 99); 22 Sep 2014 03:51:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 03:51:12 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_DBL_ABUSE_REDIR,URIBL_DBL_REDIR,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nirmal070125@gmail.com designates 74.125.82.177 as permitted sender) Received: from [74.125.82.177] (HELO mail-we0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 03:51:07 +0000 Received: by mail-we0-f177.google.com with SMTP id t60so2171334wes.8 for ; Sun, 21 Sep 2014 20:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eAEDY/XoPcDBDLejXVRkEqLPDpA0QGV5qthHsLCKbls=; b=Km9VwgL0POLZ+m+xY35LjRcklvlpAm/9cbv2ujfJzNabWi4YvISdpB/pv41P+nhunf wExw8MaEbYLBT9ZCZaAzCUVyc/hdu4Ra8tWg1KcRal3pwnVM2tHZNpYy8XRLL76bCm/n NVGMck7WRYyFC2CPCV6FT3lG5baL0f+/pJLCtnvQwV5vbtFigCuaTfwH0m7ytDybPoxG dqSYKid3Z82jEAAnrm72VB9MIJm4LoNYt7MFzJ1jbeC9KmPtz6H3EjCCBbLNx9L1CpV3 fMz6/KSfFZ6BQeTaAGFJCvCVvXiu1X9cfXbaV+5Qr/sW2UDYMCEj6/o8OE4BaIGEJz0z wRDQ== MIME-Version: 1.0 X-Received: by 10.180.99.195 with SMTP id es3mr12074730wib.33.1411357845369; Sun, 21 Sep 2014 20:50:45 -0700 (PDT) Received: by 10.194.61.211 with HTTP; Sun, 21 Sep 2014 20:50:45 -0700 (PDT) In-Reply-To: References: Date: Mon, 22 Sep 2014 09:20:45 +0530 Message-ID: Subject: Re: Shall we plan for a 4.1.0-M1 developer preview? From: Nirmal Fernando To: Sajith Kariyawasam Cc: dev Content-Type: multipart/alternative; boundary=f46d04426f9c063ec005039f5b28 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04426f9c063ec005039f5b28 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think I found the reason for not getting an IP address for any of the docker containers created by Stratos via Kubernetes. Reason being not specifying a host port for the container configuration (I did this as per a recommendation from Kubernetes team. ). I'll add back the host port config. On Sun, Sep 21, 2014 at 11:36 PM, Nirmal Fernando wrote: > Thanks Sajith! I'll continue testing with the new image. > > On Sun, Sep 21, 2014 at 11:19 PM, Sajith Kariyawasam > wrote: > >> I also started seeing the error when I deleted my image locally and >> pulled the latest. Found that the issue was with setting the symbolic li= nk >> in Dockerfile. >> I have updated the image. >> Really sorry for the inconvenience caused. >> >> On Sun, Sep 21, 2014 at 8:58 PM, Sajith Kariyawasam >> wrote: >> >>> >>> >>> On Sun, Sep 21, 2014 at 7:30 PM, Nirmal Fernando >> > wrote: >>> >>>> Hi Sajith, >>>> >>>> I used the docker image you provided and started kubernetes entities >>>> successfully via Stratos in the host cluster. Following is the output = of >>>> one of the minions. >>>> >>>> *core@minion-2** ~ $* docker ps >>>> >>>> CONTAINER ID IMAGE COMMAND >>>> CREATED STATUS PORTS >>>> NAMES >>>> >>>> a0250eda956a 54.254.64.141:5000/stratos-php:latest "/bin/sh >>>> -c '/usr/lo 17 minutes ago Up 17 minutes >>>> k8s--test2_-_apachestratos_-_org.2eabae66--c0fe9bb7_-_4177_-_11e4_-_8a= 91_-_080027dcc108.etcd--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108--72288= 18c >>>> >>>> >>>> ac0e06d74803 kubernetes/pause:latest "/pause" >>>> 17 minutes ago Up 17 minutes >>>> k8s--net.de8e92af--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108.etcd--= c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108--1d6a1a6c >>>> >>>> >>>> >>>> When I check the logs of the created container, I can see following; >>>> >>>> >>>> *core@minion-2** ~ $* docker logs a0250eda956a >>>> >>>> ./stratos.sh: line 77: java: command not found >>>> >>>> /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not >>>> permitted) >>>> >>>> Setting ulimit failed. See README.Debian for more information. >>>> >>>> AH00558: apache2: Could not reliably determine the server's fully >>>> qualified domain name, using 10.100.101.2. Set the 'ServerName' direct= ive >>>> globally to suppress this message >>>> >>>> >>>> Any thoughts? >>>> >>> >>> Seems to me that Java is not set inside the container. But for me when = I >>> start the container using docker run I'm not getting such an issue. >>> I will restart the docker registry and see. >>> >>>> >>>> On Sun, Sep 21, 2014 at 1:41 PM, Nirmal Fernando < >>>> nirmal070125@gmail.com> wrote: >>>> >>>>> >>>>> >>>>> On Sun, Sep 21, 2014 at 1:41 PM, Nirmal Fernando < >>>>> nirmal070125@gmail.com> wrote: >>>>> >>>>>> I posted them in a previous email in this thread. >>>>>> >>>>>> On Sun, Sep 21, 2014 at 1:37 PM, Akila Ravihansa Perera < >>>>>> ravihansa@wso2.com> wrote: >>>>>> >>>>>>> Hi Nirmal, >>>>>>> >>>>>>> Can you post the curl request and request body data? >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> On Sun, Sep 21, 2014 at 1:11 PM, Nirmal Fernando < >>>>>>> nirmal070125@gmail.com> wrote: >>>>>>> > Hi Akila, >>>>>>> > >>>>>>> > When I register a new Kubernetes host cluster, I see two response >>>>>>> codes in >>>>>>> > the http response; Any idea? >>>>>>> > >>>>>>> > * About to connect() to 127.0.0.1 port 9443 (#0) >>>>>>> > >>>>>>> > * Trying 127.0.0.1... >>>>>>> > >>>>>>> > * Adding handle: conn: 0x7fd2b5021000 >>>>>>> > >>>>>>> > * Adding handle: send: 0 >>>>>>> > >>>>>>> > * Adding handle: recv: 0 >>>>>>> > >>>>>>> > * Curl_addHandleToPipeline: length: 1 >>>>>>> > >>>>>>> > * - Conn 0 (0x7fd2b5021000) send_pipe: 1, recv_pipe: 0 >>>>>>> > >>>>>>> > * Connected to 127.0.0.1 (127.0.0.1) port 9443 (#0) >>>>>>> > >>>>>>> > * TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA >>>>>>> > >>>>>>> > * Server certificate: localhost >>>>>>> > >>>>>>> > * Server auth using Basic with user 'admin' >>>>>>> > >>>>>>> >> POST /stratos/admin/kubernetes/deploy/group HTTP/1.1 >>>>>>> > >>>>>>> >> Authorization: Basic YWRtaW46YWRtaW4=3D >>>>>>> > >>>>>>> >> User-Agent: curl/7.30.0 >>>>>>> > >>>>>>> >> Host: 127.0.0.1:9443 >>>>>>> > >>>>>>> >> Accept: */* >>>>>>> > >>>>>>> >> Content-Type: application/json >>>>>>> > >>>>>>> >> Content-Length: 1407 >>>>>>> > >>>>>>> >> Expect: 100-continue >>>>>>> > >>>>>>> >> >>>>>>> > >>>>>>> > < HTTP/1.1 100 Continue >>>>>>> > >>>>>>> > < HTTP/1.1 201 Created >>>>>>> > >>>>>>> > < Date: Sun, 21 Sep 2014 07:39:07 GMT >>>>>>> > >>>>>>> > < Location: >>>>>>> > >>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/deploy/group/KubGrp= 1 >>>>>>> > >>>>>>> > < Content-Length: 0 >>>>>>> > >>>>>>> > * Server WSO2 Carbon Server is not blacklisted >>>>>>> > >>>>>>> > < Server: WSO2 Carbon Server >>>>>>> > >>>>>>> > < >>>>>>> > >>>>>>> > * Connection #0 to host 127.0.0.1 left intact >>>>>>> > >>>>>>> > >>>>>>> > On Sat, Sep 20, 2014 at 2:32 PM, Nirmal Fernando < >>>>>>> nirmal070125@gmail.com> >>>>>>> > wrote: >>>>>>> >> >>>>>>> >> Thanks Sajith... I'll continue testing. >>>>>>> >> >>>>>>> >> On Sat, Sep 20, 2014 at 2:20 PM, Sajith Kariyawasam < >>>>>>> sajith@wso2.com> >>>>>>> >> wrote: >>>>>>> >>> >>>>>>> >>> Hi, >>>>>>> >>> >>>>>>> >>> Docker image 54.254.64.141:5000/stratos-php is now updated with >>>>>>> the above >>>>>>> >>> mentioned fixes >>>>>>> >>> >>>>>>> >>> Thanks, >>>>>>> >>> Sajith >>>>>>> >>> >>>>>>> >>> On Sat, Sep 20, 2014 at 10:47 AM, Sajith Kariyawasam < >>>>>>> sajith@wso2.com> >>>>>>> >>> wrote: >>>>>>> >>>> >>>>>>> >>>> Seems I have tested with an old cartridge agent pack. Also it >>>>>>> seems >>>>>>> >>>> cartridge agent always expects MIN_COUNT, which ideally should >>>>>>> have been >>>>>>> >>>> only when clustering is enabled. >>>>>>> >>>> I will do those fixes and update the image >>>>>>> >>>> >>>>>>> >>>> On Fri, Sep 19, 2014 at 6:21 PM, Sajith Kariyawasam < >>>>>>> sajith@wso2.com> >>>>>>> >>>> wrote: >>>>>>> >>>>> >>>>>>> >>>>> I have set up a docker registry and pushed the image there, >>>>>>> and that >>>>>>> >>>>> can be accessed as 54.254.64.141:5000/stratos-php >>>>>>> >>>>> >>>>>>> >>>>> Thanks, >>>>>>> >>>>> Sajith >>>>>>> >>>>> >>>>>>> >>>>> On Fri, Sep 19, 2014 at 12:44 PM, Sajith Kariyawasam < >>>>>>> sajith@wso2.com> >>>>>>> >>>>> wrote: >>>>>>> >>>>>> >>>>>>> >>>>>> Found an issue in the docker php image, that MB/CEP ips and >>>>>>> ports are >>>>>>> >>>>>> not getting set in stratos.sh. >>>>>>> >>>>>> I have fixed that and pushed the updated image. >>>>>>> >>>>>> >>>>>>> >>>>>> Please find the command below which you need to use in order >>>>>>> to start >>>>>>> >>>>>> an instance. >>>>>>> >>>>>> >>>>>>> >>>>>> docker run -d -P --name sajith --env SERVICE_NAME=3Dphp --en= v >>>>>>> >>>>>> CLUSTER_ID=3Dcluster1.php.stratos.org --env DEPLOYMENT=3Ddef= ault >>>>>>> --env PORTS=3D80 >>>>>>> >>>>>> --env MEMBER_ID=3Dmember1.cluster1.php.stratos.org --env >>>>>>> >>>>>> NETWORK_PARTITION_ID=3Dec2 --env PARTITION_ID=3Dzone-1 --env >>>>>>> >>>>>> CARTRIDGE_KEY=3DNfxZXmklUvRWslG5 --env REPO_URL=3Dnull --en= v >>>>>>> MB_IP=3D10.10.3.1 >>>>>>> >>>>>> --env MB_PORT=3D7611 --env CEP_IP=3D10.3.3.1 --env CEP_PORT= =3D5617 >>>>>>> >>>>>> sajhak/stratos-php >>>>>>> >>>>>> >>>>>>> >>>>>> On Fri, Sep 19, 2014 at 12:31 PM, Nirmal Fernando >>>>>>> >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> This is the latest replicationController json after fixing >>>>>>> the issue >>>>>>> >>>>>>> with payload. >>>>>>> >>>>>>> >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "kind": "ReplicationController", >>>>>>> >>>>>>> "id": "test2.php.domain", >>>>>>> >>>>>>> "apiVersion": "v1beta1", >>>>>>> >>>>>>> "labels": { >>>>>>> >>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> "desiredState": { >>>>>>> >>>>>>> "replicas": 2, >>>>>>> >>>>>>> "replicaSelector": { >>>>>>> >>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> "podTemplate": { >>>>>>> >>>>>>> "desiredState": { >>>>>>> >>>>>>> "manifest": { >>>>>>> >>>>>>> "version": "v1beta1", >>>>>>> >>>>>>> "id": "test2.php.domain", >>>>>>> >>>>>>> "containers": [ >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "test2-apachestratos-org", >>>>>>> >>>>>>> "image": "sajhak/stratos-php", >>>>>>> >>>>>>> "ports": [ >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "tcp80", >>>>>>> >>>>>>> "protocol": "tcp", >>>>>>> >>>>>>> "containerPort": 80, >>>>>>> >>>>>>> "hostPort": 0 >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "tcp443", >>>>>>> >>>>>>> "protocol": "tcp", >>>>>>> >>>>>>> "containerPort": 443, >>>>>>> >>>>>>> "hostPort": 0 >>>>>>> >>>>>>> } >>>>>>> >>>>>>> ], >>>>>>> >>>>>>> "env": [ >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "SERVICE_NAME", >>>>>>> >>>>>>> "value": "php" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "HOST_NAME", >>>>>>> >>>>>>> "value": >>>>>>> >>>>>>> "test2.apachestratos.org" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "MULTITENANT", >>>>>>> >>>>>>> "value": "false" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "TENANT_ID", >>>>>>> >>>>>>> "value": "-1234" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "TENANT_RANGE", >>>>>>> >>>>>>> "value": "-1234" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "CARTRIDGE_ALIAS", >>>>>>> >>>>>>> "value": "test2" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "CLUSTER_ID", >>>>>>> >>>>>>> "value": >>>>>>> "test2.php.domain" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "CARTRIDGE_KEY"= , >>>>>>> >>>>>>> "value": >>>>>>> "LyiZrGjCgiM3Vzpe" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "REPO_URL", >>>>>>> >>>>>>> "value": "null" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "PORTS", >>>>>>> >>>>>>> "value": "80|443" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "PROVIDER", >>>>>>> >>>>>>> "value": "apache" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "PUPPET_IP", >>>>>>> >>>>>>> "value": "127.0.0.1" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "PUPPET_HOSTNAME", >>>>>>> >>>>>>> "value": >>>>>>> >>>>>>> "puppet.apache.stratos.org" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "PUPPET_DNS_AVAILABLE", >>>>>>> >>>>>>> "value": "false" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "PUPPET_ENV", >>>>>>> >>>>>>> "value": "stratos" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "DEPLOYMENT", >>>>>>> >>>>>>> "value": "default" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "COMMIT_ENABLED= ", >>>>>>> >>>>>>> "value": "false" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "MEMBER_ID", >>>>>>> >>>>>>> "value": >>>>>>> >>>>>>> "test2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": "LB_CLUSTER_ID" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "NETWORK_PARTITION_ID" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "KUBERNETES_CLUSTER_ID", >>>>>>> >>>>>>> "value": "KubGrp1" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "KUBERNETES_MASTER_IP", >>>>>>> >>>>>>> "value": "127.0.0.1" >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> { >>>>>>> >>>>>>> "name": >>>>>>> "KUBERNETES_PORT_RANGE", >>>>>>> >>>>>>> "value": "4000-5000" >>>>>>> >>>>>>> } >>>>>>> >>>>>>> ] >>>>>>> >>>>>>> } >>>>>>> >>>>>>> ] >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> "replicas": 0 >>>>>>> >>>>>>> }, >>>>>>> >>>>>>> "labels": { >>>>>>> >>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Sep 19, 2014 at 12:20 PM, Nirmal Fernando >>>>>>> >>>>>>> wrote: >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Upon a subscription for a docker Cartridge, now autoscaler >>>>>>> calls CC, >>>>>>> >>>>>>>> and CC deploys Kubernetes entities into the Kubernetes hos= t >>>>>>> cluster. Please >>>>>>> >>>>>>>> see the following log. >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:09:01,194] INFO >>>>>>> >>>>>>>> >>>>>>> {org.apache.stratos.messaging.message.processor.topology.CompleteTo= pologyMessageProcessor} >>>>>>> >>>>>>>> - Topology initialized >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:09:06,203] INFO >>>>>>> >>>>>>>> {org.apache.stratos.autoscaler.util.ConfUtil} - Loading >>>>>>> configuration..... >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:09:06,257] INFO >>>>>>> >>>>>>>> {org.apache.stratos.autoscaler.util.AutoscalerUtil} - >>>>>>> Kubernetes cluster >>>>>>> >>>>>>>> monitor created: KubernetesClusterMonitor [ >>>>>>> kubernetesHostClusterId=3DKubGrp1, >>>>>>> >>>>>>>> clusterId=3Dtest2.php.domain, serviceId=3Dphp] >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:09:06,258] INFO >>>>>>> >>>>>>>> >>>>>>> {org.apache.stratos.autoscaler.message.receiver.topology.Autoscaler= TopologyEventReceiver} >>>>>>> >>>>>>>> - Kubernetes cluster monitor has been added successfully: >>>>>>> [cluster] >>>>>>> >>>>>>>> test2.php.domain >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:09:06,263] INFO >>>>>>> >>>>>>>> >>>>>>> {org.apache.stratos.manager.topology.receiver.StratosManagerTopolog= yEventReceiver} >>>>>>> >>>>>>>> - [CompleteTopologyEventListener] Received: class >>>>>>> >>>>>>>> >>>>>>> org.apache.stratos.messaging.event.topology.CompleteTopologyEvent >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:10:06,950] DEBUG >>>>>>> >>>>>>>> {org.apache.stratos.kubernetes.client.KubernetesApiClient}= - >>>>>>> >>>>>>>> CreateReplicationController Request Body : >>>>>>> >>>>>>>> >>>>>>> {"kind":"ReplicationController","id":"test2.php.domain","apiVersion= ":"v1beta1","labels":{"name":"test2.php.domain"},"desiredState":{"replicas"= :2,"replicaSelector":{"name":"test2.php.domain"},"podTemplate":{"desiredSta= te":{"manifest":{"version":"v1beta1","id":"test2.php.domain","containers":[= {"name":"test2-apachestratos-org","image":"sajhak/stratos-php","ports":[{"n= ame":"tcp80","protocol":"tcp","containerPort":80,"hostPort":0},{"name":"tcp= 443","protocol":"tcp","containerPort":443,"hostPort":0}],"env":[{"name":"SE= RVICE_NAME","value":"php"},{"name":"HOST_NAME","value":" >>>>>>> test2.apachestratos.org >>>>>>> "},{"name":"MULTITENANT","value":"false"},{"name":"TENANT_ID","valu= e":"-1234"},{"name":"TENANT_RANGE","value":"-1234"},{"name":"CARTRIDGE_ALIA= S","value":"test2"},{"name":"CLUSTER_ID","value":"test2.php.domain"},{"name= ":"CARTRIDGE_KEY","value":"LyiZrGjCgiM3Vzpe"},{"name":"REPO_URL","value":"n= ull"},{"name":"PORTS","value":"80|443"},{"name":"PROVIDER","value":"apache"= },{"name":"PUPPET_IP","value":"127.0.0.1"},{"name":"PUPPET_HOSTNAME","value= ":" >>>>>>> puppet.apache.stratos.org >>>>>>> "},{"name":"PUPPET_DNS_AVAILABLE","value":"false"},{"name":"PUPPET_= ENV","value":"stratos"},{"name":"DEPLOYMENT","value":"default"},{"name":"CO= MMIT_ENABLED","value":"false"},{"name":"MEMBER_ID","value":"test2.php.domai= n0b318d26-36ef-42cc-a6da-cafe4981dae9"},{"name":"LB_CLUSTER_ID"},{"name":"N= ETWORK_PARTITION_ID"},{"name":"KUBERNETES_CLUSTER_ID","value":"KubGrp1"},{"= name":"KUBERNETES_MASTER_IP","value":"127.0.0.1"},{"name":"KUBERNETES_PORT_= RANGE","value":"4000-5000"}]}]},"replicas":0},"labels":{"name":"test2.php.d= omain"}}}} >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:10:07,069] DEBUG >>>>>>> >>>>>>>> {org.apache.stratos.kubernetes.client.KubernetesApiClient} >>>>>>> - CreateService >>>>>>> >>>>>>>> Request Body : >>>>>>> >>>>>>>> >>>>>>> {"kind":"Service","id":"test2-php-domain","port":4000,"selector":{"= name":"test2.php.domain"},"apiVersion":"v1beta1"} >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> {"kind":"Service","id":"test2-php-domain","port":4000,"selector":{"= name":"test2.php.domain"},"apiVersion":"v1beta1"} >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> 200 >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:10:07,151] INFO >>>>>>> >>>>>>>> >>>>>>> {org.apache.stratos.cloud.controller.topology.TopologyEventPublishe= r} - >>>>>>> >>>>>>>> Publishing instance spawned event: [service] php [cluster] >>>>>>> test2.php.domain >>>>>>> >>>>>>>> [network-partition] null [partition] null [member] >>>>>>> >>>>>>>> test2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9 >>>>>>> [lb-cluster-id] null >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> [2014-09-19 12:10:07,155] INFO >>>>>>> >>>>>>>> >>>>>>> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImp= l} - >>>>>>> >>>>>>>> Kubernetes entities are successfully starting up. >>>>>>> MemberContext >>>>>>> >>>>>>>> >>>>>>> [memberId=3Dtest2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9, n= odeId=3Dnull, >>>>>>> >>>>>>>> clusterId=3Dtest2.php.domain, cartridgeType=3Dphp, >>>>>>> privateIpAddress=3D127.0.0.1, >>>>>>> >>>>>>>> publicIpAddress=3D127.0.0.1, allocatedIpAddress=3Dnull, >>>>>>> initTime=3D1411108806404, >>>>>>> >>>>>>>> lbClusterId=3Dnull, networkPartitionId=3Dnull] >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> On Fri, Sep 19, 2014 at 12:11 PM, Nirmal Fernando >>>>>>> >>>>>>>> wrote: >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Please note that the environment variable section in the >>>>>>> above >>>>>>> >>>>>>>>> replicationController is not completed, found a bug! Will >>>>>>> change the updated >>>>>>> >>>>>>>>> version once it is fixed. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Following is a sample auto-generated Kubernetes proxy >>>>>>> service; >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> { >>>>>>> >>>>>>>>> "kind": "Service", >>>>>>> >>>>>>>>> "id": "test2-php-domain", >>>>>>> >>>>>>>>> "port": 4000, >>>>>>> >>>>>>>>> "selector": { >>>>>>> >>>>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>>>> }, >>>>>>> >>>>>>>>> "apiVersion": "v1beta1" >>>>>>> >>>>>>>>> } >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> On Fri, Sep 19, 2014 at 11:04 AM, Nirmal Fernando >>>>>>> >>>>>>>>> wrote: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Here's a auto-generated Kubernetes replication controlle= r >>>>>>> json as >>>>>>> >>>>>>>>>> of now, for clarity. This could change based on the othe= r >>>>>>> testing. >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "kind": "ReplicationController", >>>>>>> >>>>>>>>>> "id": "test2.php.domain", >>>>>>> >>>>>>>>>> "apiVersion": "v1beta1", >>>>>>> >>>>>>>>>> "labels": { >>>>>>> >>>>>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> "desiredState": { >>>>>>> >>>>>>>>>> "replicas": 2, >>>>>>> >>>>>>>>>> "replicaSelector": { >>>>>>> >>>>>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> "podTemplate": { >>>>>>> >>>>>>>>>> "desiredState": { >>>>>>> >>>>>>>>>> "manifest": { >>>>>>> >>>>>>>>>> "version": "v1beta1", >>>>>>> >>>>>>>>>> "id": "test2.php.domain", >>>>>>> >>>>>>>>>> "containers": [ >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": >>>>>>> "test2-apachestratos-org", >>>>>>> >>>>>>>>>> "image": "sajhak/stratos-php= ", >>>>>>> >>>>>>>>>> "ports": [ >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": "tcp80", >>>>>>> >>>>>>>>>> "protocol": "tcp", >>>>>>> >>>>>>>>>> "containerPort": 80, >>>>>>> >>>>>>>>>> "hostPort": 0 >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": "tcp443", >>>>>>> >>>>>>>>>> "protocol": "tcp", >>>>>>> >>>>>>>>>> "containerPort": 443= , >>>>>>> >>>>>>>>>> "hostPort": 0 >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> ], >>>>>>> >>>>>>>>>> "env": [ >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": "MEMBER_ID", >>>>>>> >>>>>>>>>> "value": >>>>>>> >>>>>>>>>> "test2.php.domain9597d3fd-2852-49f5-af39-28ba9a6d2afa" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": >>>>>>> "LB_CLUSTER_ID" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": >>>>>>> "NETWORK_PARTITION_ID" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": >>>>>>> >>>>>>>>>> "KUBERNETES_CLUSTER_ID", >>>>>>> >>>>>>>>>> "value": "KubGrp1" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": >>>>>>> >>>>>>>>>> "KUBERNETES_MASTER_IP", >>>>>>> >>>>>>>>>> "value": "127.0.0.1" >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> { >>>>>>> >>>>>>>>>> "name": >>>>>>> >>>>>>>>>> "KUBERNETES_PORT_RANGE", >>>>>>> >>>>>>>>>> "value": "4000-5000" >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> ] >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> ] >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> "replicas": 0 >>>>>>> >>>>>>>>>> }, >>>>>>> >>>>>>>>>> "labels": { >>>>>>> >>>>>>>>>> "name": "test2.php.domain" >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> On Fri, Sep 19, 2014 at 10:35 AM, Nirmal Fernando >>>>>>> >>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Here's the jsons and requests used. >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Register Host Cluster >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Host Json >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "groupId": "KubGrp1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "description": "Kubernetes CoreOS cluster on EC2 "= , >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "kubernetesMaster": { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "hostId" : "KubHostMaster1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "hostname" : >>>>>>> >>>>>>>>>>> "master.dev.kubernetes.example.org", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "hostIpAddress" : "127.0.0.1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "property" : [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "val1" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop2", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "val2" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ] >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "portRange" : { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "upper": "5000", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "lower": "4000" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "kubernetesHost": [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "hostId" : "KubHostSlave1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "hostname" : >>>>>>> >>>>>>>>>>> "slave1.dev.kubernetes.example.org", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "hostIpAddress" : "127.0.0.1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "property" : [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "val1" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop2", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "val2" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ] >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ], >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "property": [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop1", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "val1" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop2", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "val2" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ] >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Register a Kubernetes Group >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> curl -X POST -H "Content-Type: application/json" -d >>>>>>> >>>>>>>>>>> @"new-kub-register.json" -k -u admin:admin >>>>>>> >>>>>>>>>>> " >>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/deploy/group" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Get a registered Kubernetes Group >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> curl -k -u admin:admin >>>>>>> >>>>>>>>>>> " >>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/group/KubGrp1" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Deploy a Docker Cartridge >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Docker Cartridge Json >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "type": "php", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "provider": "apache", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "host": "apachestratos.org", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "displayName": "PHP", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "description": "PHP Cartridge", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "version": "5.0", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "multiTenant": "false", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "deployerType": "kubernetes", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "portMapping": [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "protocol": "http", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "port": "80", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "proxyPort": "8280" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "protocol": "https", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "port": "443", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "proxyPort": "8243" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ], >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "container": [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "imageName": "sajhak/stratos-php", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "dockerfileRepo" >>>>>>> >>>>>>>>>>> :"https://github.com/sajhak/stratos-docker-php-image.gi= t >>>>>>> ", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "property": [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "prop-name", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "prop-value" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ] >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ] >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Deploy Docker Cartridge >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> curl -X POST -H "Content-Type: application/json" -d >>>>>>> >>>>>>>>>>> @'php-docker-cart.json' -k -v -u admin:admin >>>>>>> >>>>>>>>>>> >>>>>>> https://localhost:9443/stratos/admin/cartridge/definition >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Subscribe to a Docker Cartridge >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Subscription Json >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> php-subscription.json >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "cartridgeType": "php", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "alias": "test2", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "commitsEnabled": "false", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "property": [ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "KUBERNETES_CLUSTER_ID", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "KubGrp1" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> }, >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> { >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "name": "KUBERNETES_REPLICAS_MIN", >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> "value": "2" >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> ] >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> } >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Subscription Request >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> curl -X POST -H "Content-Type: application/json" -d >>>>>>> >>>>>>>>>>> @php-subscription.json -k -v -u admin:admin >>>>>>> >>>>>>>>>>> https://localhost:9443/stratos/admin/cartridge/subscrib= e >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> On Fri, Sep 19, 2014 at 10:11 AM, Nirmal Fernando >>>>>>> >>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> On Fri, Sep 19, 2014 at 9:56 AM, Nirmal Fernando >>>>>>> >>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> Hi all, >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> I've carried out following testing on the docker >>>>>>> integration >>>>>>> >>>>>>>>>>>>> branch, so far, and here's the status. >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> * Set up a local Kubernetes cluster (master and 2 >>>>>>> minions) and >>>>>>> >>>>>>>>>>>>> tested basic Kubernetes operations on it. >>>>>>> >>>>>>>>>>>>> * Tested Kubernetes host registration and here I face= d >>>>>>> an issue >>>>>>> >>>>>>>>>>>>> when hosts getting persisted [1]. >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> I verified this again and this is fixed now. >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> * Docker Cartridge deployment was tested and it worke= d >>>>>>> fine. >>>>>>> >>>>>>>>>>>>> * Then tested the Docker Cartridge subscription and >>>>>>> fixed few >>>>>>> >>>>>>>>>>>>> issues faced while doing so and committed them. >>>>>>> >>>>>>>>>>>>> * Upon a subscription a Kubernetes Cluster monitor go= t >>>>>>> created >>>>>>> >>>>>>>>>>>>> and called CC to spawn containers. >>>>>>> >>>>>>>>>>>>> * Faced several class loading issues when I deployed >>>>>>> kubernetes >>>>>>> >>>>>>>>>>>>> client jar built into the Carbon runtime due to the >>>>>>> use of Jax-rs proxy >>>>>>> >>>>>>>>>>>>> APIs. Those were tricky to fix, hence re-wrote the >>>>>>> client using Apache >>>>>>> >>>>>>>>>>>>> HttpClient. >>>>>>> >>>>>>>>>>>>> * Currently facing few issues with the hidden >>>>>>> constraints of >>>>>>> >>>>>>>>>>>>> Kubernetes entities; such as; >>>>>>> >>>>>>>>>>>>> - Container name can't have '.' (dots). >>>>>>> >>>>>>>>>>>>> - Protocol of a container port should always be >>>>>>> 'tcp' >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> I'll continue the testing and update the thread. >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> On Mon, Sep 15, 2014 at 9:11 AM, Nirmal Fernando >>>>>>> >>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> Please take a moment to update the status of the >>>>>>> tasks listed >>>>>>> >>>>>>>>>>>>>> for 4.1.0 M1; http://goo.gl/vpdZIa >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> Thanks. >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> On Mon, Sep 15, 2014 at 8:58 AM, Nirmal Fernando >>>>>>> >>>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> Currently hitting an issue in the docker-integratio= n >>>>>>> branch : >>>>>>> >>>>>>>>>>>>>>> https://issues.apache.org/jira/browse/STRATOS-798 >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> On Sun, Sep 14, 2014 at 11:12 PM, Nirmal Fernando >>>>>>> >>>>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> Please avoid committing changes that are not >>>>>>> available for >>>>>>> >>>>>>>>>>>>>>>> M1. I am gonna start an end-to-end testing. >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> On Fri, Sep 12, 2014 at 10:23 AM, Nirmal Fernando >>>>>>> >>>>>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> I create 4.1.0 M1 and M2 versions in the Jira. >>>>>>> Please >>>>>>> >>>>>>>>>>>>>>>>> update the version of the Jiras you are planning >>>>>>> to get to the first >>>>>>> >>>>>>>>>>>>>>>>> developer preview as 4.1.0 M1. >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> We need to come up with a code freeze date too. >>>>>>> I'd suggest >>>>>>> >>>>>>>>>>>>>>>>> we code freeze for M1 on 13th September 8pm PST. >>>>>>> Thoughts? >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> On Wed, Sep 10, 2014 at 8:23 PM, Nirmal Fernando >>>>>>> >>>>>>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> I'll create a 4.1.0 M1 version, so that we can >>>>>>> tag Jiras >>>>>>> >>>>>>>>>>>>>>>>>> that are/will be ready. >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> On Wed, Sep 10, 2014 at 6:40 PM, Lakmal >>>>>>> Warusawithana >>>>>>> >>>>>>>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>> If we are targeting this week for M1, what are >>>>>>> the >>>>>>> >>>>>>>>>>>>>>>>>>> features can ship? JIRA list? >>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>> On Wed, Sep 10, 2014 at 4:55 PM, Lakmal >>>>>>> Warusawithana >>>>>>> >>>>>>>>>>>>>>>>>>> wrote: >>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>>> Hi Dev, >>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>>> How about $subject? IMO, it will help all devs >>>>>>> to check >>>>>>> >>>>>>>>>>>>>>>>>>>> their dependancies. >>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>>> thanks >>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>>>>>>>> Lakmal Warusawithana >>>>>>> >>>>>>>>>>>>>>>>>>>> Vice President, Apache Stratos >>>>>>> >>>>>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc. >>>>>>> >>>>>>>>>>>>>>>>>>>> Mobile : +94714289692 >>>>>>> >>>>>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/ >>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>>>>>>> Lakmal Warusawithana >>>>>>> >>>>>>>>>>>>>>>>>>> Vice President, Apache Stratos >>>>>>> >>>>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc. >>>>>>> >>>>>>>>>>>>>>>>>>> Mobile : +94714289692 >>>>>>> >>>>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/ >>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> -- >>>>>>> >>>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>>> >>>>>>> >>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> -- >>>>>>> >>>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>>> >>>>>>> >>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> -- >>>>>>> >>>>>>>>>> Best Regards, >>>>>>> >>>>>>>>>> Nirmal >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> -- >>>>>>> >>>>>>>>> Best Regards, >>>>>>> >>>>>>>>> Nirmal >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> -- >>>>>>> >>>>>>>> Best Regards, >>>>>>> >>>>>>>> Nirmal >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Nirmal Fernando. >>>>>>> >>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Best Regards, >>>>>>> >>>>>>> Nirmal >>>>>>> >>>>>>> >>>>>>> >>>>>>> Nirmal Fernando. >>>>>>> >>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>> >>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> -- >>>>>>> >>>>>> Sajith Kariyawasam >>>>>>> >>>>>> Committer and PMC member, Apache Stratos, >>>>>>> >>>>>> WSO2 Inc., http://wso2.com >>>>>>> >>>>>> AMIE (SL) >>>>>>> >>>>>> Mobile: +94772269575 >>>>>>> >>>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> -- >>>>>>> >>>>> Sajith Kariyawasam >>>>>>> >>>>> Committer and PMC member, Apache Stratos, >>>>>>> >>>>> WSO2 Inc., http://wso2.com >>>>>>> >>>>> AMIE (SL) >>>>>>> >>>>> Mobile: +94772269575 >>>>>>> >>>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> -- >>>>>>> >>>> Sajith Kariyawasam >>>>>>> >>>> Committer and PMC member, Apache Stratos, >>>>>>> >>>> WSO2 Inc., http://wso2.com >>>>>>> >>>> AMIE (SL) >>>>>>> >>>> Mobile: +94772269575 >>>>>>> >>>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> -- >>>>>>> >>> Sajith Kariyawasam >>>>>>> >>> Committer and PMC member, Apache Stratos, >>>>>>> >>> WSO2 Inc., http://wso2.com >>>>>>> >>> AMIE (SL) >>>>>>> >>> Mobile: +94772269575 >>>>>>> >>> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> -- >>>>>>> >> Best Regards, >>>>>>> >> Nirmal >>>>>>> >> >>>>>>> >> Nirmal Fernando. >>>>>>> >> PPMC Member & Committer of Apache Stratos, >>>>>>> >> Senior Software Engineer, WSO2 Inc. >>>>>>> >> >>>>>>> >> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > -- >>>>>>> > Best Regards, >>>>>>> > Nirmal >>>>>>> > >>>>>>> > Nirmal Fernando. >>>>>>> > PPMC Member & Committer of Apache Stratos, >>>>>>> > Senior Software Engineer, WSO2 Inc. >>>>>>> > >>>>>>> > Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Akila Ravihansa Perera >>>>>>> Software Engineer, WSO2 >>>>>>> >>>>>>> Blog: http://ravihansa3000.blogspot.com >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Best Regards, >>>>>> Nirmal >>>>>> >>>>>> Nirmal Fernando. >>>>>> PPMC Member & Committer of Apache Stratos, >>>>>> Senior Software Engineer, WSO2 Inc. >>>>>> >>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> Nirmal >>>>> >>>>> Nirmal Fernando. >>>>> PPMC Member & Committer of Apache Stratos, >>>>> Senior Software Engineer, WSO2 Inc. >>>>> >>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> Best Regards, >>>> Nirmal >>>> >>>> Nirmal Fernando. >>>> PPMC Member & Committer of Apache Stratos, >>>> Senior Software Engineer, WSO2 Inc. >>>> >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> *Sajith Kariyawasam* >>> >>> >>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com >>> AMIE (SL)Mobile: +94772269575* >>> >> >> >> >> -- >> *Sajith Kariyawasam* >> >> >> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com >> AMIE (SL)Mobile: +94772269575* >> > > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ > --=20 Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ --f46d04426f9c063ec005039f5b28 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think I found the reason for not getting an IP address f= or any of the docker containers created by Stratos via Kubernetes. Reason b= eing not specifying a host port for the container configuration (I did this= as per a recommendation from Kubernetes team. ). I'll add back the hos= t port config.

On Sun, Sep 21, 2014 at 11:36 PM, Nirmal Fernando <= nirmal070125@gm= ail.com> wrote:
Thanks Sajith! I'll continue testing with the new image.

On Sun, Sep 21, 2014 at 11:19 PM, Sajith Kariyawasam <sa= jith@wso2.com> wrote:
I also started seeing the error when I deleted my image locally= and pulled the latest. Found that the issue was with setting the symbolic = link in Dockerfile.
I have updated the image.=C2=A0
Really so= rry for the inconvenience caused.=C2=A0

On Sun, Sep 21, 2014 at 8:58 PM= , Sajith Kariyawasam <sajith@wso2.com> wrote:


On Sun, Sep 21, 2014 at 7:30 PM, Nirmal Fernand= o <nirmal070125@gmail.com> wrote:
Hi Sajith,

I used the doc= ker image you provided and started kubernetes entities successfully via Str= atos in the host cluster. Following is the output of one of the minions.

core@minion-2 ~ $ docker ps

CONTAINER ID=C2=A0= =C2=A0 =C2=A0 =C2=A0 IMAGE =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 C= OMMAND=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 CREATED =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 STATUS=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 PORTS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= NAMES

a0250eda956a=C2=A0= =C2=A0 =C2=A0 =C2=A0 54.254.64.141:5000/stratos-php:latest =C2=A0 &quo= t;/bin/sh -c '/usr/lo =C2=A0 17 minutes ago=C2=A0 =C2=A0 =C2=A0 Up 17 m= inutes =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 k8s--test2_-_apachestratos_-_org.2eabae66--c0fe9bb= 7_-_4177_-_11e4_-_8a91_-_080027dcc108.etcd--c0fe9bb7_-_4177_-_11e4_-_8a91_-= _080027dcc108--7228818c=C2=A0 =C2=A0

ac0e06d74803=C2=A0= =C2=A0 =C2=A0 =C2=A0 kubernetes/pause:latest =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 "/pause" =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 17 minutes ago=C2=A0 =C2=A0 =C2=A0 Up 17 minutes =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 k8s--net.de8e92af--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc1= 08.etcd--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108--1d6a1a6c =C2=A0 =C2= =A0


When I check the logs= of the created container, I can see following;


core@minion-= 2 ~ $ docker = logs a0250eda956a

./stratos.sh: line 77: java: command not found

/usr/sbin/apache2ctl: 87: ulimit: error = setting limit (Operation not permitted)

Setting ulimit failed. See README.Debian for more = information.

AH00558: apach= e2: Could not reliably determine the server's fully qualified domain na= me, using 10.100.101.2. Set the 'ServerName' directive globally to = suppress this message


Any= thoughts?


Seems to = me that Java is not set inside the container. But for me when I start the c= ontainer using docker run I'm not getting such an issue.=C2=A0
I will restart the docker registry and see.=C2=A0

On Sun, Sep 21, 2014 at 1:41 PM, Nirmal Fernando <ni= rmal070125@gmail.com> wrote:


On Sun, Sep 21, 2014 at 1:41 PM, Nirmal Fernando &l= t;nirmal070125@= gmail.com> wrote:
I posted them in a previous email in this thread.
<= div>

On Sun, = Sep 21, 2014 at 1:37 PM, Akila Ravihansa Perera <ravihansa@wso2.com&g= t; wrote:
Hi Nirmal,

Can you post the curl request and request body data?

Thanks.

On Sun, Sep 21, 2014 at 1:11 PM, Nirmal Fernando <nirmal070125@gmail.com> wrote:=
> Hi Akila,
>
> When I register a new Kubernetes host cluster, I see two response code= s in
> the http response; Any idea?
>
> * About to connect() to 127.0.0.1 port 9443 (#0)
>
> *=C2=A0 =C2=A0Trying 127.0.0.1...
>
> * Adding handle: conn: 0x7fd2b5021000
>
> * Adding handle: send: 0
>
> * Adding handle: recv: 0
>
> * Curl_addHandleToPipeline: length: 1
>
> * - Conn 0 (0x7fd2b5021000) send_pipe: 1, recv_pipe: 0
>
> * Connected to 127.0.0.1 (127.0.0.1) port 9443 (#0)
>
> * TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
>
> * Server certificate: localhost
>
> * Server auth using Basic with user 'admin'
>
>> POST /stratos/admin/kubernetes/deploy/group HTTP/1.1
>
>> Authorization: Basic YWRtaW46YWRtaW4=3D
>
>> User-Agent: curl/7.30.0
>
>> Host: 127.0.0.= 1:9443
>
>> Accept: */*
>
>> Content-Type: application/json
>
>> Content-Length: 1407
>
>> Expect: 100-continue
>
>>
>
> < HTTP/1.1 100 Continue
>
> < HTTP/1.1 201 Created
>
> < Date: Sun, 21 Sep 2014 07:39:07 GMT
>
> < Location:
> https://127.0.0.1:9443/stratos/admin/kubernete= s/deploy/group/KubGrp1
>
> < Content-Length: 0
>
> * Server WSO2 Carbon Server is not blacklisted
>
> < Server: WSO2 Carbon Server
>
> <
>
> * Connection #0 to host 127.0.0.1 left intact
>
>
> On Sat, Sep 20, 2014 at 2:32 PM, Nirmal Fernando <nirmal070125@gmail.com> > wrote:
>>
>> Thanks Sajith... I'll continue testing.
>>
>> On Sat, Sep 20, 2014 at 2:20 PM, Sajith Kariyawasam <sajith@wso2.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> Docker image 54.254.64.141:5000/stratos-php is now updated with t= he above
>>> mentioned fixes
>>>
>>> Thanks,
>>> Sajith
>>>
>>> On Sat, Sep 20, 2014 at 10:47 AM, Sajith Kariyawasam <sajith@wso2.com>
>>> wrote:
>>>>
>>>> Seems I have tested with an old cartridge agent pack. Also= it seems
>>>> cartridge agent always expects MIN_COUNT, which ideally sh= ould have been
>>>> only when clustering is enabled.
>>>> I will do those fixes and update the image
>>>>
>>>> On Fri, Sep 19, 2014 at 6:21 PM, Sajith Kariyawasam <sajith@wso2.com><= br> >>>> wrote:
>>>>>
>>>>> I have set up a docker registry and pushed the image t= here, and that
>>>>> can be accessed as 54.254.64.141:5000/stratos-php
>>>>>
>>>>> Thanks,
>>>>> Sajith
>>>>>
>>>>> On Fri, Sep 19, 2014 at 12:44 PM, Sajith Kariyawasam &= lt;sajith@wso2.com= >
>>>>> wrote:
>>>>>>
>>>>>> Found an issue in the docker php image, that MB/CE= P ips and ports are
>>>>>> not getting set in stratos.sh.
>>>>>> I have fixed that and pushed the updated image. >>>>>>
>>>>>> Please find the command below which you need to us= e in order to start
>>>>>> an instance.
>>>>>>
>>>>>> docker run -d -P --name sajith --env SERVICE_NAME= =3Dphp --env
>>>>>> CLUSTER_ID=3Dcluster1.php.stratos.org --env DEPLOYMENT=3Dde= fault --env PORTS=3D80
>>>>>> --env MEMBER_ID=3Dmember1.cluster1.php.stratos.org = --env
>>>>>> NETWORK_PARTITION_ID=3Dec2 --env PARTITION_ID=3Dzo= ne-1 --env
>>>>>> CARTRIDGE_KEY=3DNfxZXmklUvRWslG5 --env REPO_URL=3D= null=C2=A0 --env MB_IP=3D10.10.3.1
>>>>>> --env MB_PORT=3D7611 --env CEP_IP=3D10.3.3.1 --env= CEP_PORT=3D5617
>>>>>> sajhak/stratos-php
>>>>>>
>>>>>> On Fri, Sep 19, 2014 at 12:31 PM, Nirmal Fernando<= br> >>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>>
>>>>>>> This is the latest replicationController json = after fixing the issue
>>>>>>> with payload.
>>>>>>>
>>>>>>> {
>>>>>>>=C2=A0 =C2=A0 =C2=A0"kind": "Rep= licationController",
>>>>>>>=C2=A0 =C2=A0 =C2=A0"id": "test2= .php.domain",
>>>>>>>=C2=A0 =C2=A0 =C2=A0"apiVersion": &qu= ot;v1beta1",
>>>>>>>=C2=A0 =C2=A0 =C2=A0"labels": {
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"name&qu= ot;: "test2.php.domain"
>>>>>>>=C2=A0 =C2=A0 =C2=A0},
>>>>>>>=C2=A0 =C2=A0 =C2=A0"desiredState": {=
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"replica= s": 2,
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"replica= Selector": {
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"name": "test2.php.domain"
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"podTemp= late": {
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"desiredState": {
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"manifest": {
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"version": "v1beta1", >>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"id": "test2.php.domain"= ,
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"containers": [
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"name"= : "test2-apachestratos-org",
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"image"= ;: "sajhak/stratos-php",
>>>>>>>=C2=A0 =C2=A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>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0},
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"labels": {
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"name": "test2.php.domain"
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0}
>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>>>>>>>=C2=A0 =C2=A0 =C2=A0}
>>>>>>> }
>>>>>>>
>>>>>>> On Fri, Sep 19, 2014 at 12:20 PM, Nirmal Ferna= ndo
>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>>>
>>>>>>>> Upon a subscription for a docker Cartridge= , now autoscaler calls CC,
>>>>>>>> and CC deploys Kubernetes entities into th= e Kubernetes host cluster. Please
>>>>>>>> see the following log.
>>>>>>>>
>>>>>>>> [2014-09-19 12:09:01,194]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.messaging.message.proc= essor.topology.CompleteTopologyMessageProcessor}
>>>>>>>> -=C2=A0 Topology initialized
>>>>>>>>
>>>>>>>> [2014-09-19 12:09:06,203]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.autoscaler.util.ConfUt= il} -=C2=A0 Loading configuration.....
>>>>>>>>
>>>>>>>> [2014-09-19 12:09:06,257]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.autoscaler.util.Autosc= alerUtil} -=C2=A0 Kubernetes cluster
>>>>>>>> monitor created: KubernetesClusterMonitor = [ kubernetesHostClusterId=3DKubGrp1,
>>>>>>>> clusterId=3Dtest2.php.domain, serviceId=3D= php]
>>>>>>>>
>>>>>>>> [2014-09-19 12:09:06,258]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.autoscaler.message.rec= eiver.topology.AutoscalerTopologyEventReceiver}
>>>>>>>> -=C2=A0 Kubernetes cluster monitor has bee= n added successfully: [cluster]
>>>>>>>> test2.php.domain
>>>>>>>>
>>>>>>>> [2014-09-19 12:09:06,263]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.manager.topology.recei= ver.StratosManagerTopologyEventReceiver}
>>>>>>>> -=C2=A0 [CompleteTopologyEventListener] Re= ceived: class
>>>>>>>> org.apache.stratos.messaging.event.topolog= y.CompleteTopologyEvent
>>>>>>>>
>>>>>>>> [2014-09-19 12:10:06,950] DEBUG
>>>>>>>> {org.apache.stratos.kubernetes.client.Kube= rnetesApiClient} -
>>>>>>>> CreateReplicationController Request Body :=
>>>>>>>> {"kind":"ReplicationControl= ler","id":"test2.php.domain","apiVersion"= ;:"v1beta1","labels":{"name":"test2.php.= domain"},"desiredState":{"replicas":2,"replic= aSelector":{"name":"test2.php.domain"},"podTe= mplate":{"desiredState":{"manifest":{"version= ":"v1beta1","id":"test2.php.domain",&quo= t;containers":[{"name":"test2-apachestratos-org",&= quot;image":"sajhak/stratos-php","ports":[{"n= ame":"tcp80","protocol":"tcp","cont= ainerPort":80,"hostPort":0},{"name":"tcp443&q= uot;,"protocol":"tcp","containerPort":443,&qu= ot;hostPort":0}],"env":[{"name":"SERVICE_NAME= ","value":"php"},{"name":"HOST_NAME= ","value":"test2.apachestratos.org"},{"name":"= ;MULTITENANT","value":"false"},{"name":&= quot;TENANT_ID","value":"-1234"},{"name"= :"TENANT_RANGE","value":"-1234"},{"name&= quot;:"CARTRIDGE_ALIAS","value":"test2"},{&qu= ot;name":"CLUSTER_ID","value":"test2.php.doma= in"},{"name":"CARTRIDGE_KEY","value":&qu= ot;LyiZrGjCgiM3Vzpe"},{"name":"REPO_URL","val= ue":"null"},{"name":"PORTS","value&= quot;:"80|443"},{"name":"PROVIDER","valu= e":"apache"},{"name":"PUPPET_IP","v= alue":"127.0.0.1"},{"name":"PUPPET_HOSTNAME&q= uot;,"value":"puppet.apache.stratos.org"},{"name":&qu= ot;PUPPET_DNS_AVAILABLE","value":"false"},{"n= ame":"PUPPET_ENV","value":"stratos"},{&q= uot;name":"DEPLOYMENT","value":"default"= },{"name":"COMMIT_ENABLED","value":"fals= e"},{"name":"MEMBER_ID","value":"te= st2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9"},{"name"= :"LB_CLUSTER_ID"},{"name":"NETWORK_PARTITION_ID&qu= ot;},{"name":"KUBERNETES_CLUSTER_ID","value":= "KubGrp1"},{"name":"KUBERNETES_MASTER_IP",&qu= ot;value":"127.0.0.1"},{"name":"KUBERNETES_PO= RT_RANGE","value":"4000-5000"}]}]},"replicas&= quot;:0},"labels":{"name":"test2.php.domain"}= }}}
>>>>>>>>
>>>>>>>> [2014-09-19 12:10:07,069] DEBUG
>>>>>>>> {org.apache.stratos.kubernetes.client.Kube= rnetesApiClient} -=C2=A0 CreateService
>>>>>>>> Request Body :
>>>>>>>> {"kind":"Service",&quo= t;id":"test2-php-domain","port":4000,"selecto= r":{"name":"test2.php.domain"},"apiVersion&qu= ot;:"v1beta1"}
>>>>>>>>
>>>>>>>>
>>>>>>>> {"kind":"Service",&quo= t;id":"test2-php-domain","port":4000,"selecto= r":{"name":"test2.php.domain"},"apiVersion&qu= ot;:"v1beta1"}
>>>>>>>>
>>>>>>>> 200
>>>>>>>>
>>>>>>>> [2014-09-19 12:10:07,151]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.cloud.controller.topol= ogy.TopologyEventPublisher} -
>>>>>>>> Publishing instance spawned event: [servic= e] php [cluster] test2.php.domain
>>>>>>>> [network-partition] null [partition] null = [member]
>>>>>>>> test2.php.domain0b318d26-36ef-42cc-a6da-ca= fe4981dae9 [lb-cluster-id] null
>>>>>>>>
>>>>>>>> [2014-09-19 12:10:07,155]=C2=A0 INFO
>>>>>>>> {org.apache.stratos.cloud.controller.impl.= CloudControllerServiceImpl} -
>>>>>>>> Kubernetes entities are successfully start= ing up. MemberContext
>>>>>>>> [memberId=3Dtest2.php.domain0b318d26-36ef-= 42cc-a6da-cafe4981dae9, nodeId=3Dnull,
>>>>>>>> clusterId=3Dtest2.php.domain, cartridgeTyp= e=3Dphp, privateIpAddress=3D127.0.0.1,
>>>>>>>> publicIpAddress=3D127.0.0.1, allocatedIpAd= dress=3Dnull, initTime=3D1411108806404,
>>>>>>>> lbClusterId=3Dnull, networkPartitionId=3Dn= ull]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Sep 19, 2014 at 12:11 PM, Nirmal F= ernando
>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> Please note that the environment varia= ble section in the above
>>>>>>>>> replicationController is not completed= , found a bug! Will change the updated
>>>>>>>>> version once it is fixed.
>>>>>>>>>
>>>>>>>>> Following is a sample auto-generated K= ubernetes proxy service;
>>>>>>>>>
>>>>>>>>> {
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"kind": &= quot;Service",
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"id": &qu= ot;test2-php-domain",
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"port": 4= 000,
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"selector"= ;: {
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"= ;name": "test2.php.domain"
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0},
>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"apiVersion&qu= ot;: "v1beta1"
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> On Fri, Sep 19, 2014 at 11:04 AM, Nirm= al Fernando
>>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>> Here's a auto-generated Kubern= etes replication controller json as
>>>>>>>>>> of now, for clarity. This could ch= ange based on the other testing.
>>>>>>>>>>
>>>>>>>>>> {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"kind"= ;: "ReplicationController",
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"id":= "test2.php.domain",
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"apiVersio= n": "v1beta1",
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"labels&qu= ot;: {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&= quot;name": "test2.php.domain"
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0},
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0"desiredSt= ate": {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&= quot;replicas": 2,
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&= quot;replicaSelector": {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"name": "test2.php.domain"
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}= ,
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&= quot;podTemplate": {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"desiredState": {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0"manifest": {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"version": "v1beta1= ",
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"id": "test2.php.do= main",
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"containers": [
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0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>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0},
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"labels": {
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0"name": "test2.php.domain" >>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0}
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}=
>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0}
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> On Fri, Sep 19, 2014 at 10:35 AM, = Nirmal Fernando
>>>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Here's the jsons and reque= sts used.
>>>>>>>>>>>
>>>>>>>>>>> Register Host Cluster
>>>>>>>>>>>
>>>>>>>>>>> Host Json
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "grou= pId": "KubGrp1",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "desc= ription": "Kubernetes CoreOS cluster on EC2 ",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "kube= rnetesMaster": {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "hostId" : "KubHostMaster1&q= uot;,
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "hostname" :
>>>>>>>>>>> "master.dev.kubernetes.exampl= e.org",
>>>>>>>>>>>
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>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0]
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 }
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0],
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0"property&quo= t;: [
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0{
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "name": "prop1",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "value": "val1"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0},
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0{
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "name": "prop2",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "value": "val2"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0}
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0]
>>>>>>>>>>>
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Register a Kubernetes Group >>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> curl -X POST -H "Content-= Type: application/json" -d
>>>>>>>>>>> @"new-kub-register.json&q= uot; -k=C2=A0 -u admin:admin
>>>>>>>>>>> "https://= 127.0.0.1:9443/stratos/admin/kubernetes/deploy/group"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Get a registered Kubernetes Gr= oup
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> curl=C2=A0 -k=C2=A0 -u admin:a= dmin
>>>>>>>>>>> "https:/= /127.0.0.1:9443/stratos/admin/kubernetes/group/KubGrp1"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Deploy a Docker Cartridge
>>>>>>>>>>>
>>>>>>>>>>> Docker Cartridge Json
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "type= ": "php",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "prov= ider": "apache",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "host= ": "apache= stratos.org",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "disp= layName": "PHP",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "desc= ription": "PHP Cartridge",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "vers= ion": "5.0",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "mult= iTenant": "false",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "depl= oyerType": "kubernetes",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 "port= Mapping": [
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0{
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "protocol": "http",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "port": "80",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "proxyPort": "8280"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0},
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0{
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "protocol": "https",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "port": "443",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "proxyPort": "8243"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0}
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0], >>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0&quo= t;container": [
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 { >>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "imageName": "sajhak/stratos-php",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "dockerfileRepo"
>>>>>>>>>>> :"https://githu= b.com/sajhak/stratos-docker-php-image.git",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "property": [
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"name": "prop-name",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"value": "prop-value"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 }
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ]
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 } >>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 ]
>>>>>>>>>>>
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Deploy Docker Cartridge
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> curl -X POST -H "Content-= Type: application/json" -d
>>>>>>>>>>> @'php-docker-cart.json'= ; -k -v -u admin:admin
>>>>>>>>>>> https://localhost= :9443/stratos/admin/cartridge/definition
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Subscribe to a Docker Cartridg= e
>>>>>>>>>>>
>>>>>>>>>>> Subscription Json
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> php-subscription.json
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 "cartridgeTy= pe": "php",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 "alias"= : "test2",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 "commitsEnab= led": "false",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 "property&qu= ot;: [
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"name": "KUBERNETES_CLUSTER_ID",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"value": "KubGrp1"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 },
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 {
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"name": "KUBERNETES_REPLICAS_MIN",
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"value": "2"
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 }
>>>>>>>>>>>
>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ]
>>>>>>>>>>>
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>> Subscription Request
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> curl -X POST -H "Content-= Type: application/json" -d
>>>>>>>>>>> @php-subscription.json -k -v -= u admin:admin
>>>>>>>>>>> https://localhost:= 9443/stratos/admin/cartridge/subscribe
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Sep 19, 2014 at 10:11 = AM, Nirmal Fernando
>>>>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Sep 19, 2014 at 9:= 56 AM, Nirmal Fernando
>>>>>>>>>>>> <nirmal070125@gmail.com> wrote:=
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've carried out f= ollowing testing on the docker integration
>>>>>>>>>>>>> branch, so far, and he= re's the status.
>>>>>>>>>>>>>
>>>>>>>>>>>>> * Set up a local Kuber= netes cluster (master and 2 minions) and
>>>>>>>>>>>>> tested basic Kubernete= s operations on it.
>>>>>>>>>>>>> * Tested Kubernetes ho= st registration and here I faced an issue
>>>>>>>>>>>>> when hosts getting per= sisted [1].
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> I verified this again and = this is fixed now.
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> * Docker Cartridge dep= loyment was tested and it worked fine.
>>>>>>>>>>>>> * Then tested the Dock= er Cartridge subscription and fixed few
>>>>>>>>>>>>> issues faced while doi= ng so and committed them.
>>>>>>>>>>>>> * Upon a subscription = a Kubernetes Cluster monitor got created
>>>>>>>>>>>>> and called CC to spawn= containers.
>>>>>>>>>>>>> * Faced several class = loading issues when I deployed kubernetes
>>>>>>>>>>>>> client jar built into = the Carbon runtime due to the use of Jax-rs proxy
>>>>>>>>>>>>> APIs. Those were trick= y to fix, hence re-wrote the client using Apache
>>>>>>>>>>>>> HttpClient.
>>>>>>>>>>>>> * Currently facing few= issues with the hidden constraints of
>>>>>>>>>>>>> Kubernetes entities; s= uch as;
>>>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 - = Container name can't have '.' (dots).
>>>>>>>>>>>>>=C2=A0 =C2=A0 =C2=A0 - = Protocol of a container port should always be 'tcp'
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'll continue the = testing and update the thread.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Sep 15, 2014 a= t 9:11 AM, Nirmal Fernando
>>>>>>>>>>>>> <nirmal070125@gmail.com> wr= ote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please take a mome= nt to update the status of the tasks listed
>>>>>>>>>>>>>> for 4.1.0 M1; http://goo.gl/vpdZIa
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Sep 15, 20= 14 at 8:58 AM, Nirmal Fernando
>>>>>>>>>>>>>> <nirmal070125@gmail.com>= ; wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Currently hitt= ing an issue in the docker-integration branch :
>>>>>>>>>>>>>>> https://i= ssues.apache.org/jira/browse/STRATOS-798
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Sep 14= , 2014 at 11:12 PM, Nirmal Fernando
>>>>>>>>>>>>>>> <nirmal070125@gmail.com
> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Please avo= id committing changes that are not available for
>>>>>>>>>>>>>>>> M1. I am g= onna start an end-to-end testing.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Se= p 12, 2014 at 10:23 AM, Nirmal Fernando
>>>>>>>>>>>>>>>> <
nirmal070125@gmail.co= m> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I crea= te 4.1.0 M1 and M2 versions in the Jira. Please
>>>>>>>>>>>>>>>>> update= the version of the Jiras you are planning to get to the first
>>>>>>>>>>>>>>>>> develo= per preview as 4.1.0 M1.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> We nee= d to come up with a code freeze date too. I'd suggest
>>>>>>>>>>>>>>>>> we cod= e freeze for M1 on 13th September 8pm PST. Thoughts?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed= , Sep 10, 2014 at 8:23 PM, Nirmal Fernando
>>>>>>>>>>>>>>>>> <nirmal070125@gmai= l.com> wrote:
>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I&= #39;ll create a 4.1.0 M1 version, so that we can tag Jiras
>>>>>>>>>>>>>>>>>> th= at are/will be ready.
>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On= Wed, Sep 10, 2014 at 6:40 PM, Lakmal Warusawithana
>>>>>>>>>>>>>>>>>> &l= t;lakmal@wso2.com&= gt; wrote:
>>>>>>>>>>>>>>>>>>>= ;
>>>>>>>>>>>>>>>>>>>= ; If we are targeting this week for M1, what are the
>>>>>>>>>>>>>>>>>>>= ; features can ship? JIRA list?
>>>>>>>>>>>>>>>>>>>= ;
>>>>>>>>>>>>>>>>>>>= ; On Wed, Sep 10, 2014 at 4:55 PM, Lakmal Warusawithana
>>>>>>>>>>>>>>>>>>>= ; <lakmal@wso2.com<= /a>> wrote:
>>>>>>>>>>>>>>>>>>>= ;>
>>>>>>>>>>>>>>>>>>>= ;> Hi Dev,
>>>>>>>>>>>>>>>>>>>= ;>
>>>>>>>>>>>>>>>>>>>= ;> How about $subject? IMO, it will help all devs to check
>>>>>>>>>>>>>>>>>>>= ;> their dependancies.
>>>>>>>>>>>>>>>>>>>= ;>
>>>>>>>>>>>>>>>>>>>= ;> thanks
>>>>>>>>>>>>>>>>>>>= ;>
>>>>>>>>>>>>>>>>>>>= ;> --
>>>>>>>>>>>>>>>>>>>= ;> Lakmal Warusawithana
>>>>>>>>>>>>>>>>>>>= ;> Vice President, Apache Stratos
>>>>>>>>>>>>>>>>>>>= ;> Director - Cloud Architecture; WSO2 Inc.
>>>>>>>>>>>>>>>>>>>= ;> Mobile :
+94714289692
>>>>>>>>>>>>>>>>>>>= ;> Blog : http://lakmalsview.blogspot.com/
>>>>>>>>>>>>>>>>>>>= ;>
>>>>>>>>>>>>>>>>>>>= ;
>>>>>>>>>>>>>>>>>>>= ;
>>>>>>>>>>>>>>>>>>>= ;
>>>>>>>>>>>>>>>>>>>= ; --
>>>>>>>>>>>>>>>>>>>= ; Lakmal Warusawithana
>>>>>>>>>>>>>>>>>>>= ; Vice President, Apache Stratos
>>>>>>>>>>>>>>>>>>>= ; Director - Cloud Architecture; WSO2 Inc.
>>>>>>>>>>>>>>>>>>>= ; Mobile : +94714289692
>>>>>>>>>>>>>>>>>>>= ; Blog : htt= p://lakmalsview.blogspot.com/
>>>>>>>>>>>>>>>>>>>= ;
>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> --=
>>>>>>>>>>>>>>>>>> Be= st Regards,
>>>>>>>>>>>>>>>>>> Ni= rmal
>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Ni= rmal Fernando.
>>>>>>>>>>>>>>>>>> PP= MC Member & Committer of Apache Stratos,
>>>>>>>>>>>>>>>>>> Se= nior Software Engineer, WSO2 Inc.
>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Bl= og: http://nir= malfdo.blogspot.com/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Best R= egards,
>>>>>>>>>>>>>>>>> Nirmal=
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Nirmal= Fernando.
>>>>>>>>>>>>>>>>> PPMC M= ember & Committer of Apache Stratos,
>>>>>>>>>>>>>>>>> Senior= Software Engineer, WSO2 Inc.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Blog: = http://nirmalf= do.blogspot.com/
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Best Regar= ds,
>>>>>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Nirmal Fer= nando.
>>>>>>>>>>>>>>>> PPMC Membe= r & Committer of Apache Stratos,
>>>>>>>>>>>>>>>> Senior Sof= tware Engineer, WSO2 Inc.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Blog: http://nirmalfdo.b= logspot.com/
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Best Regards,<= br> >>>>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Nirmal Fernand= o.
>>>>>>>>>>>>>>> PPMC Member &a= mp; Committer of Apache Stratos,
>>>>>>>>>>>>>>> Senior Softwar= e Engineer, WSO2 Inc.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blog= spot.com/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Nirmal Fernando. >>>>>>>>>>>>>> PPMC Member & = Committer of Apache Stratos,
>>>>>>>>>>>>>> Senior Software En= gineer, WSO2 Inc.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.= com/
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>>
>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>>>>> PPMC Member & Comm= itter of Apache Stratos,
>>>>>>>>>>>>> Senior Software Engine= er, WSO2 Inc.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/=
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>
>>>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>>>> PPMC Member & Committe= r of Apache Stratos,
>>>>>>>>>>>> Senior Software Engineer, = WSO2 Inc.
>>>>>>>>>>>>
>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/=
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> Nirmal
>>>>>>>>>>>
>>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>>> PPMC Member & Committer of= Apache Stratos,
>>>>>>>>>>> Senior Software Engineer, WSO2= Inc.
>>>>>>>>>>>
>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Best Regards,
>>>>>>>>>> Nirmal
>>>>>>>>>>
>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>> PPMC Member & Committer of Apa= che Stratos,
>>>>>>>>>> Senior Software Engineer, WSO2 Inc= .
>>>>>>>>>>
>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best Regards,
>>>>>>>>> Nirmal
>>>>>>>>>
>>>>>>>>> Nirmal Fernando.
>>>>>>>>> PPMC Member & Committer of Apache = Stratos,
>>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>>>>
>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best Regards,
>>>>>>>> Nirmal
>>>>>>>>
>>>>>>>> Nirmal Fernando.
>>>>>>>> PPMC Member & Committer of Apache Stra= tos,
>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>
>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Nirmal Fernando.
>>>>>>> PPMC Member & Committer of Apache Stratos,=
>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sajith Kariyawasam
>>>>>> Committer and PMC member, Apache Stratos,
>>>>>> WSO2 Inc., http://wso2.com
>>>>>> AMIE (SL)
>>>>>> Mobile: +94772269575
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sajith Kariyawasam
>>>>> Committer and PMC member, Apache Stratos,
>>>>> WSO2 Inc., http://wso2.com
>>>>> AMIE (SL)
>>>>> Mobile: +94772269575
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sajith Kariyawasam
>>>> Committer and PMC member, Apache Stratos,
>>>> WSO2 Inc., h= ttp://wso2.com
>>>> AMIE (SL)
>>>> Mobile: +94772269575
>>>>
>>>
>>>
>>>
>>> --
>>> Sajith Kariyawasam
>>> Committer and PMC member, Apache Stratos,
>>> WSO2 Inc., http:= //wso2.com
>>> AMIE (SL)
>>> Mobile: +94772269575
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: htt= p://nirmalfdo.blogspot.com/



--
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http:= //ravihansa3000.blogspot.com



--
Best Regards,
Nirmal

Nirmal Fernando.
PPMC = Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2= Inc.



=

--
Best Regards,
Nirmal

Nirma= l Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Sof= tware Engineer, WSO2 Inc.




--
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & C= ommitter of Apache Stratos,
Senior Software Engineer, WSO2 Inc.
=


=

--
Sajith Kariyawasam
Committer and PMC member, Apache Stratos,
AMIE=C2=A0(SL)
Mobile: +94772269575



--
Sajith Kariyawasam
Committer and PMC member, Apac= he Stratos,
WSO2 Inc., http://wso2.com
AMIE=C2= =A0(S= L)
Mobile: +94772269575




--
=
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Me= mber & Committer of Apache Stratos,
Senior Software Engineer, WSO2 I= nc.




--
=
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Me= mber & Committer of Apache Stratos,
Senior Software Engineer, WSO2 I= nc.

--f46d04426f9c063ec005039f5b28--