Bug 1658709
Summary: | DB not updated with retirement status for child catalog items after retiring parent service | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Nandini Chandra <nachandr> |
Component: | Automate | Assignee: | Tina Fitzgerald <tfitzger> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nandini Chandra <nachandr> |
Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | high | ||
Version: | 5.9.6 | CC: | dmetzger, jocarter, jprause, mkanoor, nachandr, obarenbo, simaishi, tfitzger, vaclav.miller, wfitzger |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.9.7 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.9.7.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-24 14:33:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | CFME Core | Target Upstream Version: | |
Embargoed: |
Description
Nandini Chandra
2018-12-12 17:43:30 UTC
Hi Nandini, Can you provide a reproducer environment? Thanks, Tina Hi Nandini, Can you reproduce the issue? Thanks, Tina Hi John, We're waiting on QA to reproduce this issue. Thanks, Tina I just reproduced the issue again on the same appliance from comment #6. vmdb_production=# select id, name, retirement_state, ancestry from services order by id; id | name | retirement_state | ancestry ----+--------------+------------------+---------- 1 | bundle | retiring | 2 | bz-catalog-1 | | 1 3 | bz-catalog-2 | | 1 I created a service bundle (bz-bundle) of 2 vsphere service items(bz-catalog-1 and bz-catalog-2 , each of these services creates a VM ). I then attempted to retire the service bundle.The UI shows that the 2 VMs that were created from the child services have been retired. At the moment, the DB query shows that the 'bundle' service is retiring. The retirement state will eventually change from 'retiring' to 'error'. Expected Results: 1)The 'retirement_state' field returned by the above query should show 'retired' for the parent service . 2)The 'retirement_state' field returned by the above query should show 'retired' for the child services as well . Hi Nandini, Thanks for setting up the reproducer environment. The fix for this issue was committed on December 18th. (https://github.com/ManageIQ/manageiq/commit/dd72793edf2f7301a9db8559250f19eec35f99dc) The reproducer environment was built on 12/17/18.(5.9.7.0.20181217174909_1f8a1d7) Can you retest on a later 5.9.7 appliance? Thanks, Tina I tested on version 5.9.7.2.20190109154935_c0d03d6 and this worked. Service bundle_2vmwares retired successfully and the 2 vm's attached were retired also. Billy Reproducer: 10.16.5.104 I re-tested on a 5.9.7.2 appliance and the fix[0] resolved this issue. vmdb_production=# select id, name, retirement_state, ancestry from services order by id; id | name | retirement_state | ancestry ----+------------+------------------+---------- 3 | cat-bundle | retired | 4 | cat-item | retired | 3 5 | cat-item2 | retired | 3 [0]https://github.com/ManageIQ/manageiq/commit/dd72793edf2f7301a9db8559250f19eec35f99dc) John/Satoe, Could this BZ be moved to POST->ON_QA so that I can mark this BZ as VERIFIED. Verified in 5.9.7.2 |