I will have a look.
On Sun, Jan 11, 2015 at 9:28 AM, Imesh Gunaratne <[email protected]> wrote:
> Yes I can also see this problem with the above dependency scaling sample:
>
> [2015-01-11 09:21:08,843] INFO
> {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Application
> deployed successfully: [application-id] app_group_v2
> [2015-01-11 09:21:08,853] INFO
> {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder} -
> Building dependency for the Application/Group app_group_v2
> [2015-01-11 09:21:08,854] INFO
> {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder} -
> Setting the [terminationBehaviour] terminate-none to the [dependency-tree]
> app_group_v2
>
> There are no logs after the above lines, we might need to investigate and
> see the cause of the issue.
>
> Thanks
>
> On Sun, Jan 11, 2015 at 2:39 AM, Lahiru Sandaruwan <[email protected]>
> wrote:
>
>> Sorry, There is no error. But this is the last set of logs i can see.
>>
>> On Sun, Jan 11, 2015 at 2:38 AM, Lahiru Sandaruwan <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> It seems $subject on master.
>>> Sample : [1]
>>> Error: [2]
>>>
>>> Thanks.
>>>
>>> [1]
>>> https://github.com/rekathiru/grouping-samples/tree/master/dependency_scaling/sample_groups
>>>
>>> [2]
>>>
>>> [2015-01-11 02:31:14,481] INFO
>>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>>> '[email protected] [-1234]' logged in at [2015-01-11 02:31:14,481+0530]
>>>
>>> [2015-01-11 02:31:14,524] INFO
>>> {org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} -
>>> Application Cluster esbgroup6.esb.domain created in CC topology
>>>
>>> [2015-01-11 02:31:14,524] INFO
>>> {org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} -
>>> Application Cluster mytomcat.tomcat.domain created in CC topology
>>>
>>> [2015-01-11 02:31:14,524] INFO
>>> {org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} -
>>> Application Cluster phpgroup6.php.domain created in CC topology
>>>
>>> [2015-01-11 02:31:14,530] INFO
>>> {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher}
>>> - Publishing application clusters created event: [application-id]
>>> app_group_v2
>>>
>>> [2015-01-11 02:31:14,540] INFO
>>> {org.apache.stratos.messaging.message.processor.topology.ApplicationClustersCreatedMessageProcessor}
>>> - Cluster created: [ Cluster Id: esbgroup6.esb.domain, Service Name: esb,
>>> Autoscale Policy Name: autoscale_policy_1, Deployment Policy Name: null,
>>> Tenant Range: *, Is a Kubernetes Cluster: false ]
>>>
>>> [2015-01-11 02:31:14,540] INFO
>>> {org.apache.stratos.messaging.message.processor.topology.ApplicationClustersCreatedMessageProcessor}
>>> - Cluster created: [ Cluster Id: mytomcat.tomcat.domain, Service Name:
>>> tomcat, Autoscale Policy Name: autoscale_policy_1, Deployment Policy Name:
>>> null, Tenant Range: *, Is a Kubernetes Cluster: false ]
>>>
>>> [2015-01-11 02:31:14,540] INFO
>>> {org.apache.stratos.messaging.message.processor.topology.ApplicationClustersCreatedMessageProcessor}
>>> - Cluster created: [ Cluster Id: phpgroup6.php.domain, Service Name: php,
>>> Autoscale Policy Name: autoscale_policy_1, Deployment Policy Name: null,
>>> Tenant Range: *, Is a Kubernetes Cluster: false ]
>>>
>>> [2015-01-11 02:31:14,540] INFO
>>> {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver}
>>> - [ApplicationClustersCreatedEvent] Received: class
>>> org.apache.stratos.messaging.event.topology.ApplicationClustersCreatedEvent
>>>
>>> [2015-01-11 02:31:14,546] INFO
>>> {org.apache.stratos.messaging.domain.application.locking.ApplicationLockHierarchy}
>>> - Added lock for Application app_group_v2
>>>
>>> [2015-01-11 02:31:14,561] INFO
>>> {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating
>>> partitions of policy via cloud controller: [cartridge-type] tomcat
>>>
>>> [2015-01-11 02:31:14,564] INFO
>>> {org.apache.stratos.messaging.message.processor.application.ApplicationCreatedMessageProcessor}
>>> - Application with id [ app_group_v2 ] created
>>>
>>> [2015-01-11 02:31:14,577] INFO
>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
>>> - All partitions [P1] were validated successfully, against the Cartridge:
>>> tomcat
>>>
>>> [2015-01-11 02:31:14,585] INFO
>>> {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating
>>> partitions of policy via cloud controller: [cartridge-type] esb
>>>
>>> [2015-01-11 02:31:14,595] INFO
>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
>>> - All partitions [P1] were validated successfully, against the Cartridge:
>>> esb
>>>
>>> [2015-01-11 02:31:14,597] INFO
>>> {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating
>>> partitions of policy via cloud controller: [cartridge-type] php
>>>
>>> [2015-01-11 02:31:14,610] INFO
>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
>>> - All partitions [P1] were validated successfully, against the Cartridge:
>>> php
>>>
>>> [2015-01-11 02:31:14,619] INFO
>>> {org.apache.stratos.autoscaler.pojo.policy.PolicyManager} - Deployment
>>> policy is added successfully: [application-id] app_group_v2
>>>
>>> [2015-01-11 02:31:14,620] INFO
>>> {org.apache.stratos.autoscaler.services.impl.AutoScalerServiceImpl} -
>>> Adding application signup: [application-id] app_group_v2
>>>
>>> [2015-01-11 02:31:14,634] INFO
>>> {org.apache.stratos.manager.components.ApplicationSignUpHandler} - Adding
>>> application signup: [application-id] app_group_v2 [tenant-id] -1234
>>>
>>> [2015-01-11 02:31:14,645] INFO
>>> {org.apache.stratos.manager.components.ApplicationSignUpHandler} -
>>> Application signup added successfully: [application-id] app_group_v2
>>> [tenant-id] -1234
>>>
>>> [2015-01-11 02:31:14,646] INFO
>>> {org.apache.stratos.autoscaler.services.impl.AutoScalerServiceImpl} -
>>> Application signup added successfully: [application-id] app_group_v2
>>>
>>> [2015-01-11 02:31:14,651] INFO
>>> {org.apache.stratos.autoscaler.util.AutoscalerUtil} - Application monitor
>>> is going to be started for [application] app_group_v2
>>>
>>> [2015-01-11 02:31:14,653] INFO
>>> {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Application
>>> deployed successfully: [application-id] app_group_v2
>>>
>>> [2015-01-11 02:31:14,659] INFO
>>> {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder}
>>> - Building dependency for the Application/Group app_group_v2
>>>
>>> [2015-01-11 02:31:14,659] INFO
>>> {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder}
>>> - Setting the [terminationBehaviour] terminate-none to the
>>> [dependency-tree] app_group_v2
>>>
>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: [email protected] blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: [email protected] blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>
--
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware
email: [email protected] blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146