[ https://issues.apache.org/jira/browse/STRATOS-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045058#comment-15045058 ]
ASF GitHub Bot commented on STRATOS-1641: ----------------------------------------- GitHub user ravihansa3000 opened a pull request: https://github.com/apache/stratos/pull/501 Closing STRATOS-1641: Validate member status when undeploying an application You can merge this pull request into a Git repository by running: $ git pull https://github.com/ravihansa3000/stratos STRATOS-1641 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/stratos/pull/501.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #501 ---- commit 99e4dcfe834af129dc7f9b2c8334f71f13d55636 Author: Akila Perera <ravihansa3...@gmail.com> Date: 2015-12-07T15:10:49Z Closing STRATOS-1641: Validate member status when undeploying an application ---- > Instances are not terminated if an application is deployed and immediately > undeployed > ------------------------------------------------------------------------------------- > > Key: STRATOS-1641 > URL: https://issues.apache.org/jira/browse/STRATOS-1641 > Project: Stratos > Issue Type: Bug > Components: Stratos Manager > Affects Versions: 4.1.5 > Reporter: Akila > Assignee: Akila > Fix For: FUTURE > > > Steps to reproduce; > 1. Deploy an application on EC2 or OpenStack > 2. Wait until Stratos spins up an instance. > 3. Undeploy the app immediately > 3. Following error is seen in the log > [2015-12-06 00:29:51,313] ERROR > {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} > - Could not terminate instance, instance id is blank: [member-id] > single-cartridge-app-ec2.my-php-app-ec2.php-ec2.domain5545861a-0a1b-4532-830e-1c9beb2d8545 > , removing member from topology... > 4. Stratos fails to terminate the spawned instance -- This message was sent by Atlassian JIRA (v6.3.4#6332)