Bug 1660637 - Can't retire service and Vms are orphaned in service bundle
Summary: Can't retire service and Vms are orphaned in service bundle
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.7
Assignee: Tina Fitzgerald
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-18 21:25 UTC by David Luong
Modified: 2022-03-13 16:34 UTC (History)
10 users (show)

Fixed In Version: 5.9.7.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-23 14:35:55 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
5.9.6 hotfix (108 bytes, text/plain)
2018-12-19 14:34 UTC, Satoe Imaishi
no flags Details
hotfix-cfme-5.9.6.5-4 (17.43 MB, application/x-rpm)
2018-12-21 15:40 UTC, Josh Carter
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0110 0 None None None 2019-01-23 14:35:58 UTC

Description David Luong 2018-12-18 21:25:48 UTC
Description of problem:
When trying to retire a service bundle, the service won't retire and the VMs under it are orphaned instead of retired or archived

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

How reproducible:
Always

Steps to Reproduce:
1.  Create a service bundle
2.  Order service bundle
3.  Retire service bundle

Actual results:
The service is not retired, VMs are oprhaned, VMs are removed from within the provider

Expected results:
Service retires and the VMs are archived

Additional info:

Comment 2 Tina Fitzgerald 2018-12-19 12:41:43 UTC
Tested Service Bundle retirement on 5.9.6.5.20181130162459_7977a85.
Recreated issue where sub services were not retired, causing retirement to retry until max_retires, then error out.
The VM's were properly retired.

Applied fix(reverted retirement change) and retested. Service and all of its sub services(and VMs) were properly retired.

Comment 3 Satoe Imaishi 2018-12-19 13:54:06 UTC
https://github.com/ManageIQ/manageiq/pull/18252 was reverted


commit dd72793edf2f7301a9db8559250f19eec35f99dc
Author: Satoe Imaishi <simaishi>
Date:   Tue Dec 18 11:06:15 2018 -0500

    Revert "Merge pull request #18252 from d-m-u/fixing_bundled_service_retirement"
    
    This reverts commit 7977a85146ec6a38105858d3eac566eea5bf7c23, reversing
    changes made to dd593c38442ce6d6d6fd6e1338156a8ee663b7d8.

Comment 5 Josh Carter 2018-12-21 15:40:42 UTC
Created attachment 1516163 [details]
hotfix-cfme-5.9.6.5-4

Comment 8 errata-xmlrpc 2019-01-23 14:35:55 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://access.redhat.com/errata/RHBA-2019:0110


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