https://github.com/ManageIQ/manageiq/pull/17395
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