Bug 721351

Summary: Deleting a deployment must stop all that deployable's instances
Product: [Retired] CloudForms Cloud Engine Reporter: Angus Thomas <athomas>
Component: aeolus-conductorAssignee: Tomas Sedovic <tsedovic>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: akarol, dajohnso, deltacloud-maint, slinaber, ssachdev, tsedovic
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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