Bug 1530622 - [Target Refresh] Removed Template is not updated on CFME UI
Summary: [Target Refresh] Removed Template is not updated on CFME UI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Boriso
QA Contact: Radim Hrazdil
URL:
Whiteboard: rhev:target refresh
Depends On: 1511445
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-03 14:09 UTC by Ilanit Stein
Modified: 2018-03-06 15:19 UTC (History)
10 users (show)

Fixed In Version: 5.9.0.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-06 15:19:07 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log (1.18 MB, application/x-gzip)
2018-01-03 14:27 UTC, Ilanit Stein
no flags Details
automation.log (147.69 KB, application/x-gzip)
2018-01-03 14:33 UTC, Ilanit Stein
no flags Details

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


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