Bug 1367583 - Memory report for containers does not show expected values
Summary: Memory report for containers does not show expected values
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: C&U Capacity and Utilization
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: Ari Zellner
QA Contact: Dave Johnson
URL:
Whiteboard: container
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-16 20:54 UTC by ldomb
Modified: 2017-12-05 15:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-10 16:07:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)
chargeback (32.74 KB, application/pdf)
2016-08-16 21:07 UTC, ldomb
no flags Details

Description ldomb 2016-08-16 20:54:20 UTC
Description of problem:
When creating a report for container chargeback with the following values 

Memory Used
Memory Used Cost  

the memory total for example for openshift-infra shows 184.4 GB. 

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


5.6.0.13.20160624114606_13a9153


How reproducible:


Steps to Reproduce:
1. Create a report with the values 
Memory Used
Memory Used Cost 

Actual results:
Memory values do not seem to be based on container usage. 

Expected results:
Correct value for memory consumption

Additional info:

Comment 2 ldomb 2016-08-16 21:07:37 UTC
Created attachment 1191391 [details]
chargeback

this attachment is a pdf

Comment 3 Federico Simoncelli 2016-08-17 21:26:00 UTC
(In reply to ldomb from comment #0)
> the memory total for example for openshift-infra shows 184.4 GB. 
> 
> ...
> 
> Actual results:
> Memory values do not seem to be based on container usage. 

Laurent the memory reported (184.4 GB) is based on the summation of all the pods in the project per each hour.

So for example if the relevant project has multiple pods that are using 7 Gb of memory (total) for 24 hour, then the we would be charging the use of (7 * 24) 184 Gb.

Anyway I'll leave you to investigate this further with Ari.

Comment 4 Ari Zellner 2016-08-23 14:16:04 UTC
180 GB is plausible.
Possible scenario: openshift-infra had 3 pods running for 24 hours 
Each pod uses 2.5GB of memory an hour.

The chargeback report for that day would show 24 * 3 * 2.5GB = 180gb in mem used.

Comment 5 Ari Zellner 2016-09-19 12:47:00 UTC
Can I move this to POST?

Comment 6 ldomb 2016-09-27 10:53:19 UTC
Yes please move post. Thanks for the explanation.


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