Bug 1409539

Summary: Chargeback Report Total does not show correct Total cost per selected fields
Product: Red Hat CloudForms Management Engine Reporter: Einat Pacifici <epacific>
Component: DocumentationAssignee: Chris Budzilowicz <cbudzilo>
Status: CLOSED CURRENTRELEASE QA Contact: Dayle Parker <dayleparker>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: adahms, dayleparker, hhudgeon, jhardy, lavenel, obarenbo, slukasik, srevivo
Target Milestone: GAKeywords: Documentation
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-27 09:40:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Three Screenshots for Rates and Reports none

Description Einat Pacifici 2017-01-02 12:39:08 UTC
Created attachment 1236625 [details]
Three Screenshots for Rates and Reports

Description of problem:
When generating a chargeback report for container projects, the Total Cost shown is the sum for all fields in Rate assigned and NOT Total Cost per fields selected in reports. 

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

How reproducible:
Always

Steps to Reproduce:
1.Define a Chargeback Rate with Fixed Rate=1 for Fixed Rate1, Fixed Rate2, CPU Cores Fixed 
2.Assign Rate to container Project for all Providers
3.Goto Reports and select fields to show: Fixed Rate1, Fixed Rate2 DO NOT SELECT Cores Fixed field 
3.Generate Report

Actual results:
The Total Cost shown is not equal to the sum of Fixed Rate1 + Fixed Rate2
(The Total Cost actually calculated Fixed Rate1 + Fixed Rate2 + CPU Cores Fixed)

Expected results:
Total Cost shown should show actual sum of visible costs i.e. Fixed Rate1 + Fixed Rate2. 
Additional info:
Screenshots attached.

Comment 2 Šimon Lukašík 2017-01-05 13:55:41 UTC
This works as designed.

Total cost means - total cost of the given workload in the given time frame.

What is the use-case for customer? -- What problem are they trying to solve by looking into subset of costs? What is their story?

Comment 4 Andrew Dahms 2017-01-31 00:22:12 UTC
Assigning to Chris for review.

Chris - looks like we may need to add a note to Chapter 5. of the Monitoring, Alerts, and Reporting guide to outline the above behaviour.

Comment 7 Andrew Dahms 2017-02-27 09:40:10 UTC
This content is live on the Customer Portal.

Closing.