Red Hat Bugzilla – Bug 1337293
Incorrect 'CPU used' in total column in Chargeback reports
Last modified: 2016-08-30 17:15:01 EDT
Description of problem: ----------------------- It looks like the value in the 'CPU used' in the Totals column is being rounded off to the nearest GHz value. In the attached chargeback report,CPU used for cu-24x7 on 05/13/2016 is 1 GHz and CPU used for cu-9-5 is 666 MHz.The total 'CPU Used' reported for that day is 2 GHz. Version-Release number of selected component (if applicable): ---------------------- 5.6.0.6 How reproducible: ----------------- Always Steps to Reproduce: ------------------ 1.Manage a provider.Enable C&U collection for the provider. 2.Create a chargeback report Actual results: ----------------- Incorrect 'CPU used' in total column in Chargeback reports Expected results: ----------------- 'CPU used' in total column in Chargeback reports should be accurate. Additional info: ----------------
Created attachment 1159019 [details] Chargeback report
https://github.com/ManageIQ/manageiq/pull/8956
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/5662c9aaee8f595f5d5e991cf83f2672ff000a2e commit 5662c9aaee8f595f5d5e991cf83f2672ff000a2e Author: Tamara Ledesma Rico <tamledric@gmail.com> AuthorDate: Wed May 25 13:22:48 2016 +0200 Commit: Tamara Ledesma Rico <tamledric@gmail.com> CommitDate: Wed May 25 17:13:58 2016 +0200 Add a new default format to cpu_used metrics https://bugzilla.redhat.com/show_bug.cgi?id=1337293 db/fixtures/miq_report_formats.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
Verified in 5.6.0.10.
Created attachment 1167160 [details] Verified : screenshot of report with CPU Usage in MHZ
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/RHBA-2016:1348