Bug 1722194 - retiring two services at the same time leads to only the vms of the first service being retired
Summary: retiring two services at the same time leads to only the vms of the first ser...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.10.5
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.11.0
Assignee: drew uhlmann
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
: 1720244 (view as bug list)
Depends On:
Blocks: 1723833
TreeView+ depends on / blocked
 
Reported: 2019-06-19 16:10 UTC by Felix Dewaleyne
Modified: 2019-12-13 15:00 UTC (History)
9 users (show)

Fixed In Version: 5.11.0.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1723833 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:00:54 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Felix Dewaleyne 2019-06-19 16:10:08 UTC
Description of problem:
retiring two services at the same time leads to only the vms of the first service being retired - after completion of the retirement of the first service, the second service is retired without any automation running for it.

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

How reproducible:
all the time

Steps to Reproduce:
1. create a catalog item or two that will be used to create vms against any provider (only infrastrucutre providers used to reproduce this)
2. create at least two services from the catalogs
3. go to services > my services
4. select 2 or more services
5. use lifecycle > retire services now

Actual results:
the retirement starts, runs as expeted for the first service, all services being retired are marked as being in the "retiring" state but only the vm attached to the first service is marked as "retiring". When the retirement completes, all services being retired are gone, but the vms of any service other than the first remain.

Expected results:
all services are retired and all automation runs

Additional info:
this is done using the default stock retirement automate. 
doesn't happen when retiring multiple vms, only multiple services under services > my services.
if you display the details of the request created for the retirement, only the vm of the first service are listed under "affected vms"
I have not tested or seen the results of trying to remove more than 2 active services

Comment 3 Niyaz Akhtar Ansari 2019-06-21 06:12:21 UTC
Same issue https://bugzilla.redhat.com/show_bug.cgi?id=1720244

Comment 4 drew uhlmann 2019-06-24 13:57:00 UTC
https://github.com/ManageIQ/manageiq/pull/18908

Comment 5 Tina Fitzgerald 2019-06-24 15:09:59 UTC
*** Bug 1720244 has been marked as a duplicate of this bug. ***

Comment 8 drew uhlmann 2019-07-10 15:20:22 UTC
Hey Niyaz, could you check this again for me? I don't think it should be verified, I think it's broken in the same way that the 5'10 version of this ticket is.

Comment 10 Satoe Imaishi 2019-07-11 20:02:54 UTC
https://github.com/ManageIQ/manageiq/pull/18958


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