Bug 1451577

Summary: [RFE] Targeted refresh for Templates events
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED ERRATA QA Contact: Angelina Vasileva <anikifor>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: dajohnso, jfrey, jhardy, jzmeskal, obarenbo, simaishi
Target Milestone: MVPKeywords: FutureFeature, RFE
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev:ems_refresh:event
Fixed In Version: 5.9.0.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:12:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:

Description Ilanit Stein 2017-05-17 05:46:45 UTC
Description of problem:
Please add targeted refresh or templates events.
For example, if a template is added, on RHV side, need to do a full refresh, in order to have CFME get updates with the new template.  

Version-Release number of selected component (if applicable):
CFME-5.8.0.14
RHV-4.1.1.8

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
To have templates events refresh, same way we have or VMs.

Additional info:

Comment 2 Ilanit Stein 2017-12-11 09:53:30 UTC
Here's the tested Template events, and their response on CFME-5.9.0.11/RHV-4.1.8:

Add Template - Event:USER_ADD_VM_TEMPLATE => Refresh done for the added template, storages, clusters

Edit Template - Event: USER_UPDATE_VM_TEMPLATE => Refresh done for ALL Templates disk attackhments, the updated template, storages, clusters

Export Template - Event: IMPORTEXPORT_EXPORT_TEMPLATE => Refresh done for ALL Templates disk attackhments, the updated template, storages, clusters

Import Template - Event: IMPORTEXPORT_IMPORT_TEMPLATE => Refresh done for ALL Templates disk attackhments, the updated template, storages, clusters

Remove 2 Templates - Event: USER_REMOVE_VM_TEMPLATE => Refresh done for the added template, storages, clusters


Template event USER_COPIED_TEMPLATE seem to be not used, 
even on RHV-3.6, and removed was on RHV-4.0. 
There is no way to generatw it, thus it is not tested.

Comment 3 Ilanit Stein 2017-12-18 10:19:09 UTC
Verified on CFME-5.9.0.12/RHV-4.1.8.

Test plan run: 
RHEVM3/testrun?id=4_1_targeted_refresh_for_template_events_cfme_5_9_0_12_rhv_4_1_8

Comment 6 errata-xmlrpc 2018-03-01 13:12:35 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/RHSA-2018:0380