Bug 1553383

Summary: [RFE] Switch default refresh to graph refresh for RHV provider
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: bodnopoz, gblomqui, jfrey, jhardy, mperina, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.3.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1550579 Environment:
Last Closed: 2018-07-12 13:14:16 UTC Type: ---
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: 1550579    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-08 18:57:36 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/47229d23ad5b576250a5859cd488887b481b9d01
commit 47229d23ad5b576250a5859cd488887b481b9d01
Author:     Moti Asayag <masayag>
AuthorDate: Sat Mar  3 16:31:08 2018 -0500
Commit:     Moti Asayag <masayag>
CommitDate: Sat Mar  3 16:31:08 2018 -0500

    Merge pull request #219 from borod108/rfe/graph

    Make graph refresh enabled by default
    (cherry picked from commit 47c0093802a871233ced39c5d58569124d6291a8)

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

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

Comment 4 Ilanit Stein 2018-04-24 07:04:12 UTC
Verified that on CFME-5.9.2.3 the Graph refresh for RHV is indeed turned OFF.

>> vmdb
>> bundle show manageiq-providers-ovirt
Copy the path it returns and go to that folder.
# vim config/settings.yml
inventory_object_refresh is false:


:ems_refresh:
  :rhevm:
    :inventory_object_refresh: false

(On CFME-5.9.2.0-2 Graph refresh was turned ON, and it was decided to turn it OFF, due to refresh, till optimizations will add improvements in refresh time)

Comment 7 CFME Bot 2018-06-05 13:49:40 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 8 CFME Bot 2018-06-05 14:34:52 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 9 CFME Bot 2018-06-05 14:54:50 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/dabd06eefa6adc38402d95250e5068e57fa0ac45
commit dabd06eefa6adc38402d95250e5068e57fa0ac45
Author:     Adam Grare <agrare>
AuthorDate: Tue Jun  5 10:27:36 2018 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue Jun  5 10:27:36 2018 -0400

    Merge pull request #259 from borod108/rfe/graph_refesh_to_default_1

    Use Graph refresh by default
    (cherry picked from commit 4538288240c68b7b334cdb598433055cf97e46cb)

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

 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 10 Ilanit Stein 2018-06-07 07:53:28 UTC
Verified that on CFME-5.9.3.1 the Graph refresh for RHV is turned ON.

>> vmdb
>> bundle show manageiq-providers-ovirt
Copy the path it returns and go to that folder.
# vim config/settings.yml
inventory_object_refresh is true:

:ems_refresh:
  :rhevm:
    :inventory_object_refresh: true

Comment 12 errata-xmlrpc 2018-07-12 13:14:16 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:2184