Bug 1526030
| Summary: | Chargeback report shows incorrect CPU Total Cost and Memory Total Cost if allocated and used costs aren't also displayed | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Tasos Papaioannou <tpapaioa> |
| Component: | Documentation | Assignee: | Suyog Sainkar <ssainkar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dayle Parker <dayleparker> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.9.0 | CC: | adahms, dayleparker, gtanzill, hhudgeon, obarenbo, smallamp, tpapaioa |
| Target Milestone: | GA | ||
| Target Release: | 5.9.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-15 05:59:35 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: | |||
|
Description
Tasos Papaioannou
2017-12-14 16:24:09 UTC
This is working as expected. Total costs are calculated by adding the calculated cost for the amount used and the calculated cost for the amount allocated. In the case where no used or allocated costs are added to the report, those costs would not be calculated and the total cost would be reported as 0. That seems to contradict the claim in https://bugzilla.redhat.com/show_bug.cgi?id=1409539#c3 : "This work as expected, the selection of column to display does not affect the calculation. We should document this." That BZ added a note to the production documentation, in https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.5/html/monitoring_alerts_and_reporting/sect_chargeback#to_create_a_chargeback_report : "When creating a chargeback report please note that the Total Cost is the complete cost for the chosen workload over the selected time frame. This sum is based on all fields assigned to the chargeback rate. When adding cost related columns to display on your report, please be sure to select all rate assigned fields to present a comprehensive accounting of total costs." I don't understand why the choice of columns to display in a report should be expected to change the values displayed. The Memory Total Cost displayed in the report should be determined by the associated chargeback rate record, regardless of whether I decide to display the Memory Allocated Cost and Memory Used Cost as well. Tasos, After discussing with the product team, Product Management thinks that this is working as designed and the docs need to be updated if they say otherwise. Converting this to the doc bug. @Doc Team - Please update the documentation (sections listed in https://bugzilla.redhat.com/show_bug.cgi?id=1526030#c3) to reflect https://bugzilla.redhat.com/show_bug.cgi?id=1526030#c2 Please reach out to Gregg Tanzillo for further questions. - Sudhir Assigning to Suyog for review. Suyog - just a quick update required for this one. |