stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Shall we plan for a 4.1.0-M1 developer preview?
Date Mon, 22 Sep 2014 03:50:45 GMT
I think I found the reason for not getting an IP address for any of the
docker containers created by Stratos via Kubernetes. Reason being not
specifying a host port for the container configuration (I did this as per a
recommendation from Kubernetes team. ). I'll add back the host port config.

On Sun, Sep 21, 2014 at 11:36 PM, Nirmal Fernando <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 locally and
>> pulled the latest. Found that the issue was with setting the 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. Following is the output of
>>>> one of the minions.
>>>>
>>>> *core@minion-2** ~ $* docker ps
>>>>
>>>> CONTAINER ID        IMAGE                                   COMMAND
>>>>             CREATED             STATUS              PORTS
>>>> NAMES
>>>>
>>>> a0250eda956a        54.254.64.141:5000/stratos-php:latest   "/bin/sh
>>>> -c '/usr/lo   17 minutes ago      Up 17 minutes
>>>> k8s--test2_-_apachestratos_-_org.2eabae66--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108.etcd--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108--7228818c
>>>>
>>>>
>>>> ac0e06d74803        kubernetes/pause:latest                 "/pause"
>>>>             17 minutes ago      Up 17 minutes
>>>> k8s--net.de8e92af--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108.etcd--c0fe9bb7_-_4177_-_11e4_-_8a91_-_080027dcc108--1d6a1a6c
>>>>
>>>>
>>>>
>>>> When I check the logs of the created container, I can see following;
>>>>
>>>>
>>>> *core@minion-2** ~ $* docker logs a0250eda956a
>>>>
>>>> ./stratos.sh: line 77: java: command not found
>>>>
>>>> /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not
>>>> permitted)
>>>>
>>>> Setting ulimit failed. See README.Debian for more information.
>>>>
>>>> AH00558: apache2: Could not reliably determine the server's fully
>>>> qualified domain name, using 10.100.101.2. Set the 'ServerName' 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 container using docker run I'm not getting such an issue.
>>> I will restart the docker registry and see.
>>>
>>>>
>>>> On Sun, Sep 21, 2014 at 1:41 PM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 21, 2014 at 1:41 PM, Nirmal Fernando <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> I posted them in a previous email in this thread.
>>>>>>
>>>>>> On Sun, Sep 21, 2014 at 1:37 PM, Akila Ravihansa Perera <
>>>>>> ravihansa@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Nirmal,
>>>>>>>
>>>>>>> Can you post the curl request and request body data?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Sun, Sep 21, 2014 at 1:11 PM, Nirmal Fernando <
>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>> > Hi Akila,
>>>>>>> >
>>>>>>> > When I register a new Kubernetes host cluster, I see two response
>>>>>>> codes in
>>>>>>> > the http response; Any idea?
>>>>>>> >
>>>>>>> > * About to connect() to 127.0.0.1 port 9443 (#0)
>>>>>>> >
>>>>>>> > *   Trying 127.0.0.1...
>>>>>>> >
>>>>>>> > * Adding handle: conn: 0x7fd2b5021000
>>>>>>> >
>>>>>>> > * Adding handle: send: 0
>>>>>>> >
>>>>>>> > * Adding handle: recv: 0
>>>>>>> >
>>>>>>> > * Curl_addHandleToPipeline: length: 1
>>>>>>> >
>>>>>>> > * - Conn 0 (0x7fd2b5021000) send_pipe: 1, recv_pipe: 0
>>>>>>> >
>>>>>>> > * Connected to 127.0.0.1 (127.0.0.1) port 9443 (#0)
>>>>>>> >
>>>>>>> > * TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
>>>>>>> >
>>>>>>> > * Server certificate: localhost
>>>>>>> >
>>>>>>> > * Server auth using Basic with user 'admin'
>>>>>>> >
>>>>>>> >> POST /stratos/admin/kubernetes/deploy/group HTTP/1.1
>>>>>>> >
>>>>>>> >> Authorization: Basic YWRtaW46YWRtaW4=
>>>>>>> >
>>>>>>> >> User-Agent: curl/7.30.0
>>>>>>> >
>>>>>>> >> Host: 127.0.0.1:9443
>>>>>>> >
>>>>>>> >> Accept: */*
>>>>>>> >
>>>>>>> >> Content-Type: application/json
>>>>>>> >
>>>>>>> >> Content-Length: 1407
>>>>>>> >
>>>>>>> >> Expect: 100-continue
>>>>>>> >
>>>>>>> >>
>>>>>>> >
>>>>>>> > < HTTP/1.1 100 Continue
>>>>>>> >
>>>>>>> > < HTTP/1.1 201 Created
>>>>>>> >
>>>>>>> > < Date: Sun, 21 Sep 2014 07:39:07 GMT
>>>>>>> >
>>>>>>> > < Location:
>>>>>>> >
>>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/deploy/group/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 image there,
>>>>>>> and that
>>>>>>> >>>>> can be accessed as 54.254.64.141:5000/stratos-php
>>>>>>> >>>>>
>>>>>>> >>>>> Thanks,
>>>>>>> >>>>> Sajith
>>>>>>> >>>>>
>>>>>>> >>>>> On Fri, Sep 19, 2014 at 12:44 PM, Sajith Kariyawasam <
>>>>>>> sajith@wso2.com>
>>>>>>> >>>>> wrote:
>>>>>>> >>>>>>
>>>>>>> >>>>>> Found an issue in the docker php image, that MB/CEP ips and
>>>>>>> ports are
>>>>>>> >>>>>> not getting set in stratos.sh.
>>>>>>> >>>>>> I have fixed that and pushed the updated image.
>>>>>>> >>>>>>
>>>>>>> >>>>>> Please find the command below which you need to use in order
>>>>>>> to start
>>>>>>> >>>>>> an instance.
>>>>>>> >>>>>>
>>>>>>> >>>>>> docker run -d -P --name sajith --env SERVICE_NAME=php --env
>>>>>>> >>>>>> CLUSTER_ID=cluster1.php.stratos.org --env DEPLOYMENT=default
>>>>>>> --env PORTS=80
>>>>>>> >>>>>> --env MEMBER_ID=member1.cluster1.php.stratos.org --env
>>>>>>> >>>>>> NETWORK_PARTITION_ID=ec2 --env PARTITION_ID=zone-1 --env
>>>>>>> >>>>>> CARTRIDGE_KEY=NfxZXmklUvRWslG5 --env REPO_URL=null  --env
>>>>>>> MB_IP=10.10.3.1
>>>>>>> >>>>>> --env MB_PORT=7611 --env CEP_IP=10.3.3.1 --env CEP_PORT=5617
>>>>>>> >>>>>> sajhak/stratos-php
>>>>>>> >>>>>>
>>>>>>> >>>>>> On Fri, Sep 19, 2014 at 12:31 PM, Nirmal Fernando
>>>>>>> >>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>> >>>>>>>
>>>>>>> >>>>>>> This is the latest replicationController json after fixing
>>>>>>> the issue
>>>>>>> >>>>>>> with payload.
>>>>>>> >>>>>>>
>>>>>>> >>>>>>> {
>>>>>>> >>>>>>>     "kind": "ReplicationController",
>>>>>>> >>>>>>>     "id": "test2.php.domain",
>>>>>>> >>>>>>>     "apiVersion": "v1beta1",
>>>>>>> >>>>>>>     "labels": {
>>>>>>> >>>>>>>         "name": "test2.php.domain"
>>>>>>> >>>>>>>     },
>>>>>>> >>>>>>>     "desiredState": {
>>>>>>> >>>>>>>         "replicas": 2,
>>>>>>> >>>>>>>         "replicaSelector": {
>>>>>>> >>>>>>>             "name": "test2.php.domain"
>>>>>>> >>>>>>>         },
>>>>>>> >>>>>>>         "podTemplate": {
>>>>>>> >>>>>>>             "desiredState": {
>>>>>>> >>>>>>>                 "manifest": {
>>>>>>> >>>>>>>                     "version": "v1beta1",
>>>>>>> >>>>>>>                     "id": "test2.php.domain",
>>>>>>> >>>>>>>                     "containers": [
>>>>>>> >>>>>>>                         {
>>>>>>> >>>>>>>                             "name":
>>>>>>> "test2-apachestratos-org",
>>>>>>> >>>>>>>                             "image": "sajhak/stratos-php",
>>>>>>> >>>>>>>                             "ports": [
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "tcp80",
>>>>>>> >>>>>>>                                     "protocol": "tcp",
>>>>>>> >>>>>>>                                     "containerPort": 80,
>>>>>>> >>>>>>>                                     "hostPort": 0
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "tcp443",
>>>>>>> >>>>>>>                                     "protocol": "tcp",
>>>>>>> >>>>>>>                                     "containerPort": 443,
>>>>>>> >>>>>>>                                     "hostPort": 0
>>>>>>> >>>>>>>                                 }
>>>>>>> >>>>>>>                             ],
>>>>>>> >>>>>>>                             "env": [
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "SERVICE_NAME",
>>>>>>> >>>>>>>                                     "value": "php"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "HOST_NAME",
>>>>>>> >>>>>>>                                     "value":
>>>>>>> >>>>>>> "test2.apachestratos.org"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "MULTITENANT",
>>>>>>> >>>>>>>                                     "value": "false"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "TENANT_ID",
>>>>>>> >>>>>>>                                     "value": "-1234"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "TENANT_RANGE",
>>>>>>> >>>>>>>                                     "value": "-1234"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "CARTRIDGE_ALIAS",
>>>>>>> >>>>>>>                                     "value": "test2"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "CLUSTER_ID",
>>>>>>> >>>>>>>                                     "value":
>>>>>>> "test2.php.domain"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "CARTRIDGE_KEY",
>>>>>>> >>>>>>>                                     "value":
>>>>>>> "LyiZrGjCgiM3Vzpe"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "REPO_URL",
>>>>>>> >>>>>>>                                     "value": "null"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "PORTS",
>>>>>>> >>>>>>>                                     "value": "80|443"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "PROVIDER",
>>>>>>> >>>>>>>                                     "value": "apache"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "PUPPET_IP",
>>>>>>> >>>>>>>                                     "value": "127.0.0.1"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "PUPPET_HOSTNAME",
>>>>>>> >>>>>>>                                     "value":
>>>>>>> >>>>>>> "puppet.apache.stratos.org"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "PUPPET_DNS_AVAILABLE",
>>>>>>> >>>>>>>                                     "value": "false"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "PUPPET_ENV",
>>>>>>> >>>>>>>                                     "value": "stratos"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "DEPLOYMENT",
>>>>>>> >>>>>>>                                     "value": "default"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "COMMIT_ENABLED",
>>>>>>> >>>>>>>                                     "value": "false"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "MEMBER_ID",
>>>>>>> >>>>>>>                                     "value":
>>>>>>> >>>>>>> "test2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name": "LB_CLUSTER_ID"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "NETWORK_PARTITION_ID"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "KUBERNETES_CLUSTER_ID",
>>>>>>> >>>>>>>                                     "value": "KubGrp1"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "KUBERNETES_MASTER_IP",
>>>>>>> >>>>>>>                                     "value": "127.0.0.1"
>>>>>>> >>>>>>>                                 },
>>>>>>> >>>>>>>                                 {
>>>>>>> >>>>>>>                                     "name":
>>>>>>> "KUBERNETES_PORT_RANGE",
>>>>>>> >>>>>>>                                     "value": "4000-5000"
>>>>>>> >>>>>>>                                 }
>>>>>>> >>>>>>>                             ]
>>>>>>> >>>>>>>                         }
>>>>>>> >>>>>>>                     ]
>>>>>>> >>>>>>>                 },
>>>>>>> >>>>>>>                 "replicas": 0
>>>>>>> >>>>>>>             },
>>>>>>> >>>>>>>             "labels": {
>>>>>>> >>>>>>>                 "name": "test2.php.domain"
>>>>>>> >>>>>>>             }
>>>>>>> >>>>>>>         }
>>>>>>> >>>>>>>     }
>>>>>>> >>>>>>> }
>>>>>>> >>>>>>>
>>>>>>> >>>>>>> On Fri, Sep 19, 2014 at 12:20 PM, Nirmal Fernando
>>>>>>> >>>>>>> <nirmal070125@gmail.com> 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} -
>>>>>>> Kubernetes cluster
>>>>>>> >>>>>>>> monitor created: KubernetesClusterMonitor [
>>>>>>> kubernetesHostClusterId=KubGrp1,
>>>>>>> >>>>>>>> clusterId=test2.php.domain, serviceId=php]
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> [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.StratosManagerTopologyEventReceiver}
>>>>>>> >>>>>>>> -  [CompleteTopologyEventListener] Received: class
>>>>>>> >>>>>>>>
>>>>>>> org.apache.stratos.messaging.event.topology.CompleteTopologyEvent
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> [2014-09-19 12:10:06,950] DEBUG
>>>>>>> >>>>>>>> {org.apache.stratos.kubernetes.client.KubernetesApiClient} -
>>>>>>> >>>>>>>> CreateReplicationController Request Body :
>>>>>>> >>>>>>>>
>>>>>>> {"kind":"ReplicationController","id":"test2.php.domain","apiVersion":"v1beta1","labels":{"name":"test2.php.domain"},"desiredState":{"replicas":2,"replicaSelector":{"name":"test2.php.domain"},"podTemplate":{"desiredState":{"manifest":{"version":"v1beta1","id":"test2.php.domain","containers":[{"name":"test2-apachestratos-org","image":"sajhak/stratos-php","ports":[{"name":"tcp80","protocol":"tcp","containerPort":80,"hostPort":0},{"name":"tcp443","protocol":"tcp","containerPort":443,"hostPort":0}],"env":[{"name":"SERVICE_NAME","value":"php"},{"name":"HOST_NAME","value":"
>>>>>>> test2.apachestratos.org
>>>>>>> "},{"name":"MULTITENANT","value":"false"},{"name":"TENANT_ID","value":"-1234"},{"name":"TENANT_RANGE","value":"-1234"},{"name":"CARTRIDGE_ALIAS","value":"test2"},{"name":"CLUSTER_ID","value":"test2.php.domain"},{"name":"CARTRIDGE_KEY","value":"LyiZrGjCgiM3Vzpe"},{"name":"REPO_URL","value":"null"},{"name":"PORTS","value":"80|443"},{"name":"PROVIDER","value":"apache"},{"name":"PUPPET_IP","value":"127.0.0.1"},{"name":"PUPPET_HOSTNAME","value":"
>>>>>>> puppet.apache.stratos.org
>>>>>>> "},{"name":"PUPPET_DNS_AVAILABLE","value":"false"},{"name":"PUPPET_ENV","value":"stratos"},{"name":"DEPLOYMENT","value":"default"},{"name":"COMMIT_ENABLED","value":"false"},{"name":"MEMBER_ID","value":"test2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9"},{"name":"LB_CLUSTER_ID"},{"name":"NETWORK_PARTITION_ID"},{"name":"KUBERNETES_CLUSTER_ID","value":"KubGrp1"},{"name":"KUBERNETES_MASTER_IP","value":"127.0.0.1"},{"name":"KUBERNETES_PORT_RANGE","value":"4000-5000"}]}]},"replicas":0},"labels":{"name":"test2.php.domain"}}}}
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> [2014-09-19 12:10:07,069] DEBUG
>>>>>>> >>>>>>>> {org.apache.stratos.kubernetes.client.KubernetesApiClient}
>>>>>>> -  CreateService
>>>>>>> >>>>>>>> Request Body :
>>>>>>> >>>>>>>>
>>>>>>> {"kind":"Service","id":"test2-php-domain","port":4000,"selector":{"name":"test2.php.domain"},"apiVersion":"v1beta1"}
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> {"kind":"Service","id":"test2-php-domain","port":4000,"selector":{"name":"test2.php.domain"},"apiVersion":"v1beta1"}
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> 200
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> [2014-09-19 12:10:07,151]  INFO
>>>>>>> >>>>>>>>
>>>>>>> {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -
>>>>>>> >>>>>>>> Publishing instance spawned event: [service] php [cluster]
>>>>>>> test2.php.domain
>>>>>>> >>>>>>>> [network-partition] null [partition] null [member]
>>>>>>> >>>>>>>> test2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9
>>>>>>> [lb-cluster-id] null
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> [2014-09-19 12:10:07,155]  INFO
>>>>>>> >>>>>>>>
>>>>>>> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -
>>>>>>> >>>>>>>> Kubernetes entities are successfully starting up.
>>>>>>> MemberContext
>>>>>>> >>>>>>>>
>>>>>>> [memberId=test2.php.domain0b318d26-36ef-42cc-a6da-cafe4981dae9, nodeId=null,
>>>>>>> >>>>>>>> clusterId=test2.php.domain, cartridgeType=php,
>>>>>>> privateIpAddress=127.0.0.1,
>>>>>>> >>>>>>>> publicIpAddress=127.0.0.1, allocatedIpAddress=null,
>>>>>>> initTime=1411108806404,
>>>>>>> >>>>>>>> lbClusterId=null, networkPartitionId=null]
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> On Fri, Sep 19, 2014 at 12:11 PM, Nirmal Fernando
>>>>>>> >>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> Please note that the environment variable section in the
>>>>>>> above
>>>>>>> >>>>>>>>> replicationController is not completed, found a bug! Will
>>>>>>> change the updated
>>>>>>> >>>>>>>>> version once it is fixed.
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> Following is a sample auto-generated Kubernetes proxy
>>>>>>> service;
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> {
>>>>>>> >>>>>>>>>     "kind": "Service",
>>>>>>> >>>>>>>>>     "id": "test2-php-domain",
>>>>>>> >>>>>>>>>     "port": 4000,
>>>>>>> >>>>>>>>>     "selector": {
>>>>>>> >>>>>>>>>         "name": "test2.php.domain"
>>>>>>> >>>>>>>>>     },
>>>>>>> >>>>>>>>>     "apiVersion": "v1beta1"
>>>>>>> >>>>>>>>> }
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> On Fri, Sep 19, 2014 at 11:04 AM, Nirmal Fernando
>>>>>>> >>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>> Here's a auto-generated Kubernetes replication controller
>>>>>>> json as
>>>>>>> >>>>>>>>>> of now, for clarity. This could change based on 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
>>>>>>> >>>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Here's the jsons and requests used.
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Register Host Cluster
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Host Json
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "groupId": "KubGrp1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "description": "Kubernetes CoreOS cluster on EC2 ",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "kubernetesMaster": {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                  "hostId" : "KubHostMaster1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                  "hostname" :
>>>>>>> >>>>>>>>>>> "master.dev.kubernetes.example.org",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                  "hostIpAddress" : "127.0.0.1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                  "property" : [
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                      {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "name": "prop1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "value": "val1"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                    },
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                      {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "name": "prop2",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "value": "val2"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                    }
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                  ]
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>        },
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>        "portRange" : {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>           "upper": "5000",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>           "lower": "4000"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>        },
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>        "kubernetesHost": [
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "hostId" : "KubHostSlave1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "hostname" :
>>>>>>> >>>>>>>>>>> "slave1.dev.kubernetes.example.org",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "hostIpAddress" : "127.0.0.1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     "property" : [
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                         {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                         "name": "prop1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                         "value": "val1"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                       },
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                         {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                         "name": "prop2",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                         "value": "val2"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                       }
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                     ]
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>                }
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>   ],
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>   "property": [
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>              "name": "prop1",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>              "value": "val1"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         },
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>              "name": "prop2",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>              "value": "val2"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         }
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>   ]
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> }
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Register a Kubernetes Group
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> curl -X POST -H "Content-Type: application/json" -d
>>>>>>> >>>>>>>>>>> @"new-kub-register.json" -k  -u admin:admin
>>>>>>> >>>>>>>>>>> "
>>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/deploy/group"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Get a registered Kubernetes Group
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> curl  -k  -u admin:admin
>>>>>>> >>>>>>>>>>> "
>>>>>>> https://127.0.0.1:9443/stratos/admin/kubernetes/group/KubGrp1"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Deploy a Docker Cartridge
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Docker Cartridge Json
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "type": "php",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "provider": "apache",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "host": "apachestratos.org",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "displayName": "PHP",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "description": "PHP Cartridge",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "version": "5.0",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "multiTenant": "false",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "deployerType": "kubernetes",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>      "portMapping": [
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            "protocol": "http",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            "port": "80",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            "proxyPort": "8280"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         },
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            "protocol": "https",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            "port": "443",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>            "proxyPort": "8243"
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>         }
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>       ],
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>       "container": [
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>        {
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>          "imageName": "sajhak/stratos-php",
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>          "dockerfileRepo"
>>>>>>> >>>>>>>>>>> :"https://github.com/sajhak/stratos-docker-php-image.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
>>>>>>> >>>>>>>>>>> <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 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 and 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 due to the
>>>>>>> use of Jax-rs proxy
>>>>>>> >>>>>>>>>>>>> APIs. Those were tricky to fix, hence re-wrote the
>>>>>>> client using Apache
>>>>>>> >>>>>>>>>>>>> HttpClient.
>>>>>>> >>>>>>>>>>>>> * Currently facing few issues with the hidden
>>>>>>> constraints of
>>>>>>> >>>>>>>>>>>>> Kubernetes entities; such as;
>>>>>>> >>>>>>>>>>>>>      - Container name can't have '.' (dots).
>>>>>>> >>>>>>>>>>>>>      - Protocol of a container port should always be
>>>>>>> 'tcp'
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>> I'll continue the testing and update the thread.
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>> On Mon, Sep 15, 2014 at 9:11 AM, Nirmal Fernando
>>>>>>> >>>>>>>>>>>>> <nirmal070125@gmail.com> 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
>>>>>>> >>>>>>>>>>>>>> <nirmal070125@gmail.com> 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
>>>>>>> >>>>>>>>>>>>>>> <nirmal070125@gmail.com> 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
>>>>>>> >>>>>>>>>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>> I create 4.1.0 M1 and M2 versions in the Jira.
>>>>>>> Please
>>>>>>> >>>>>>>>>>>>>>>>> update the version of the Jiras you are planning
>>>>>>> to get to the first
>>>>>>> >>>>>>>>>>>>>>>>> developer preview as 4.1.0 M1.
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>> We need to come up with a code freeze date too.
>>>>>>> I'd suggest
>>>>>>> >>>>>>>>>>>>>>>>> we code freeze for M1 on 13th September 8pm PST.
>>>>>>> Thoughts?
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>> On Wed, Sep 10, 2014 at 8:23 PM, Nirmal Fernando
>>>>>>> >>>>>>>>>>>>>>>>> <nirmal070125@gmail.com> wrote:
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>> I'll create a 4.1.0 M1 version, so that we can
>>>>>>> tag Jiras
>>>>>>> >>>>>>>>>>>>>>>>>> that are/will be ready.
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>> On Wed, Sep 10, 2014 at 6:40 PM, Lakmal
>>>>>>> Warusawithana
>>>>>>> >>>>>>>>>>>>>>>>>> <lakmal@wso2.com> 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> wrote:
>>>>>>> >>>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>> Hi Dev,
>>>>>>> >>>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>> How about $subject? IMO, it will help all devs
>>>>>>> to check
>>>>>>> >>>>>>>>>>>>>>>>>>>> their dependancies.
>>>>>>> >>>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>> thanks
>>>>>>> >>>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>>>>>>>> Lakmal Warusawithana
>>>>>>> >>>>>>>>>>>>>>>>>>>> Vice President, Apache Stratos
>>>>>>> >>>>>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>>>>>>> Mobile : +94714289692
>>>>>>> >>>>>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>>> >>>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>>>>>>> Lakmal Warusawithana
>>>>>>> >>>>>>>>>>>>>>>>>>> Vice President, Apache Stratos
>>>>>>> >>>>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>>>>>> Mobile : +94714289692
>>>>>>> >>>>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>>> >>>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>> --
>>>>>>> >>>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>>
>>>>>>> >>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> --
>>>>>>> >>>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>>
>>>>>>> >>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>> --
>>>>>>> >>>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> --
>>>>>>> >>>>>>>>> Best Regards,
>>>>>>> >>>>>>>>> Nirmal
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>>
>>>>>>> >>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> --
>>>>>>> >>>>>>>> Best Regards,
>>>>>>> >>>>>>>> Nirmal
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>>
>>>>>>> >>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>>
>>>>>>> >>>>>>>
>>>>>>> >>>>>>>
>>>>>>> >>>>>>>
>>>>>>> >>>>>>> --
>>>>>>> >>>>>>> Best Regards,
>>>>>>> >>>>>>> Nirmal
>>>>>>> >>>>>>>
>>>>>>> >>>>>>> Nirmal Fernando.
>>>>>>> >>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> >>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>>>>>>
>>>>>>> >>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >>>>>>
>>>>>>> >>>>>>
>>>>>>> >>>>>>
>>>>>>> >>>>>>
>>>>>>> >>>>>> --
>>>>>>> >>>>>> Sajith Kariyawasam
>>>>>>> >>>>>> Committer and PMC member, Apache Stratos,
>>>>>>> >>>>>> WSO2 Inc., http://wso2.com
>>>>>>> >>>>>> AMIE (SL)
>>>>>>> >>>>>> Mobile: +94772269575
>>>>>>> >>>>>>
>>>>>>> >>>>>
>>>>>>> >>>>>
>>>>>>> >>>>>
>>>>>>> >>>>> --
>>>>>>> >>>>> Sajith Kariyawasam
>>>>>>> >>>>> Committer and PMC member, Apache Stratos,
>>>>>>> >>>>> WSO2 Inc., http://wso2.com
>>>>>>> >>>>> AMIE (SL)
>>>>>>> >>>>> Mobile: +94772269575
>>>>>>> >>>>>
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> --
>>>>>>> >>>> Sajith Kariyawasam
>>>>>>> >>>> Committer and PMC member, Apache Stratos,
>>>>>>> >>>> WSO2 Inc., http://wso2.com
>>>>>>> >>>> AMIE (SL)
>>>>>>> >>>> Mobile: +94772269575
>>>>>>> >>>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> --
>>>>>>> >>> Sajith Kariyawasam
>>>>>>> >>> Committer and PMC member, Apache Stratos,
>>>>>>> >>> WSO2 Inc., http://wso2.com
>>>>>>> >>> AMIE (SL)
>>>>>>> >>> Mobile: +94772269575
>>>>>>> >>>
>>>>>>> >>
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> --
>>>>>>> >> Best Regards,
>>>>>>> >> Nirmal
>>>>>>> >>
>>>>>>> >> Nirmal Fernando.
>>>>>>> >> PPMC Member & Committer of Apache Stratos,
>>>>>>> >> Senior Software Engineer, WSO2 Inc.
>>>>>>> >>
>>>>>>> >> Blog: http://nirmalfdo.blogspot.com/
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> > --
>>>>>>> > Best Regards,
>>>>>>> > Nirmal
>>>>>>> >
>>>>>>> > Nirmal Fernando.
>>>>>>> > PPMC Member & Committer of Apache Stratos,
>>>>>>> > Senior Software Engineer, WSO2 Inc.
>>>>>>> >
>>>>>>> > Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Akila Ravihansa Perera
>>>>>>> Software Engineer, WSO2
>>>>>>>
>>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Sajith Kariyawasam*
>>>
>>>
>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
>>> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>>>
>>
>>
>>
>> --
>> *Sajith Kariyawasam*
>>
>>
>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
>> <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/

Mime
View raw message