Bug 1392572

Summary: [RFE] host.current_memory_headroom and host.current_memory_usage values are not populating for RHEV Hosts
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED ERRATA QA Contact: movciari
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, gblomqui, gmccullo, jfrey, jhardy, mkanoor, nachandr, obarenbo, oourfali, pmukhedk, simaishi, tfitzger
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: automate:rhev:host
Fixed In Version: 5.7.0.10 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1323145 Environment:
Last Closed: 2017-01-04 13:09:48 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: 1323145    
Bug Blocks:    

Comment 2 CFME Bot 2016-11-07 19:36:00 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/27afd0f94632d9042a797fe6fb3c78b7c8a44cae

commit 27afd0f94632d9042a797fe6fb3c78b7c8a44cae
Author:     Greg Blomquist <blomquisg>
AuthorDate: Wed Nov 2 17:44:05 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Nov 7 14:34:57 2016 -0500

    Merge pull request #10505 from borod108/rfe/rhevm_quick_stats
    
    add quick_stats support for RHEVM host
    (cherry picked from commit e44dbd2693a4cd2a19a5aa3a87c05d6320ce9f4a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1392572

 app/models/host.rb                                    |  2 +-
 app/models/manageiq/providers/redhat/infra_manager.rb | 13 +++++++++++++
 .../providers/redhat/infra_manager/api_integration.rb |  2 +-
 .../manageiq/providers/redhat/infra_manager/host.rb   |  6 ++++++
 .../manageiq/providers/vmware/infra_manager/host.rb   |  2 ++
 .../manageiq/providers/vmware/infra_manager/vm.rb     |  2 ++
 app/models/mixins/supports_feature_mixin.rb           |  1 +
 .../providers/redhat/infra_manager/host_spec.rb       | 19 +++++++++++++++++++
 8 files changed, 45 insertions(+), 2 deletions(-)
 create mode 100644 spec/models/manageiq/providers/redhat/infra_manager/host_spec.rb

Comment 3 movciari 2016-12-15 15:00:27 UTC
Verifying by sanity and some basic tests as a code change, since those values are not used at the moment

Comment 5 errata-xmlrpc 2017-01-04 13:09:48 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://rhn.redhat.com/errata/RHBA-2017-0012.html