Bug 1286609 - Amazon instances take a long time to get deleted
Summary: Amazon instances take a long time to get deleted
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.6.0
Assignee: Joe Vlcek
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-30 10:22 UTC by Pete Savage
Modified: 2015-12-03 16:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 20:08:03 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pete Savage 2015-11-30 10:22:55 UTC
Description of problem: Amazon instances do not get Archived on deletion


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


How reproducible: 100%


Steps to Reproduce:
1. Add an ec2 provider
2. Add an instance outside of cloudforms
3. Refresh the provider
4. Delete/Terminate the instance
5. Refresh the provider

Actual results: Provider shows the instance as powered off


Expected results: Instance should be archived


Additional info:

Comment 2 Pete Savage 2015-11-30 15:53:20 UTC
I will do further tests, initially it seemed like it was never getting deleted. New instances show up immediately on refresh, but old ones take a long time to get deleted. Minimum over 10 minutes.

Comment 3 Greg Blomquist 2015-11-30 18:30:35 UTC
We'll probably have to gather data on what the instance looks like in Amazon.  Or, more specifically, what the instance looks like in results from the API calls we make to Amazon when gathering inventory.

Comment 4 Joe Vlcek 2015-12-02 20:08:03 UTC
Cloudform's behavior reflects that of EC2 in this regard.

Cloudforms does not mark an instance as "Archived" until the provider no longer reports on that instance. EC2 will continue to report on an instance for about
an hour after the instance has been terminated.

Both the EC2 and Cloudforms dashboards align, listing the "Power State" as "terminated" during this time.

Once EC2 discontinues reporting on the instance Cloudforms then moves it
to "Archived" but, again, this could take an hour. This can be observed by
monitoring both the EC2 and Cloudforms dashboards.

I do not feel this is a bug so I will mark it as such. If you disagree
please let me know.

Comment 5 Pete Savage 2015-12-03 16:31:07 UTC
Joe, this is absolutely fine, there was an issue with our mgmtsystem that pulls data from EC2, this has now been resolved. Apologies!


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