Bug 1550579

Summary: [RFE] Switch default refresh to graph refresh for RHV provider
Product: Red Hat CloudForms Management Engine Reporter: Boriso <bodnopoz>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: bodnopoz, gblomqui, jfrey, jhardy, mperina, obarenbo, simaishi
Target Milestone: MVPKeywords: FutureFeature, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: Enhancement
Doc Text:
We are changing the default refresh method to graph refresh which should increase refresh performance for RHV provider
Story Points: ---
Clone Of:
: 1553383 (view as bug list) Environment:
Last Closed: 2019-02-11 14:10:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1532255, 1553383    

Description Boriso 2018-03-01 14:10:46 UTC
Make graph refresh enabled by default.

Expected results:
Graph refresh is used for both full and targeted refresh.
This is expected to reduce refresh time.
Look in the evm.log to see that it uses graph refresh.

Comment 5 CFME Bot 2018-06-05 13:49:51 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/268ea37ce4e7a98f592c7183d18711f34db15a9d
commit 268ea37ce4e7a98f592c7183d18711f34db15a9d
Author:     Boris Odnopozov <bodnopoz>
AuthorDate: Tue Jun  5 07:05:57 2018 -0400
Commit:     Boris Odnopozov <bodnopoz>
CommitDate: Tue Jun  5 07:05:57 2018 -0400

    Use Graph refresh by default

    Use graph refresh as the default.

    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1553383
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1550579

 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_target_template_disconnect_spec.rb | 47 -
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_target_template_disconnect.yml | 9827 +-
 2 files changed, 2315 insertions(+), 7559 deletions(-)

Comment 6 CFME Bot 2018-06-05 14:34:57 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/5b5d2b04a3ddf9848b42239f75666941e146b391
commit 5b5d2b04a3ddf9848b42239f75666941e146b391
Author:     Boris Odnopozov <bodnopoz>
AuthorDate: Tue Jun  5 09:42:08 2018 -0400
Commit:     Boris Odnopozov <bodnopoz>
CommitDate: Tue Jun  5 09:42:08 2018 -0400

    Use Graph refresh by default

    Use graph refresh as the default.

    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1553383
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1550579

 config/settings.yml | 2 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_target_template_disconnect_spec.rb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Comment 7 Ilanit Stein 2018-06-27 12:45:42 UTC
Verified on CFME-5.10.0.2/RHV-4.2.3.5

vmdb]# bundle show manageiq-providers-ovirt
/opt/rh/cfme-gemset/bundler/gems/cfme-providers-ovirt-549dfa05bc6e
vmdb]# cd /opt/rh/cfme-gemset/bundler/gems/cfme-providers-ovirt-549dfa05bc6e
[root@dhcp-8-198-172 cfme-providers-ovirt-549dfa05bc6e]# vim config/settings.yml

:ems_refresh:
  : rhevm:
    :inventory_object_refresh: true