Bug 1530622

Summary: [Target Refresh] Removed Template is not updated on CFME UI
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hrazdil <rhrazdil>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, dajohnso, gblomqui, istein, jfrey, jhardy, mperina, obarenbo, rhrazdil, simaishi
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev:target refresh
Fixed In Version: 5.9.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 15:19:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1511445    
Bug Blocks:    
Attachments:
Description Flags
evm.log
none
automation.log none

Description Ilanit Stein 2018-01-03 14:09:18 UTC
Description of problem:
After removing template, on RHV side,
Though there was a refresh on CFME side,
Under CFME UI: Compute->Infrastructure->VMs & Templates: RHV Provider->Data center, The removed template is still displayed (as an active Template, and not as Archived).

Later on, probably after full refresh, the template is no longer displayed on CFME side.

Version-Release number of selected component (if applicable):
CFME-5.9.0.14/RHV-4.1.8

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Ilanit Stein 2018-01-03 14:27:38 UTC
Created attachment 1376427 [details]
evm.log

Template "rhel72" is removed.

Comment 3 Ilanit Stein 2018-01-03 14:33:03 UTC
Created attachment 1376428 [details]
automation.log

Template "rhel72" was removed.

Comment 4 Dave Johnson 2018-01-03 14:45:05 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 5 Dave Johnson 2018-01-04 16:50:57 UTC
Ilanit, can you confirm that this is just the template and not VMs as well.  Also, you say in your original write up...

After removing template, on RHV side,
Though there was a refresh on CFME side,

...please confirm if a refresh did occur. 

Assuming its only templates and happens after a full refresh, we could possibly defer fixing to 5.9.1, do you agree?  If not, RHV dev needs to commit to fixing this soon.

Comment 6 Ilanit Stein 2018-01-07 09:33:20 UTC
This bug is specific to templates (Tested it on CFME-5.9.0.15/RHV-4.1.8). 
It do not occur for VMs.


The problem is that though we see refresh for the removed template occurred
(by having refresh messages in evm.log, and in provider page, last refresh time gets updated),
the Expected refresh in the CFME UI did not happen, thta is the Template was still displayed as an active one (not Archived) 

After reporting this bug, it turned out that this bug was already revealed,
while investigating a previous bug: bug 1511445. 
bug 1511445 is now ON_DEV.
I left this bug open, to verify it, when bug 1511445 will move to ON_QA.
Therefore the Target Release can be left as CFME-5.9.0.

Comment 7 Ilanit Stein 2018-01-11 15:14:38 UTC
Moving bug to ON_QA, since Bug 1532648 (CFME-5.9.0 clone of bug 1511445) is now ON_QA.

Comment 10 Radim Hrazdil 2018-01-19 09:08:44 UTC
Verified that after removing template in RHV, it is removed without the need to perform full refresh. 

Version 5.9.0.17, RHV 4.1.8