Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1559624 - Graph refresh does not fetch custom attributes
Graph refresh does not fetch custom attributes
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.9.0
Unspecified Unspecified
high Severity high
: GA
: 5.9.2
Assigned To: Boriso
Jan Zmeskal
: ZStream
Depends On: 1546792
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-22 18:12 EDT by Satoe Imaishi
Modified: 2018-05-07 16:47 EDT (History)
9 users (show)

See Also:
Fixed In Version: 5.9.2.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1546792
Environment:
Last Closed: 2018-05-07 16:47:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github /ManageIQ/manageiq-providers-ovirt/pull/211 None None None 2018-03-22 18:12 EDT
Red Hat Product Errata RHSA-2018:1328 None None None 2018-05-07 16:47 EDT

  None (edit)
Comment 2 CFME Bot 2018-03-22 18:22:26 EDT
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/95115c13cf152a038af1ae366ef31ac1db112530
commit 95115c13cf152a038af1ae366ef31ac1db112530
Author:     Moti Asayag <masayag@redhat.com>
AuthorDate: Thu Mar  1 05:52:57 2018 -0500
Commit:     Moti Asayag <masayag@redhat.com>
CommitDate: Thu Mar  1 05:52:57 2018 -0500

    Merge pull request #211 from borod108/cust_attrs

    Fix graph refresh fetching custom attributes
    (cherry picked from commit 8f9f2252f7881bf577b29efda25334526c6f70a4)

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

 app/models/manageiq/providers/redhat/infra_manager.rb | 1 +
 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 11 +-
 app/models/manageiq/providers/redhat/inventory/persister/infra_manager.rb | 2 +-
 app/models/manageiq/providers/redhat/inventory/persister/target_collection.rb | 5 +-
 app/models/manageiq/providers/redhat/inventory_collection_default/infra_manager.rb | 17 +
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_4_custom_attributes_spec.rb | 50 +
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_graph_target_vm_spec.rb | 6 +-
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_graph_target_vm.yml | 18 +
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_recording_custom_attrs.yml | 6833 +
 9 files changed, 6934 insertions(+), 9 deletions(-)
Comment 3 Martin Perina 2018-04-03 09:41:18 EDT
Marking as a blocker as RHV would like to switch to graph refresh by default in 5.9.2
Comment 4 Jan Zmeskal 2018-04-18 09:55:07 EDT
Verification steps:

1. Have a VM on RHV provider and set graph_refresh to true on CFME appliance
2. Set custom attribute sap_agent == false on your VM and refresh provider
3. Custom attribute cannot be seen in CFME UI - that is an expected behaviour since applying of custom attribute require's VM reboot
4. Reboot VM and refresh provider

Actual result:
Custom attribute can be seen in CFME UI

Verified on:
CFME 5.9.2.2
RHV 4.2.2.5
Comment 7 errata-xmlrpc 2018-05-07 16:47:05 EDT
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:1328

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