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 2BF3811921 for ; Tue, 23 Sep 2014 17:08:46 +0000 (UTC) Received: (qmail 59046 invoked by uid 500); 23 Sep 2014 17:08:46 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 59006 invoked by uid 500); 23 Sep 2014 17:08:45 -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 58991 invoked by uid 99); 23 Sep 2014 17:08:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 17:08:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FILL_THIS_FORM_SHORT,URIBL_DBL_ABUSE_REDIR,URIBL_DBL_REDIR,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ravihansa@wso2.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-wg0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 17:08:38 +0000 Received: by mail-wg0-f42.google.com with SMTP id a1so4523757wgh.1 for ; Tue, 23 Sep 2014 10:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=a+RAL6u/tMo9fMb1s7P0tExeDZzmnPRbiueKE9ablls=; b=UFziRv7339USl6tdCvY5Xfms2inyQJ/9chi45KntthCGE6B2yAoQhmrN9SWhKSaczM w4ndSVD3XHs1CbDyBw+P0PR0OmNkbJJePREoggd653Fn2mNTj5eE18f8fOSDIUlvnG3r q5UP2WqeQ3dPsJK9ETkrgVOQUBOk7xLl2lfRM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=a+RAL6u/tMo9fMb1s7P0tExeDZzmnPRbiueKE9ablls=; b=BUTKco5mn9OCac7f6JVrun7WZM6cifHqgm4ZS7PMzktyX4/PbuR6mgtPqEWQ6VxuaB 6nOeXhI+lx0IL+HM3XxvpwJZrp8+QuxeLHxT7N5jD4Xffqe2Bj6DgaRa5mZD7klGk18L 0C0Fol1q+6PVlKGaZqLXdn5CWQuw2udoRzgW4JwKszMi7aYzpCNK5NO6IIleBk52L/my wePMb7WCJZlxavDlW7iW8iHpyDpvivuMC38QtaaNBA0oqXbINyb9HxE4Q42mjAOfRBl/ klrS72YAiY4i7lUBMpJzuHiT5kepBQ7RVna/CQZQUEpnsB1nQgNgDaSbTV1P7q1dHwUM /JWQ== X-Gm-Message-State: ALoCoQmeAE4UZypabupVnK2g4Gh5lyAdzjIz1sTFJ52TGxN2X0bO5Ki0uV6S+JQx+++dAwe8akDP X-Received: by 10.180.73.115 with SMTP id k19mr5145498wiv.35.1411492095720; Tue, 23 Sep 2014 10:08:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.179.6 with HTTP; Tue, 23 Sep 2014 10:07:53 -0700 (PDT) In-Reply-To: References: From: Akila Ravihansa Perera Date: Tue, 23 Sep 2014 22:37:53 +0530 Message-ID: Subject: Re: Shall we plan for a 4.1.0-M1 developer preview? To: dev Content-Type: multipart/alternative; boundary=f46d043749cbf8194d0503be9c60 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043749cbf8194d0503be9c60 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Manula, We can have the CEP to monitor the health status of the members and publish a summarized health status of the container type Stratos cluster to AS. We cannot directly remove instances since only Kubernetes knows about details of each container. What we can do is to expand the replicas in the event of container type cluster health status goes below a certain threshold. We will have to develop separate CEP execution plans for this. Health status =3D (Active containers in the Stratos cluster) / (Total containers in the Stratos cluster) x 100 % Here, the total containers means the number of replicas. Please correct me if there is anything wrong with the logic. Thanks. On Tue, Sep 23, 2014 at 10:14 PM, Manula Chathurika Thantriwatte < manulac@wso2.com> wrote: > Hi, > > What about to have a separate thread to check the inactive instances and > remove them. Just a thought. > > Thanks ! > > On Tue, Sep 23, 2014 at 5:23 PM, Nirmal Fernando > wrote: > >> AFAIS we have to keep them as they are.. Do you have any suggestions? >> >> On Tue, Sep 23, 2014 at 4:17 PM, Lahiru Sandaruwan >> wrote: >> >>> >>> >>> On Tue, Sep 23, 2014 at 10:41 AM, Nirmal Fernando < >>> nirmal070125@gmail.com> wrote: >>> >>>> Hi Lahiru, >>>> >>>> On Tue, Sep 23, 2014 at 10:30 AM, Lahiru Sandaruwan >>>> wrote: >>>> >>>>> Hi Lakmal, >>>>> >>>>> Thanks for responses, >>>>> >>>>> >>>>> On Tue, Sep 23, 2014 at 10:06 AM, Lakmal Warusawithana < >>>>> lakmal@wso2.com> wrote: >>>>> >>>>>> >>>>>> >>>>>> On Tue, Sep 23, 2014 at 10:05 AM, Lakmal Warusawithana < >>>>>> lakmal@wso2.com> wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Sep 23, 2014 at 9:55 AM, Lahiru Sandaruwan >>>>>> > wrote: >>>>>>> >>>>>>>> Hi Nirmal, >>>>>>>> >>>>>>>> Few questions in line, >>>>>>>> >>>>>>>> On Mon, Sep 22, 2014 at 11:54 PM, Nirmal Fernando < >>>>>>>> nirmal070125@gmail.com> wrote: >>>>>>>> >>>>>>>>> Based on a discussion I had with Lakmal, Sajith, Akila and Raj, w= e >>>>>>>>> identified following problems and possible solutions; >>>>>>>>> >>>>>>>>> >>>>>>>>> Problem >>>>>>>>> >>>>>>>>> Proposed Solution >>>>>>>>> >>>>>>>>> Currently the member id is generated by CC for each member it >>>>>>>>> spawns. But in the docker case, what we start is kubernetes entit= ies, not >>>>>>>>> direct docker instances. Hence, we can=E2=80=99t assign a member = id for a docker >>>>>>>>> instance from CC end. >>>>>>>>> >>>>>>>>> Generate the member id at the Cartridge Agent, if the member id i= s >>>>>>>>> not present in the payload. >>>>>>>>> >>>>>>>> >>>>>>>> Can Autoscaler use this member id to terminate the member using CC >>>>>>>> API? >>>>>>>> >>>>>>> >>>>>>> With the kubernetes, we can terminate using member id. They have >>>>>>> pod_id, bit we cant related it with member id. >>>>>>> >>>>>>> >>>>>> correction: With the kubernetes, we *can't *terminate using member >>>>>> id. They have pod_id, bit we cant related it with member id. >>>>>> >>>>>> >>>>> >>>>> How can we terminate instances when we identify it is faulty? Using >>>>> pod id? >>>>> >>>> >>>> We can't terminate specific docker instances, hence the introduction o= f >>>> cluster health. >>>> >>> >>> What happens to the instances which did not get activated? Left orphane= d >>> or do we have a mechanism to clear them? >>> >>> >>>> I'm quoting the third point of the list. >>>> >>>> "Failures are normal and inevitable. One of the purposes of using a >>>> service cluster is to provide HA. We should be happy about a service >>>> cluster, if its health is higher than a x% (configurable value eg: 90% >>>> healthy -> if you request 10 replicas and only 9 members have sent mem= ber >>>> activated events, we are not worrying about the malfunctioning member = since >>>> cluster is healthy.). CEP would monitor the cluster health periodicall= y >>>> based on the periodic ping received from instances ( cluster health = =3D 100* >>>> current unique members / current number of replicas)." >>>> >>>>> >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> When we scale down, we simply reduce the number of replicas in th= e >>>>>>>>> Kubernetes replication controller and Kubernetes will terminate s= elected >>>>>>>>> pods. It seems not possible to do a graceful shutdown of Pods. >>>>>>>>> >>>>>>>>> Make agent to publish a periodic message, letting others know tha= t >>>>>>>>> the member is up and running. (every 5s may be). Based on this we= could >>>>>>>>> detect a faulty member and this approach is cleaner than the curr= ent >>>>>>>>> approach. >>>>>>>>> >>>>>>>> >>>>>>>> Does this mean the Autoscaler will act upon faulty event, and get >>>>>>>> rid of faulty member logic from CEP? >>>>>>>> >>>>>>>> I feel like, it would be costly for Autoscaler to process events >>>>>>>> sent in every 5s, from each member. >>>>>>>> >>>>>>>> >>>>>>> No, faulty percentage will calculate by CEP. Autoscaler getting >>>>>>> these info and act upon it. >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> What if Stratos agent inside one docker instance failed to start >>>>>>>>> properly? Since we don=E2=80=99t have a direct control over the d= ocker instances, >>>>>>>>> we can=E2=80=99t terminate the docker instance with issues and sp= in a replacement >>>>>>>>> instance. >>>>>>>>> >>>>>>>>> Failures are normal and inevitable. One of the purposes of using = a >>>>>>>>> service cluster is to provide HA. We should be happy about a serv= ice >>>>>>>>> cluster, if its health is higher than a x% (configurable value eg= : 90% >>>>>>>>> healthy -> if you request 10 replicas and only 9 members have sen= t member >>>>>>>>> activated events, we are not worrying about the malfunctioning me= mber since >>>>>>>>> cluster is healthy.). CEP would monitor the cluster health period= ically >>>>>>>>> based on the periodic ping received from instances ( cluster heal= th =3D 100* >>>>>>>>> current unique members / current number of replicas). >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> If two members should be there and one is malfunctioning, we are >>>>>>>> left with just one active member? >>>>>>>> >>>>>>> >>>>>>> No, thats why cluster health coming. For e.g. if we set it to 50%, >>>>>>> that mean one out of two is enough. >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> How to maintain cluster health in a consistent user given rate? >>>>>>>>> >>>>>>>>> Autoscaler will examine the current health of the cluster, if it= =E2=80=99s >>>>>>>>> below par, autoscaler will predict the additional number of repli= cas >>>>>>>>> required and ask CC to update the replication controller with the= new >>>>>>>>> number of replicas. Number of minimum and maximum replicas count = should be >>>>>>>>> added to the topology Cluster model. >>>>>>>>> >>>>>>>>> CEP should be aware of the current number of replicas in the >>>>>>>>> system. >>>>>>>>> >>>>>>>>> For this we might need to introduce a new event call >>>>>>>>> =E2=80=98ClusterUpdatedEvent=E2=80=99 and send the current number= of expected replicas in >>>>>>>>> it. >>>>>>>>> >>>>>>>>> Catering requests even before minimum number of members in the >>>>>>>>> cluster. >>>>>>>>> >>>>>>>>> Autoscaler will monitor the cluster health at the inception of th= e >>>>>>>>> cluster and will send the ClusterActivatedEvent. >>>>>>>>> >>>>>>>> >>>>>>>> Bit unclear on this. Requirement is to serve requests even before >>>>>>>> minimum # of instances get activated? or avoid serving them? >>>>>>>> >>>>>>> >>>>>>> to avoid serving them >>>>>>> >>>>>> >>>>> Can't we serve them if there is at-least one active member in the >>>>> cluster? >>>>> >>>>> Thanks. >>>>> >>>>>> >>>>>>> >>>>>>>> >>>>>>>> Thanks. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Thoughts ? >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Sep 22, 2014 at 9:20 AM, Nirmal Fernando < >>>>>>>>> nirmal070125@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> I think I found the reason for not getting an IP address for any >>>>>>>>>> of the docker containers created by Stratos via Kubernetes. Reas= on being >>>>>>>>>> not specifying a host port for the container configuration (I di= d 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 < >>>>>>>>>> nirmal070125@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Thanks Sajith! I'll continue testing with the new image. >>>>>>>>>>> >>>>>>>>>>> On Sun, Sep 21, 2014 at 11:19 PM, Sajith Kariyawasam < >>>>>>>>>>> sajith@wso2.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> I also started seeing the error when I deleted my image locall= y >>>>>>>>>>>> and pulled the latest. Found that the issue was with setting t= he symbolic >>>>>>>>>>>> link in Dockerfile. >>>>>>>>>>>> I have updated the image. >>>>>>>>>>>> Really sorry for the inconvenience caused. >>>>>>>>>>>> >>>>>>>>>>>> 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 Fernando < >>>>>>>>>>>>> nirmal070125@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Sajith, >>>>>>>>>>>>>> >>>>>>>>>>>>>> I used the docker image you provided and started kubernetes >>>>>>>>>>>>>> entities successfully via Stratos in the host cluster. Follo= wing 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_-_8a91_-_080027dcc108.etcd--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc= 108--7228818c >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> ac0e06d74803 kubernetes/pause:latest >>>>>>>>>>>>>> "/pause" 17 minutes ago Up 17 minutes >>>>>>>>>>>>>> >>>>>>>>>>>>>> k8s--net.de8e92af--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc= 108.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 informatio= n. >>>>>>>>>>>>>> >>>>>>>>>>>>>> AH00558: apache2: Could not reliably determine the server's >>>>>>>>>>>>>> fully qualified domain name, using 10.100.101.2. Set the 'Se= rverName' >>>>>>>>>>>>>> directive globally to suppress this message >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Any thoughts? >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Seems to me that Java is not set inside the container. But fo= r >>>>>>>>>>>>> me when I start the container using docker run I'm not gettin= g 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 tw= o >>>>>>>>>>>>>>>>> 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/gr= oup/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 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 imag= e >>>>>>>>>>>>>>>>> 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 Kariyawasa= m >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>> 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=3Ddefault --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 >>>>>>>>>>>>>>>>> --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 >>>>>>>>>>>>>>>>> >>>>>> 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": "nul= l" >>>>>>>>>>>>>>>>> >>>>>>> }, >>>>>>>>>>>>>>>>> >>>>>>> { >>>>>>>>>>>>>>>>> >>>>>>> "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 host cluster. Please >>>>>>>>>>>>>>>>> >>>>>>>> see the following log. >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> [2014-09-19 12:09:01,194] INFO >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> {org.apache.stratos.messaging.message.processor.topology.= CompleteTopologyMessageProcessor} >>>>>>>>>>>>>>>>> >>>>>>>> - 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} - Ku= bernetes 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.= AutoscalerTopologyEventReceiver} >>>>>>>>>>>>>>>>> >>>>>>>> - 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.StratosMana= gerTopologyEventReceiver} >>>>>>>>>>>>>>>>> >>>>>>>> - [CompleteTopologyEventListener] Received: cla= ss >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> org.apache.stratos.messaging.event.topology.CompleteTopol= ogyEvent >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> [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":{"= desiredState":{"manifest":{"version":"v1beta1","id":"test2.php.domain","con= tainers":[{"name":"test2-apachestratos-org","image":"sajhak/stratos-php","p= orts":[{"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":"CART= RIDGE_ALIAS","value":"test2"},{"name":"CLUSTER_ID","value":"test2.php.domai= n"},{"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_HOSTNA= ME","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":"Ku= bGrp1"},{"name":"KUBERNETES_MASTER_IP","value":"127.0.0.1"},{"name":"KUBERN= ETES_PORT_RANGE","value":"4000-5000"}]}]},"replicas":0},"labels":{"name":"t= est2.php.domain"}}}} >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> [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,"se= lector":{"name":"test2.php.domain"},"apiVersion":"v1beta1"} >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> {"kind":"Service","id":"test2-php-domain","port":4000,"se= lector":{"name":"test2.php.domain"},"apiVersion":"v1beta1"} >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> 200 >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>> [2014-09-19 12:10:07,151] INFO >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> {org.apache.stratos.cloud.controller.topology.TopologyEve= ntPublisher} - >>>>>>>>>>>>>>>>> >>>>>>>> Publishing instance spawned event: [service] php >>>>>>>>>>>>>>>>> [cluster] test2.php.domain >>>>>>>>>>>>>>>>> >>>>>>>> [network-partition] null [partition] null [membe= r] >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> 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.CloudController= ServiceImpl} - >>>>>>>>>>>>>>>>> >>>>>>>> Kubernetes entities are successfully starting up= . >>>>>>>>>>>>>>>>> MemberContext >>>>>>>>>>>>>>>>> >>>>>>>> >>>>>>>>>>>>>>>>> [memberId=3Dtest2.php.domain0b318d26-36ef-42cc-a6da-cafe4= 981dae9, nodeId=3Dnull, >>>>>>>>>>>>>>>>> >>>>>>>> clusterId=3Dtest2.php.domain, cartridgeType=3Dph= p, >>>>>>>>>>>>>>>>> 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 Fernand= o >>>>>>>>>>>>>>>>> >>>>>>>> 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 Fernan= do >>>>>>>>>>>>>>>>> >>>>>>>>> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>> Here's a auto-generated Kubernetes replication >>>>>>>>>>>>>>>>> controller json as >>>>>>>>>>>>>>>>> >>>>>>>>>> of now, for clarity. This could change based o= n >>>>>>>>>>>>>>>>> the other 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 cluste= r >>>>>>>>>>>>>>>>> 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/gr= oup >>>>>>>>>>>>>>>>> " >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> Get a registered Kubernetes Group >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> curl -k -u admin:admin >>>>>>>>>>>>>>>>> >>>>>>>>>>> " >>>>>>>>>>>>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/group/Kub= Grp1 >>>>>>>>>>>>>>>>> " >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> 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.git", >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> "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/subscribe >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>> 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 faced an issue >>>>>>>>>>>>>>>>> >>>>>>>>>>>>> when hosts getting persisted [1]. >>>>>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>> I verified this again and this is fixed now. >>>>>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>> * Docker Cartridge deployment was tested an= d >>>>>>>>>>>>>>>>> it worked 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 got created >>>>>>>>>>>>>>>>> >>>>>>>>>>>>> and called CC to spawn containers. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>> * Faced several class loading issues when I >>>>>>>>>>>>>>>>> deployed kubernetes >>>>>>>>>>>>>>>>> >>>>>>>>>>>>> client jar built into the Carbon runtime du= e >>>>>>>>>>>>>>>>> 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-integration 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 th= e >>>>>>>>>>>>>>>>> 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 tha= t >>>>>>>>>>>>>>>>> we can tag Jiras >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> that are/will be ready. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On Wed, Sep 10, 2014 at 6:40 PM, Lakma= l >>>>>>>>>>>>>>>>> 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 hel= p >>>>>>>>>>>>>>>>> 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 Strato= s, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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: +9477226957= 5* >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> *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/ >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Best Regards, >>>>>>>>> Nirmal >>>>>>>>> >>>>>>>>> Nirmal Fernando. >>>>>>>>> PPMC Member & Committer of Apache Stratos, >>>>>>>>> Senior Software Engineer, WSO2 Inc. >>>>>>>>> >>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> -- >>>>>>>> Lahiru Sandaruwan >>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>> Senior Software Engineer, >>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>> lean.enterprise.middleware >>>>>>>> >>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954 >>>>>>>> blog: http://lahiruwrites.blogspot.com/ >>>>>>>> twitter: http://twitter.com/lahirus >>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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/ >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Lahiru Sandaruwan >>>>> Committer and PMC member, Apache Stratos, >>>>> Senior Software Engineer, >>>>> WSO2 Inc., http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> email: lahirus@wso2.com cell: (+94) 773 325 954 >>>>> blog: http://lahiruwrites.blogspot.com/ >>>>> twitter: http://twitter.com/lahirus >>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Best Regards, >>>> Nirmal >>>> >>>> Nirmal Fernando. >>>> PPMC Member & Committer of Apache Stratos, >>>> Senior Software Engineer, WSO2 Inc. >>>> >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> -- >>> Lahiru Sandaruwan >>> Committer and PMC member, Apache Stratos, >>> Senior Software Engineer, >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> email: lahirus@wso2.com cell: (+94) 773 325 954 >>> blog: http://lahiruwrites.blogspot.com/ >>> twitter: http://twitter.com/lahirus >>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> Best Regards, >> Nirmal >> >> Nirmal Fernando. >> PPMC Member & Committer of Apache Stratos, >> Senior Software Engineer, WSO2 Inc. >> >> Blog: http://nirmalfdo.blogspot.com/ >> > > > > -- > Regards, > Manula Chathurika Thantriwatte > Software Engineer > WSO2 Inc. : http://wso2.com > lean . enterprise . middleware > > email : manulac@wso2.com / manula@apache.org > phone : +94 772492511 > blog : http://manulachathurika.blogspot.com/ > > > > --=20 Akila Ravihansa Perera Software Engineer, WSO2 Blog: http://ravihansa3000.blogspot.com --f46d043749cbf8194d0503be9c60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Manula,

We can have the CEP to monit= or the health status of the members and publish a summarized health status = of the container type Stratos cluster to AS. We cannot directly remove inst= ances since only Kubernetes knows about details of each container. What we = can do is to expand the replicas in the event of container type cluster hea= lth status goes below a certain threshold. We will have to develop separate= CEP execution plans for this.

Health status =3D (= Active containers in the Stratos cluster) / (Total containers in the Strato= s cluster) x 100 %

Here, the total containers mean= s the number of replicas. Please correct me if there is anything wrong with= the logic.

Thanks.

On Tue, Sep 23, 2014 at 10:14 PM, Ma= nula Chathurika Thantriwatte <manulac@wso2.com> wrote:
Hi,

What ab= out to have a separate thread to check the inactive instances and remove th= em. Just a thought.

Thanks !

On Tue, Sep 23, 2014 at 5:2= 3 PM, Nirmal Fernando <nirmal070125@gmail.com> wrote:
AFAIS we have to keep the= m as they are.. Do you have any suggestions?

On Tue, Sep 23, 2014 at 4:17 PM, Lahiru Sa= ndaruwan <lahirus@wso2.com> wrote:


On Tue, Sep 23, 2014 at 10:41 AM, Nirmal Fernando <ni= rmal070125@gmail.com> wrote:
Hi Lahiru,

On Tue, Sep 23, 2014 at 10:30 AM, Lahiru Sandaruwan <lahir= us@wso2.com> wrote:
Hi L= akmal,

Thanks for responses,


On Tue, Sep 23, 2014 at 10:06 = AM, Lakmal Warusawithana <lakmal@wso2.com> wrote:


On Tue, Sep 23, 2014 at 10:05 AM, Lakmal Warusawithana <lakmal@w= so2.com> wrote:


On Tue, Sep 23, 2014 = at 9:55 AM, Lahiru Sandaruwan <lahirus@wso2.com> wrote:
Hi Nirmal,
Few questions in line,

On Mon, Sep 22, 2014 = at 11:54 PM, Nirmal Fernando <nirmal070125@gmail.com> w= rote:
Based on a discussion I had with= Lakmal, Sajith, Akila and Raj, we identified following problems and possib= le solutions;


<= td style=3D"border:1px solid rgb(0,0,0);vertical-align:top;padding:7px">

Generate the member id at the Cartridge Agent, if the member id is not= present in the payload.

Problem

Proposed Solution

Currently the member id is gener= ated by CC for each member it spawns. But in the docker case, what we start= is kubernetes entities, not direct docker instances. Hence, we can=E2=80= =99t assign a member id for a docker instance from CC end.

<= /div>

Can Autoscaler use this = member id to terminate the member using CC API?

With the kubernetes, we can terminate using me= mber id. They have pod_id, bit we cant related it with member id.=C2=A0


correct= ion: With the kubernetes, we can't terminate using member id. Th= ey have pod_id, bit we cant related it with member id.=C2=A0
=C2= =A0

How can we term= inate instances when we identify it is faulty? Using pod id?=C2=A0

We can't terminat= e specific docker instances, hence the introduction of cluster health.

What happens to the ins= tances which did not get activated? Left orphaned or do we have a mechanism= to clear them?
=C2=A0
I= 9;m quoting the third point of the list.

"Failures are normal and inev= itable. One of the purposes of using a service cluster is to provide HA. We= should be happy about a service cluster, if its health is higher than a x%= (configurable value eg: 90% healthy -> if you request 10 replicas and o= nly 9 members have sent member activated events, we are not worrying about = the malfunctioning member since cluster is healthy.). CEP would monitor the= cluster health periodically based on the periodic ping received from insta= nces ( cluster health =3D =C2=A0100* current unique members / current numbe= r of replicas)."
=
=C2=A0
=C2=A0

When we scale down, we simply reduce th= e number of replicas in the Kubernetes replication controller and Kubernete= s will terminate selected pods. It seems not possible to do a graceful shut= down of Pods.

Make agent to publish a periodic messag= e, letting others know that the member is up and running. (every 5s may be)= . Based on this we could detect a faulty member and this approach is cleane= r than the current approach.


Does this mean the A= utoscaler will act upon faulty event, and get rid of faulty member logic fr= om CEP?=C2=A0

I feel like, it would be costly for = Autoscaler to process events sent in every 5s, from each member.


N= o, faulty percentage will calculate by CEP. Autoscaler getting these info a= nd act upon it.
=C2=A0
= =C2=A0

What if Stratos age= nt inside one docker instance failed to start properly? Since we don=E2=80= =99t have a direct control over the docker instances, we can=E2=80=99t term= inate the docker instance with issues and spin a replacement instance.

Failures are normal and inevitable. One of the purposes o= f using a service cluster is to provide HA. We should be happy about a serv= ice cluster, if its health is higher than a x% (configurable value eg: 90% = healthy -> if you request 10 replicas and only 9 members have sent membe= r activated events, we are not worrying about the malfunctioning member sin= ce cluster is healthy.). CEP would monitor the cluster health periodically = based on the periodic ping received from instances ( cluster health =3D =C2= =A0100* current unique members / current number of replicas).



If two members should be there and one is malfu= nctioning, we are left with just one active member?
=

No, thats why cluster health coming. For e= .g. if we set it to 50%, that mean one out of two is enough.
=C2= =A0

How to maintain cluster health in a consistent user given rate?

Autoscaler will examine the current health of the clust= er, if it=E2=80=99s below par, autoscaler will predict the additional numbe= r of replicas required and ask CC to update the replication controller with= the new number of replicas. Number of minimum and maximum replicas count s= hould be added to the topology Cluster model.

CEP should be aware of the current number of replicas= in the system.

For this we might need to introduce a = new event call =E2=80=98ClusterUpdatedEvent=E2=80=99 and send the current n= umber of expected replicas in it.

Catering requests even before minimum number of members in the cl= uster.

Autoscaler will monitor the cluster health at t= he inception of the cluster and will send the ClusterActivatedEvent.=

Bit unclear on this. Requirement is to serve requests e= ven before minimum # of instances get activated? or avoid serving them?

to avoid serving them<= /div>
Can't we serve them if there is at-least one active member = in the cluster?

Thanks. =C2=A0
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pa= dding-left:1ex">
=C2=A0

Thanks.

=C2=A0
Thoughts ?

<= div>

On Mon, Sep 2= 2, 2014 at 9:20 AM, Nirmal Fernando <nirmal070125@gmail.com> wrote:
I think I found the reaso= n 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 co= ntainer configuration (I did this as per a recommendation from Kubernetes t= eam. ). I'll add back the host port config.

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

On Sun, Sep 21, 2014 at 11:19 PM, Sajith Kariyawasam <= span dir=3D"ltr"><s= ajith@wso2.com> wrote:
I= also started seeing the error when I deleted my image locally and pulled t= he latest. Found that the issue was with setting the symbolic link in Docke= rfile.
I have updated the image.=C2=A0
Really sorry for the i= nconvenience caused.=C2=A0
=
On Sun, Sep 21, 2014 at 8:58 PM, Sajith Kari= yawasam <sajith@wso2.com> wrote:


On Sun, Sep 21, 2014 at 7:30 PM, Nirmal Fernando <nirmal070125@gmai= l.com> wrote:
Hi Sajith,=

I used the docker image you provided and started kubern= etes entities successfully via Stratos in the host cluster. Following is th= e 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 <nirmal070125@gmai= l.com> wrote:


On Sun, Sep 21, 2014 at= 1:41 PM, Nirmal Fernando <nirmal070125@gmail.com> wrot= e:
I posted them in a previous email i= n this thread.

On Sun, Sep 21, 2014 at 1:37 PM, Akila Ravihansa Per= era <ravihansa@wso2.com> wrote:
Hi Nirm= al,

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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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 =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"replicas": 0
>>>>>>>=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 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2=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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0"replicas": 0
>>>>>>>>>>=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 ",
>>>>>>>>>>>
>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2=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.




--
=
Best Regards,
Nirmal

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




<= /div>--
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior=C2=A0Software Engineer,
WSO2 Inc., http://wso2.com



--
Lakmal Warusawithana
Vice President, Apache Stratos
Directo= r - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog :=C2=A0http://lakmalsview.blogspot.com/




--
Lakmal Warusawithana
Vice President, Apache Stratos
Directo= r - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog :=C2=A0http://lakmalsview.blogspot.com/




--
--
Lahiru SandaruwanCommitter and PMC member, Apache St= ratos,
Senior=C2=A0Software Engineer,
WSO2 Inc., http://wso2.com



--
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Co= mmitter of Apache Stratos,
Senior Software Engineer, WSO2 Inc.
<= br>



--
--
Lahiru SandaruwanCommitter and PMC member, Apache St= ratos,
Senior=C2=A0Software Engineer,
WSO2 Inc., http://wso2.com



-- =
Best Regards,
Nirmal

Nirmal Fernando.
PPM= C Member & Committer of Apache Stratos,
Senior Software Engineer, WS= O2 Inc.




--
Regards,
Manula Chathurika Thantriwatte
Software Engineer<= br>
WSO2 Inc. : htt= p://wso2.com
lean . enterprise . middleware







--
Akila Raviha= nsa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com --f46d043749cbf8194d0503be9c60--