Bug 1215216

Summary: Retirement of orchestration service fails if the stack has been removed from provider
Product: Red Hat CloudForms Management Engine Reporter: Bill Wei <bilwei>
Component: AutomateAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: jhardy, mfeifer, mkanoor, obarenbo, sshveta, tfitzger
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:59:51 UTC 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:

Description Bill Wei 2015-04-24 15:24:04 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Order an orchestration service to provision a stack
2. Delete the stack from provider
3. Retire the orchestration service

Actual results:
The service is not retired due to an error in the retirement process

Expected results:
The service should be retired and removed from VMDB

Additional info:

Comment 2 Bill Wei 2015-04-28 17:51:03 UTC
waiting for PR merge: https://github.com/ManageIQ/manageiq/pull/2765

Comment 3 CFME Bot 2015-04-29 21:41:05 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e775a10ac7972a6a2c864cc07a4de14a8e554a87

commit e775a10ac7972a6a2c864cc07a4de14a8e554a87
Author:     Bill Wei <bilwei>
AuthorDate: Fri Apr 24 16:35:52 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Mon Apr 27 17:11:56 2015 -0400

    Handle stack that already deleted from provider
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1215216

 .../Methods.class/__methods__/check_removed_from_provider.rb |  4 ++--
 .../Methods.class/__methods__/remove_from_provider.rb        | 12 ++++++++----
 .../service_models/miq_ae_service_orchestration_stack.rb     |  8 ++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

Comment 5 Shveta 2015-05-07 03:52:16 UTC
Fixed in 5.4.0.0.25.20150429111523_0455f87

Comment 7 errata-xmlrpc 2015-06-16 12:59:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1100.html