Isuru Haththotuwa created STRATOS-1622: ------------------------------------------
Summary: Runtime Error in Undeploying Application (Member does not Exist) Key: STRATOS-1622 URL: https://issues.apache.org/jira/browse/STRATOS-1622 Project: Stratos Issue Type: Bug Affects Versions: 4.1.4 Reporter: Isuru Haththotuwa Priority: Minor Fix For: FUTURE The following error is observed in undeploying an application: java.lang.RuntimeException: Member wso2brs-210-application.wso2brs-210-worker.wso2brs-210-worker.domainb23318c3-453c-4639-91e7-cfc408c6f249 does not exist at org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder.handleMemberTerminated(TopologyBuilder.java:794) at org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.executeMemberTerminationPostProcess(CloudControllerServiceUtil.java:59) at org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:59) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [2015-11-16 05:37:35,744] INFO {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} - Starting to terminate member: [cartridge-type] wso2brs-210-manager [member-id] wso2brs-210-application.wso2brs-210-manager.wso2brs-210-manager.domain45f1962d-950d-4489-adeb-6da68f5bf9c7 Exception in thread "pool-32-thread-5" org.apache.stratos.cloud.controller.exception.CloudControllerException: Instance termination failed! MemberContext [applicationId=wso2brs-210-application, cartridgeType=wso2brs-210-worker, clusterId=wso2brs-210-application.wso2brs-210-worker.wso2brs-210-worker.domain, memberId=wso2brs-210-application.wso2brs-210-worker.wso2brs-210-worker.domainb23318c3-453c-4639-91e7-cfc408c6f249, instanceId=ap-southeast-1/i-587b16fc, partition=Partition [id=partition-1, description=null, isPublic=false, provider=ec2, properties=Properties [properties=[Property [name=region, value=ap-southeast-1], Property [name=zone, value=ap-southeast-1a]]]], defaultPrivateIP=10.146.146.142, defaultPublicIP=54.179.67.126, allocatedIPs=null, publicIPs=[54.179.67.126], privateIPs=[10.146.146.142], initTime=1447650999185, lbClusterId=null, networkPartitionId=network-partition-ec2, kubernetesPodId=null, kubernetesPodName=null, loadBalancingIPType=Public, instanceMetadata=org.apache.stratos.cloud.controller.domain.InstanceMetadata@2daa0142, properties=Properties [properties=[Property [name=MIN_COUNT, value=2], Property [name=SCALING_DECISION_ID, value=wso2brs-210-application.wso2brs-210-worker.wso2brs-210-worker.domain-23f1caf6-145a-4755-bb3d-260479a74ef1], Property [name=EC2_REGION, value=ap-southeast-1], Property [name=EC2_AVAILABILITY_ZONE, value=ap-southeast-1a]]]] at org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:63) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Member wso2brs-210-application.wso2brs-210-worker.wso2brs-210-worker.domainb23318c3-453c-4639-91e7-cfc408c6f249 does not exist at org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder.handleMemberTerminated(TopologyBuilder.java:794) at org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.executeMemberTerminationPostProcess(CloudControllerServiceUtil.java:59) at org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:59) ... 3 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)