Bug 1663520

Summary: Memory utilization by node is incorrect in Provider Overview page (legacy hawkular collector)
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Oved Ourfali <oourfali>
Status: CLOSED ERRATA QA Contact: juwatts
Severity: urgent Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.8.3CC: agrare, cpelland, dluong, jfrey, jhardy, juwatts, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.7.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1650351 Environment:
Last Closed: 2019-01-23 14:35:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1650351    
Bug Blocks:    

Comment 4 juwatts 2019-01-09 19:33:53 UTC
Verified in: 5.9.7.1.20190107190344_73c0855

Note: There is no clear way to verify this bug. Steps below are what I believe is sufficient verification 

The provider added for this test has been relatively unused for over two weeks. Adding a unused provider for this case because the CloudForms Dashboard will show average values over days/months. An unused provider will have a low memory utilization and make verification more accurate. 

Verification steps:
1) Set "hawkular_force_legacy" to "false" under the advanced configuration. This is a new key within the advanced configuration, see documentation for more information.  
2) Added a OCP provider and enabled metrics collection permissions. 
3) Compared the real time metrics on the OpenShift nodes ("oc adm top nodes") with the averages displayed on the CFME dashboard and verified they were within 5%, which I believe is a reasonable margin.

Comment 5 David Luong 2019-01-09 19:44:52 UTC
Hey Justin,

I think you may need to change the verification steps, as this is for the legacy collector, so in this case, "hawkular_force_legacy" needs to be "true".

Comment 6 juwatts 2019-01-09 19:56:51 UTC
David,

You are correct, that was a copy paste error. 

Updated Verification steps:

Verified in: 5.9.7.1.20190107190344_73c0855

Note: There is no clear way to verify this bug. Steps below are what I believe is sufficient verification 

The provider added for this test has been relatively unused for over two weeks. Adding a unused provider for this case because the CloudForms Dashboard will show average values over days/months. An unused provider will have a low memory utilization and make verification more accurate. 

Verification steps:
1) Verified "hawkular_force_legacy" to "true" under the advanced configuration. This is a new key within the advanced configuration, see documentation for more information.  
2) Added a OCP provider and enabled metrics collection permissions. 
3) Compared the real time metrics on the OpenShift nodes ("oc adm top nodes") with the averages displayed on the CFME dashboard and verified they were within 5%, which I believe is a reasonable margin.

Comment 8 errata-xmlrpc 2019-01-23 14:35:55 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/RHBA-2019:0110