You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Udara Liyanage (JIRA)" <ji...@apache.org> on 2014/10/28 18:54:33 UTC

[jira] [Commented] (STRATOS-922) member become obsolete even application became active

    [ https://issues.apache.org/jira/browse/STRATOS-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187177#comment-14187177 ] 

Udara Liyanage commented on STRATOS-922:
----------------------------------------

[2014-10-28 23:20:36,389]  INFO {org.apache.stratos.autoscaler.grouping.topic.StatusEventPublisher} -  Publishing Application activated event for [application]: php-only
[2014-10-28 23:20:36,469]  INFO {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} -  Topology element [ php-only ]'s life Cycle State changed from [ Created ] to [ Active ]
[2014-10-28 23:20:36,469]  INFO {org.apache.stratos.cloud.controller.topology.TopologyBuilder} -  Application activated adding status started for Topology
[2014-10-28 23:20:36,538]  INFO {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing application activated event: [appId] php-only
[2014-10-28 23:20:36,626]  INFO {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} -  Topology element [ php-only ]'s life Cycle State changed from [ Created ] to [ Active ]
[2014-10-28 23:20:36,627]  INFO {org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyEventReceiver} -  [ApplicationActivatedEvent] Received: class org.apache.stratos.messaging.event.topology.ApplicationActivatedEvent
[2014-10-28 23:20:36,627]  INFO {org.apache.stratos.autoscaler.monitor.application.ApplicationMonitor} -  [ApplicationMonitor] php-only state changes from Created to Active
[2014-10-28 23:21:41,711]  INFO {org.apache.stratos.autoscaler.monitor.AbstractClusterMonitor} -  ***** getNetworkPartitionCtxt ec2
[2014-10-28 23:21:41,712]  INFO {org.apache.stratos.autoscaler.monitor.AbstractClusterMonitor} -  returnnig network partition context NetworkPartitionContext [id=ec2partitionAlgorithm=one-after-another, minInstanceCount=1, maxInstanceCount=1]
[2014-10-28 23:21:41,713]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Terminating instance via cloud controller: [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8
[2014-10-28 23:21:41,727]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Starting to terminate an instance with member id : mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8 in partition id: AWSEC2AsiaPacificPartition1 of cluster id: mytomcat.php.domain and of cartridge type: php
[2014-10-28 23:21:41,727]  INFO {org.apache.stratos.autoscaler.grouping.topic.StatusEventPublisher} -  Publishing Cluster in-activate event for [application]: null [cluster]: mytomcat.php.domain
[2014-10-28 23:21:41,835]  INFO {org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatEventReceiver} -  Faulty member is terminated and removed from the active members list: [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8 [partition] AWSEC2AsiaPacificPartition1 [cluster] mytomcat.php.domain 
[2014-10-28 23:21:41,839]  INFO {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} -  Topology element [ mytomcat.php.domain ]'s life Cycle State changed from [ Active ] to [ Inactive ]
[2014-10-28 23:21:41,840]  INFO {org.apache.stratos.cloud.controller.topology.TopologyBuilder} -  Cluster in-active adding status started
[2014-10-28 23:21:41,935]  INFO {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing cluster in-active event: [service] php [cluster] mytomcat.php.domain [appId] null
[2014-10-28 23:21:42,079]  INFO {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} -  Topology element [ mytomcat.php.domain ]'s life Cycle State changed from [ Active ] to [ Inactive ]
[2014-10-28 23:21:42,080]  INFO {org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyEventReceiver} -  [ClusterInActivateEvent] Received: class org.apache.stratos.messaging.event.topology.ClusterInactivateEvent
[2014-10-28 23:21:42,081]  INFO {org.apache.stratos.autoscaler.monitor.AbstractClusterMonitor} -  [Monitor] mytomcat.php.domain is notifying the parenton its state change from Active to Inactive
[2014-10-28 23:21:42,081]  INFO {org.apache.stratos.autoscaler.monitor.AbstractClusterMonitor} -  [Cluster] mytomcat.php.domainis not notifying the parent, since it is identified as the independent unit
[2014-10-28 23:22:25,592]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Member is terminated: MemberContext [memberId=mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8, nodeId=ap-southeast-1/i-97c23abc, clusterId=mytomcat.php.domain, cartridgeType=php, privateIpAddress=10.142.167.186, publicIpAddress=54.179.227.249, allocatedIpAddress=null, initTime=1414517941631, lbClusterId=null, networkPartitionId=ec2]
[2014-10-28 23:22:25,716]  INFO {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing member terminated event: [service] php [cluster] mytomcat.php.domain [network-partition] ec2 [partition] AWSEC2AsiaPacificPartition1 [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8 [groupId] null
[2014-10-28 23:22:25,804]  INFO {org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver} -  [MemberTerminatedEventListener] Received: class org.apache.stratos.messaging.event.topology.MemberTerminatedEvent
[2014-10-28 23:22:25,809]  INFO {org.apache.stratos.messaging.message.processor.topology.MemberTerminatedMessageProcessor} -  Member terminated: [service] php [cluster] mytomcat.php.domain [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8
[2014-10-28 23:22:25,811]  INFO {org.apache.stratos.metadataservice.listener.TopologyAgent} -  Member terminated event received
[2014-10-28 23:22:25,812]  WARN {org.apache.stratos.messaging.message.processor.topology.MemberTerminatedMessageProcessor} -  Member already terminated: [service] php [cluster] mytomcat.php.domain [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8
[2014-10-28 23:22:25,814]  WARN {org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyEventReceiver} -  Member is not available in any of the list active, pending and termination pending
[2014-10-28 23:22:25,814]  INFO {org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyEventReceiver} -  Member stat context has been removed                successfully: [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8
[2014-10-28 23:22:25,815]  INFO {org.apache.stratos.autoscaler.status.checker.StatusChecker} -  Cluster has non terminated [members] and in the [status] Inactive
[2014-10-28 23:22:25,816]  WARN {org.apache.stratos.messaging.message.processor.topology.MemberTerminatedMessageProcessor} -  Member already terminated: [service] php [cluster] mytomcat.php.domain [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8
[2014-10-28 23:22:25,817]  INFO {org.apache.stratos.cep.extension.CEPTopologyEventReceiver} -  Member [member id] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8 was removed from the time stamp map.
[2014-10-28 23:22:25,817]  WARN {org.apache.stratos.messaging.message.processor.topology.MemberTerminatedMessageProcessor} -  Member already terminated: [service] php [cluster] mytomcat.php.domain [member] mytomcat.php.domainfdaa0ccc-2940-4b84-83eb-badd95514cf8
[2014-10-28 23:22:51,313]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} - 

> member become obsolete even application became active
> -----------------------------------------------------
>
>                 Key: STRATOS-922
>                 URL: https://issues.apache.org/jira/browse/STRATOS-922
>             Project: Stratos
>          Issue Type: Bug
>            Reporter: Udara Liyanage
>
> [2014-10-28 22:22:43,423]  INFO {org.apache.stratos.manager.listener.InstanceStatusListener} -  Instance status message received
> [2014-10-28 22:22:43,424]  INFO {org.apache.stratos.cloud.controller.topic.instance.status.InstanceStatusEventMessageDelegator} -  Instance status event message received from queue: org.apache.stratos.messaging.event.instance.status.InstanceActivatedEvent
> [2014-10-28 22:22:43,424]  INFO {org.apache.stratos.manager.listener.InstanceStatusListener} -  Event class name: org.apache.stratos.messaging.event.instance.status.InstanceActivatedEvent 
> [2014-10-28 22:22:43,425]  INFO {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} -  Topology element [ mymysql.mysql.domain489c7fe7-afb0-4ce1-8399-3f0551bb8411 ]'s life Cycle State changed from [ Starting ] to [ Activated ]
> [2014-10-28 22:22:43,425]  INFO {org.apache.stratos.cloud.controller.topology.TopologyBuilder} -  member started event adding status activated
> [2014-10-28 22:22:43,531]  INFO {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  Publishing member activated event: [service] mysql [cluster] mymysql.mysql.domain [network-partition] ec2 [partition] AWSEC2AsiaPacificPartition1 [member] mymysql.mysql.domain489c7fe7-afb0-4ce1-8399-3f0551bb8411 [groupId] null
> [2014-10-28 22:25:16,627]  INFO {org.apache.stratos.autoscaler.PartitionContext} -  Pending state of member: mymysql.mysql.domain489c7fe7-afb0-4ce1-8399-3f0551bb8411 is expired. Adding as an obsoleted member.
> [2014-10-28 22:25:35,222]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Terminating instance via cloud controller: [member] mymysql.mysql.domain489c7fe7-afb0-4ce1-8399-3f0551bb8411
> [2014-10-28 22:25:35,243]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Starting to terminate an instance with member id : mymysql.mysql.domain489c7fe7-afb0-4ce1-8399-3f0551bb8411 in partition id: AWSEC2AsiaPacificPartition1 of cluster id: mymysql.mysql.domain and of cartridge type: mysql
> [2014-10-28 22:25:35,244]  INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} -  Trying to spawn an instance via cloud controller: [cluster] mymysql.mysql.domain [partition] AWSEC2AsiaPacificPartition1 [lb-cluster] null [network-partition-id] ec2
> [2014-10-28 22:25:56,148]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Instance is successfully starting up. MemberContext [memberId=mymysql.mysql.domain8b42eb15-8218-48ee-bc96-5904a8c3bb46, nodeId=ap-southeast-1/i-15ce363e, clusterId=mymysql.mysql.domain, cartridgeType=mysql, privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null, initTime=1414515335244, lbClusterId=null, networkPartitionId=ec2]
> [2014-10-28 22:25:56,149]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Retrieving Public IP Address : MemberContext [memberId=mymysql.mysql.domain8b42eb15-8218-48ee-bc96-5904a8c3bb46, nodeId=ap-southeast-1/i-15ce363e, clusterId=mymysql.mysql.domain, cartridgeType=mysql, privateIpAddress=null, publicIpAddress=54.179.25.128, allocatedIpAddress=null, initTime=1414515335244, lbClusterId=null, networkPartitionId=ec2]
> [2014-10-28 22:25:56,150]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Retrieving Private IP Address. MemberContext [memberId=mymysql.mysql.domain8b42eb15-8218-48ee-bc96-5904a8c3bb46, nodeId=ap-southeast-1/i-15ce363e, clusterId=mymysql.mysql.domain, cartridgeType=mysql, privateIpAddress=10.142.105.199, publicIpAddress=54.179.25.128, allocatedIpAddress=null, initTime=1414515335244, lbClusterId=null, networkPartitionId=ec2]
> [2014-10-28 22:25:56,227]  INFO {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} -  Life Cycle State Manager started for Topology element [ mymysql.mysql.domain8b42eb15-8218-48ee-bc96-5904a8c3bb46 ], initial state: Created



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)