Bug 1576101
Summary: | total costs no longer showing in any chargeback report if they are the only columns in the report | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
Component: | Reporting | Assignee: | Joe Rafaniello <jrafanie> |
Status: | CLOSED ERRATA | QA Contact: | Tasos Papaioannou <tpapaioa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.8.0 | CC: | cpelland, fdewaley, gtanzill, jrafanie, mfeifer, obarenbo, tpapaioa, yrudman |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.8.4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 5.8.4.3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1567254 | Environment: | |
Last Closed: | 2018-06-25 14:20:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1567254 | ||
Bug Blocks: |
Comment 2
CFME Bot
2018-05-08 20:45:50 UTC
New commit detected on ManageIQ/manageiq/fine: https://github.com/ManageIQ/manageiq/commit/3c356a0336068b5a36a74ebfd65c62474214bf7a commit 3c356a0336068b5a36a74ebfd65c62474214bf7a Author: Joe Rafaniello <jrafanie> AuthorDate: Tue May 8 16:36:00 2018 -0400 Commit: Joe Rafaniello <jrafanie> CommitDate: Tue May 8 16:36:00 2018 -0400 Check all costs fields for relevancy for the report Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1576101 Manual backport of #17387 If a user asks only for some of the fields (memory cost) in a chargeback report and they didn't request specific ones (memory allocated cost), we would skip calculating the memory cost because we thought it wasn't relevant. We need to check all cost fields to see if they're relevant for the requested fields in the report. app/models/chargeback_rate_detail.rb | 2 +- spec/models/chargeback_vm_spec.rb | 11 + 2 files changed, 12 insertions(+), 1 deletion(-) Verified on 5.8.4.3. 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/RHSA-2018:1972 |