Bug 721351 - Deleting a deployment must stop all that deployable's instances
Summary: Deleting a deployment must stop all that deployable's instances
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Tomas Sedovic
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 11:03 UTC by Angus Thomas
Modified: 2012-01-26 12:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Angus Thomas 2011-07-14 11:03:13 UTC
Description of problem:
When a user deletes a deployable, the app should should ensure that all instances which the deployable contains are stopped before completing the deletion of the deployable itself.

Version-Release number of selected component (if applicable):
aeolus-conductor-0.3.0-0.fc14.20110711131044git5bc7abf.noarch


How reproducible:
Always

Steps to Reproduce:
1. Launch a deployable which contains an instance
2. Navigate Pool details -> Deployable
3. Press "Delete" to delete the deployable, and confirm
  
Actual results:
Deployable is removed, but instances contained within it are not

Expected results:
Deployable is removed, and so are instances contained within it

Additional info:

Comment 1 Tomas Sedovic 2011-07-20 12:10:44 UTC
Sent a patch to the mailing list:

https://fedorahosted.org/pipermail/aeolus-devel/2011-July/003291.html

With that patch, we allow to delete deployment that has all of its instances either stopped or running. It will stop the running ones, delete the deployment and delete all associated instances.

Comment 2 Tomas Sedovic 2011-07-20 15:31:33 UTC
Pushed into next: 742ec068d6c97bb9d69432eb441116365726eea3

Comment 3 Aziza Karol 2011-07-22 11:00:20 UTC
Deleting a deployment stop and delete all associated instances and then delete the deployment itself.

verified deleting deployments with instances stop and running.

verified on:
[root@hp-dc5800-01 templates]# rpm -qa  | grep aeolus
aeolus-conductor-doc-0.3.0-0.el6.20110721214453git381316a.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110721214453git381316a.noarch
rubygem-aeolus-image-0.0.1-1.el6.20110721174118git6f9d8d4.noarch
aeolus-all-0.3.0-0.el6.20110721214453git381316a.noarch
aeolus-conductor-0.3.0-0.el6.20110721214453git381316a.noarch
aeolus-configure-2.0.1-1.el6.20110721154028git42b1e20.noarch
[root@hp-dc5800-01 templates]#

Comment 4 wes hayutin 2011-08-01 20:01:22 UTC
release pending...

Comment 5 wes hayutin 2011-08-01 20:01:39 UTC
release pending...

Comment 6 wes hayutin 2011-08-01 20:01:48 UTC
release pending.. 2

Comment 8 wes hayutin 2011-12-08 14:00:52 UTC
perm close

Comment 9 wes hayutin 2011-12-08 14:03:18 UTC
closing out old bugs


Note You need to log in before you can comment on or make changes to this bug.