Hi,

I have tested the latest autoscaler logic. It is working as expected. After
creating containers, it waits for at least one member activated event. If
it doesn't get any member activated within a certain period, It asks CC to
kill all containers and start all again. I have  used the latest PHP image.
But I didn't get the member activated event yet. So it is continuously
killing and starting. Attached the log.

Thanks.

On Thu, Sep 25, 2014 at 7:40 PM, Manula Chathurika Thantriwatte <
manu...@wso2.com> wrote:

> Hi All,
>
> I have merge docker-integration branch with master branch. Fix the merge
> conflicts. But when building there are lots of build breaks. Currently I'm
> working on fixing these build breaks. I'll push the changes once the master
> branch build success and run the complete test.
>
> Thanks !
>
> On Thu, Sep 25, 2014 at 10:30 AM, Sajith Kariyawasam <saj...@wso2.com>
> wrote:
>
>> Hi Nirmal,
>>
>> I will look into the remaining tasks
>>
>> Thanks,
>> Sajith
>>
>> On Thu, Sep 25, 2014 at 8:45 AM, Nirmal Fernando <nirmal070...@gmail.com>
>> wrote:
>>
>>> Overall update of the testing I carried out.
>>>
>>>  - Kubernetes host registration
>>>      - Docker cartridge deployment
>>>      - Docker cartridge subscription
>>>      - Creation of docker instances in the Kubernetes host
>>>      - MQTT communication implementation
>>>
>>> Items left to be done as I identified are following:
>>>
>>>      - Rebase docker-integration branch to master branch (please make
>>> sure to preserve history by using git rebase)
>>>      - Docker instance activation
>>>      - Behaviour of auto-scaler with the latest logic
>>>      - Access PHP running in a docker instance via a SLB.
>>>      - Documentation
>>>
>>> Please add/correct if I've missed anything.
>>>
>>> On Wed, Sep 24, 2014 at 3:04 PM, Nirmal Fernando <nirmal070...@gmail.com
>>> > wrote:
>>>
>>>> Hi All,
>>>>
>>>> Please take sometime to update the Jira and move Jiras that are not
>>>> ready for M1 to M2.
>>>>
>>>> I am going to do another round of testing and gonna report the issues I
>>>> may find.
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Nirmal Fernando <nirmal070...@gmail.com>
>>>> Date: Fri, Sep 12, 2014 at 10:23 AM
>>>> Subject: Re: Shall we plan for a 4.1.0-M1 developer preview?
>>>> To: dev <dev@stratos.apache.org>
>>>>
>>>>
>>>> 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 <
>>>> nirmal070...@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 <lak...@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 <
>>>>>> lak...@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/
>>>
>>
>>
>>
>> --
>> *Sajith Kariyawasam*
>>
>>
>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
>> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>>
>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manu...@wso2.com / man...@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639 | +94783498120
TID: [0] [STRATOS] [2014-09-26 00:45:06,721] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  CloudControllerServiceImpl:startContainer {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,721] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Received an instance spawn request : MemberContext [memberId=null, nodeId=null, clusterId=test2.php.domain, cartridgeType=null, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672506680, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,725] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a replication controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] for MemberContext [memberId=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672506680, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,761] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,762] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a service Service [kind=Service, id=test2-php-domain, creationTimestamp=null, selfLink=null, name=null, port=4004, containerPort=null, selector=Selector [name=test2.php.domain], apiVersion=v1beta1, labels=null] for MemberContext [memberId=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672506680, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,797] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,798] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Added Member Context to the information model. MemberContext [memberId=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672506680, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:45:06,822] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock acquired {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:45:06,822] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Updating topology {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:45:06,837] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Topology updated: {"serviceMap":{"php":{"serviceName":"php","serviceType":"SingleTenant","clusterIdClusterMap":{"test2.php.domain":{"serviceName":"php","clusterId":"test2.php.domain","hostNames":["test2.apachestratos.org"],"isLbCluster":false,"isKubernetesCluster":true,"memberMap":{"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}}},"status":"Created","properties":{"KUBERNETES_REPLICAS_MIN":"2","KUBERNETES_CLUSTER_ID":"KubGrp1"}}},"portMap":{"8243":{"protocol":"https","value":443,"proxy":8243},"8280":{"protocol":"http","value":80,"proxy":8280}},"properties":{}}},"initialized":false} {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:45:06,837] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock released {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:45:06,837]  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.domain4756c919-79b0-408f-baa6-1589695c513b [lb-cluster-id] null {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:45:06,852]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Kubernetes entities are successfully starting up. MemberContext [memberId=test2.php.domain4756c919-79b0-408f-baa6-1589695c513b, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672506680, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:45:06,877] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call startContainer() returned in 189ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:45:06,887] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Pending member added, [member] test2.php.domain4756c919-79b0-408f-baa6-1589695c513b [kub cluster] KubGrp1 {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:46:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:46:01,004] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:46:06,888]  INFO {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member created: [service] php [cluster] test2.php.domain [member] test2.php.domain4756c919-79b0-408f-baa6-1589695c513b {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:46:06,888]  INFO {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver} -  [InstanceSpawnedEventListener] Received: class org.apache.stratos.messaging.event.topology.InstanceSpawnedEvent {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver}
TID: [0] [STRATOS] [2014-09-26 00:46:06,888]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domain4756c919-79b0-408f-baa6-1589695c513b {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:46:06,896]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domain4756c919-79b0-408f-baa6-1589695c513b {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:47:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:47:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:47:07,102]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Terminating containers via cloud controller: [cluster] test2.php.domain {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:47:07,294]  WARN {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Host port dealloacation failed due to a missing property: ALLOCATED_SERVICE_HOST_PORT {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:07,295] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Removed Member Context from the information model. org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder@5ddbd0c7 {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:47:07,311] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call terminateContainer() returned in 209ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:47:36,887] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Kubernetes cluster monitor is running.. DockerClusterMonitor [ kubernetesHostClusterId=KubGrp1, clusterId=test2.php.domain, serviceId=php] {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:47:36,940] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  CloudControllerServiceImpl:startContainer {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:36,940] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Received an instance spawn request : MemberContext [memberId=null, nodeId=null, clusterId=test2.php.domain, cartridgeType=null, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672656887, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:36,940] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a replication controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] for MemberContext [memberId=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672656887, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:36,971] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:36,972] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a service Service [kind=Service, id=test2-php-domain, creationTimestamp=null, selfLink=null, name=null, port=4005, containerPort=null, selector=Selector [name=test2.php.domain], apiVersion=v1beta1, labels=null] for MemberContext [memberId=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672656887, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:36,995] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:36,995] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Added Member Context to the information model. MemberContext [memberId=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672656887, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:47:37,016] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock acquired {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:47:37,017] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Updating topology {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:47:37,032] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Topology updated: {"serviceMap":{"php":{"serviceName":"php","serviceType":"SingleTenant","clusterIdClusterMap":{"test2.php.domain":{"serviceName":"php","clusterId":"test2.php.domain","hostNames":["test2.apachestratos.org"],"isLbCluster":false,"isKubernetesCluster":true,"memberMap":{"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}}},"status":"Created","properties":{"KUBERNETES_REPLICAS_MIN":"2","KUBERNETES_CLUSTER_ID":"KubGrp1"}}},"portMap":{"8243":{"protocol":"https","value":443,"proxy":8243},"8280":{"protocol":"http","value":80,"proxy":8280}},"properties":{}}},"initialized":false} {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:47:37,032] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock released {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:47:37,032]  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.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d [lb-cluster-id] null {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:47:37,037]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Kubernetes entities are successfully starting up. MemberContext [memberId=test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672656887, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:47:37,042] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call startContainer() returned in 155ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:47:37,042] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Pending member added, [member] test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d [kub cluster] KubGrp1 {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:48:01,002] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:48:01,003] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:48:37,044]  INFO {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member created: [service] php [cluster] test2.php.domain [member] test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:48:37,045]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:48:37,046]  INFO {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver} -  [InstanceSpawnedEventListener] Received: class org.apache.stratos.messaging.event.topology.InstanceSpawnedEvent {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver}
TID: [0] [STRATOS] [2014-09-26 00:48:37,047]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:49:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:49:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:49:37,313]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Terminating containers via cloud controller: [cluster] test2.php.domain {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:49:37,508]  WARN {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Host port dealloacation failed due to a missing property: ALLOCATED_SERVICE_HOST_PORT {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:49:37,509] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Removed Member Context from the information model. org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder@5ddbd0c7 {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:49:37,524] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call terminateContainer() returned in 211ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:50:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:50:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:50:07,043] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Kubernetes cluster monitor is running.. DockerClusterMonitor [ kubernetesHostClusterId=KubGrp1, clusterId=test2.php.domain, serviceId=php] {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:50:07,056] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  CloudControllerServiceImpl:startContainer {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,056] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Received an instance spawn request : MemberContext [memberId=null, nodeId=null, clusterId=test2.php.domain, cartridgeType=null, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672807043, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,056] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a replication controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] for MemberContext [memberId=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672807043, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,134] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,134] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a service Service [kind=Service, id=test2-php-domain, creationTimestamp=null, selfLink=null, name=null, port=4006, containerPort=null, selector=Selector [name=test2.php.domain], apiVersion=v1beta1, labels=null] for MemberContext [memberId=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672807043, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,182] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,182] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Added Member Context to the information model. MemberContext [memberId=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672807043, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:50:07,196] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock acquired {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:50:07,196] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Updating topology {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:50:07,208] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Topology updated: {"serviceMap":{"php":{"serviceName":"php","serviceType":"SingleTenant","clusterIdClusterMap":{"test2.php.domain":{"serviceName":"php","clusterId":"test2.php.domain","hostNames":["test2.apachestratos.org"],"isLbCluster":false,"isKubernetesCluster":true,"memberMap":{"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domainde615571-195a-4a7f-8d15-9d878795635c":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainde615571-195a-4a7f-8d15-9d878795635c","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}}},"status":"Created","properties":{"KUBERNETES_REPLICAS_MIN":"2","KUBERNETES_CLUSTER_ID":"KubGrp1"}}},"portMap":{"8243":{"protocol":"https","value":443,"proxy":8243},"8280":{"protocol":"http","value":80,"proxy":8280}},"properties":{}}},"initialized":false} {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:50:07,208] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock released {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:50:07,208]  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.domainde615571-195a-4a7f-8d15-9d878795635c [lb-cluster-id] null {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:50:07,212]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Kubernetes entities are successfully starting up. MemberContext [memberId=test2.php.domainde615571-195a-4a7f-8d15-9d878795635c, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672807043, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:50:07,216] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call startContainer() returned in 173ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:50:07,216] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Pending member added, [member] test2.php.domainde615571-195a-4a7f-8d15-9d878795635c [kub cluster] KubGrp1 {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:51:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:51:01,002] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:51:07,217]  INFO {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member created: [service] php [cluster] test2.php.domain [member] test2.php.domainde615571-195a-4a7f-8d15-9d878795635c {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:51:07,218]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domainde615571-195a-4a7f-8d15-9d878795635c {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:51:07,218]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domainde615571-195a-4a7f-8d15-9d878795635c {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:51:07,218]  INFO {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver} -  [InstanceSpawnedEventListener] Received: class org.apache.stratos.messaging.event.topology.InstanceSpawnedEvent {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver}
TID: [0] [STRATOS] [2014-09-26 00:52:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:52:01,001] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:52:07,525]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Terminating containers via cloud controller: [cluster] test2.php.domain {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:52:07,682]  WARN {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Host port dealloacation failed due to a missing property: ALLOCATED_SERVICE_HOST_PORT {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:07,683] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Removed Member Context from the information model. org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder@5ddbd0c7 {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:52:07,698] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call terminateContainer() returned in 172ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:52:37,217] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Kubernetes cluster monitor is running.. DockerClusterMonitor [ kubernetesHostClusterId=KubGrp1, clusterId=test2.php.domain, serviceId=php] {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:52:37,222] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  CloudControllerServiceImpl:startContainer {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,223] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Received an instance spawn request : MemberContext [memberId=null, nodeId=null, clusterId=test2.php.domain, cartridgeType=null, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672957217, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,224] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a replication controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] for MemberContext [memberId=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672957217, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,256] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,256] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller is delegating request to start a service Service [kind=Service, id=test2-php-domain, creationTimestamp=null, selfLink=null, name=null, port=4007, containerPort=null, selector=Selector [name=test2.php.domain], apiVersion=v1beta1, labels=null] for MemberContext [memberId=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1411672957217, lbClusterId=null, networkPartitionId=null] to Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,296] DEBUG {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Cloud Controller successfully starte the controller ReplicationController [kind=ReplicationController, id=test2.php.domain, resourceVersion=0, creationTimestamp=null, selfLink=null, apiVersion=v1beta1, labels=Label [name=test2.php.domain], desiredState=State [manifest=null, status=null, host=null, hostIP=null, podIP=null, replicas=2, replicaSelector=Selector [name=test2.php.domain], podTemplate=Pod [kind=null, id=null, creationTimestamp=null, selfLink=null, resourceVersion=null, apiVersion=null, desiredState=State [manifest=Manifest [version=v1beta1, id=test2.php.domain, containers=[Container [name=test2-apachestratos-org, image=54.254.64.141:5000/stratos-php, workingDir=null, command=null, volumeMounts=null, ports=[Port [name=tcp80, protocol=tcp, containerPort=80, hostPort=80], Port [name=tcp443, protocol=tcp, containerPort=443, hostPort=443]], env=[EnvironmentVariable [name=SERVICE_NAME, value=php], EnvironmentVariable [name=HOST_NAME, value=test2.apachestratos.org], EnvironmentVariable [name=MULTITENANT, value=false], EnvironmentVariable [name=TENANT_ID, value=-1234], EnvironmentVariable [name=TENANT_RANGE, value=-1234], EnvironmentVariable [name=CARTRIDGE_ALIAS, value=test2], EnvironmentVariable [name=CLUSTER_ID, value=test2.php.domain], EnvironmentVariable [name=CARTRIDGE_KEY, value=b0Xr1f52CoxNcaXU], EnvironmentVariable [name=REPO_URL, value=null], EnvironmentVariable [name=PORTS, value=80|443], EnvironmentVariable [name=PROVIDER, value=apache], EnvironmentVariable [name=PUPPET_IP, value=127.0.0.1], EnvironmentVariable [name=PUPPET_HOSTNAME, value=puppet.raj.org], EnvironmentVariable [name=PUPPET_DNS_AVAILABLE, value=null], EnvironmentVariable [name=PUPPET_ENV, value=stratos], EnvironmentVariable [name=DEPLOYMENT, value=default], EnvironmentVariable [name=COMMIT_ENABLED, value=false], EnvironmentVariable [name=MEMBER_ID, value=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd], EnvironmentVariable [name=LB_CLUSTER_ID, value=null], EnvironmentVariable [name=NETWORK_PARTITION_ID, value=null], EnvironmentVariable [name=KUBERNETES_CLUSTER_ID, value=KubGrp1], EnvironmentVariable [name=KUBERNETES_MASTER_IP, value=127.0.0.1], EnvironmentVariable [name=KUBERNETES_PORT_RANGE, value=4000-5000]]]], volumes=null], status=null, host=null, hostIP=null, podIP=null, replicas=0, replicaSelector=null, podTemplate=null, restartpolicy=null, info=null], currentState=null, status=null, message=null, code=null, labels=Label [name=test2.php.domain]], restartpolicy=null, info=null]] via Kubernetes layer. {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,296] DEBUG {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder} -  Added Member Context to the information model. MemberContext [memberId=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672957217, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.runtime.FasterLookUpDataHolder}
TID: [0] [STRATOS] [2014-09-26 00:52:37,310] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock acquired {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:52:37,310] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Updating topology {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:52:37,323] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Topology updated: {"serviceMap":{"php":{"serviceName":"php","serviceType":"SingleTenant","clusterIdClusterMap":{"test2.php.domain":{"serviceName":"php","clusterId":"test2.php.domain","hostNames":["test2.apachestratos.org"],"isLbCluster":false,"isKubernetesCluster":true,"memberMap":{"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain9625d0e5-c80b-4e80-96b8-5bce7af36994","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain06209d2a-4360-4cb3-9b88-1b4aac12ec96","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain4756c919-79b0-408f-baa6-1589695c513b","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain76ec1e6d-f7b6-4be7-a1fa-f17e4ea74335","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}},"test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domainde615571-195a-4a7f-8d15-9d878795635c":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainde615571-195a-4a7f-8d15-9d878795635c","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainb11c45f2-3ae5-4290-9cbe-7a39bc7e9b8d","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_PORT_RANGE":"4000-5000","KUBERNETES_MASTER_IP":"127.0.0.1"}},"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948":{"serviceName":"php","clusterId":"test2.php.domain","memberId":"test2.php.domainfd87c569-e3af-4a8b-a3b5-487c19936948","portMap":{},"memberPublicIp":"127.0.0.1","status":"Created","memberIp":"127.0.0.1","properties":{"KUBERNETES_MASTER_IP":"127.0.0.1","KUBERNETES_PORT_RANGE":"4000-5000"}}},"status":"Created","properties":{"KUBERNETES_REPLICAS_MIN":"2","KUBERNETES_CLUSTER_ID":"KubGrp1"}}},"portMap":{"8243":{"protocol":"https","value":443,"proxy":8243},"8280":{"protocol":"http","value":80,"proxy":8280}},"properties":{}}},"initialized":false} {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:52:37,323] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyManager} -  Write lock released {org.apache.stratos.cloud.controller.topology.TopologyManager}
TID: [0] [STRATOS] [2014-09-26 00:52:37,323]  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.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd [lb-cluster-id] null {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:52:37,328]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Kubernetes entities are successfully starting up. MemberContext [memberId=test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd, nodeId=null, clusterId=test2.php.domain, cartridgeType=php, privateIpAddress=127.0.0.1, publicIpAddress=127.0.0.1, allocatedIpAddress=null, initTime=1411672957217, lbClusterId=null, networkPartitionId=null] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-09-26 00:52:37,333] DEBUG {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Service call startContainer() returned in 116ms {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
TID: [0] [STRATOS] [2014-09-26 00:52:37,342] DEBUG {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor} -  Pending member added, [member] test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd [kub cluster] KubGrp1 {org.apache.stratos.autoscaler.monitor.DockerServiceClusterMonitor}
TID: [0] [STRATOS] [2014-09-26 00:53:01,004] DEBUG {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -  Executing topology synchronization task {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
TID: [0] [STRATOS] [2014-09-26 00:53:01,006] DEBUG {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing complete topology event {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
TID: [0] [STRATOS] [2014-09-26 00:53:37,343]  INFO {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member created: [service] php [cluster] test2.php.domain [member] test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:53:37,345]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}
TID: [0] [STRATOS] [2014-09-26 00:53:37,345]  INFO {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver} -  [InstanceSpawnedEventListener] Received: class org.apache.stratos.messaging.event.topology.InstanceSpawnedEvent {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver}
TID: [0] [STRATOS] [2014-09-26 00:53:37,346]  WARN {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor} -  Member already exists: [service] php [cluster] test2.php.domain [member] test2.php.domain15d877e0-72b7-4ec5-b59a-fba905cb14bd {org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor}


Reply via email to