Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1696016 - The 'Memory - Avg Used' in CloudForms includes cached memory with the used memory of OpenStack instance
Summary: The 'Memory - Avg Used' in CloudForms includes cached memory with the used me...
Status: NEW
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: GA
: cfme-future
Assignee: Marek Aufart
QA Contact: Md Nadeem
Red Hat CloudForms Documentation
Depends On:
TreeView+ depends on / blocked
Reported: 2019-04-04 02:59 UTC by Nikhil Gupta
Modified: 2019-04-10 13:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Category: ---
Cloudforms Team: ---
Target Upstream Version:

Attachments (Terms of Use)

Description Nikhil Gupta 2019-04-04 02:59:05 UTC
Description of problem:

When running a report with "Memory - Avg Used for Collected Intervals 30 Day Avg (MB)" field, it reports cached memory with the used memory.

We are looking at a specific instance, which has total memory 20,480 MB.  The report for that collected value is 17,658.  This would indicate that used system memory has been about 86% over the last 30 days.  When I look at Nagios dashboard graph and ELK monitoring graph results of memory for the same instance over the last 30 days, I am seeing a peak of about 70% memory usage.  This does not include cache or buffer memory (which would put it closer to 100%).

It looks like if I include cached memory with the used memory (and not counting buffer memory), that puts me close to what CloudForms is reporting.  

Are there any memory values returned from RHOSP queries that would return actual used memory or even just cached memory so as to figure out actual usage?

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create VMs and Instances report
2. Add "Name" and "Memory - Avg Used for Collected Intervals 30 Day Avg (MB)" field
3. Run

Actual results:
Reports cached memory with the used memory.

Expected results:
Should report only the actual used memory.

Additional info:
Following bug reported for OpenStack provider in the past:

It has been fixed for OpenStack infra provider (Under Cloud):

However, it is not included in OpenStack cloud provider (Over Cloud):

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