Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 864208

Summary: [RFE] Application Blueprints of deleted images shall also get deleted.
Product: [Retired] CloudForms Cloud Engine Reporter: Shveta <sshveta>
Component: aeolus-conductorAssignee: Angus Thomas <athomas>
Status: CLOSED EOL QA Contact: Rehana <aeolus-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.1.0CC: morazi
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
delete app BP none

Description Shveta 2012-10-08 21:08:16 UTC
Created attachment 623742 [details]
delete app BP

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. I added a provider account for ec2 and built and pushed image for ec2 (ec2_img)
2. From this image i created an application Blueprint names ec2_image_bp
3. Launched few isntances
4. Now i want to delete the provider ec2_us_east.
5. I stopped all running ec2 instances and deleted all ec2 images (ec2_img)
6. I could delete the provider now.
7. But i am able to see the application Blueprint created from that image.
I am not able to launch instance from this blueprint and it shows all greyed out things which means this Blueprint is of no use now.

So i suggest that why don't we also delete or ask the user to delete these associated applictaion blueprints also.
The reason being i can see these application blueprints under "New Application"
in Monitor page and if i select them it says "These images does not exist"
  
Actual results:


Expected results:


Additional info:

Comment 2 Angus Thomas 2012-10-10 15:01:50 UTC
We should look at the usability here, but deleting app blueprints because the reference an image which is no longer available is not desirable.

The app blueprint could contain lots of service definitions etc., and can be fixed by swapping in a new image ID.