Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1337293 - Incorrect 'CPU used' in total column in Chargeback reports
Incorrect 'CPU used' in total column in Chargeback reports
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Libor Pichler
Nandini Chandra
report:chargeback
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-18 13:56 EDT by Nandini Chandra
Modified: 2016-08-30 17:15 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.6.0.9
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 12:04:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Chargeback report (37.92 KB, application/pdf)
2016-05-18 13:56 EDT, Nandini Chandra
no flags Details
Verified : screenshot of report with CPU Usage in MHZ (142.47 KB, image/png)
2016-06-12 09:54 EDT, Nandini Chandra
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Nandini Chandra 2016-05-18 13:56:07 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:
----------------
Comment 2 Nandini Chandra 2016-05-18 13:56 EDT
Created attachment 1159019 [details]
Chargeback report
Comment 6 CFME Bot 2016-05-25 12:15:27 EDT
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(-)
Comment 7 Nandini Chandra 2016-06-12 08:52:40 EDT
Verified in 5.6.0.10.
Comment 8 Nandini Chandra 2016-06-12 09:54 EDT
Created attachment 1167160 [details]
Verified : screenshot of report with CPU Usage in MHZ
Comment 10 errata-xmlrpc 2016-06-29 12:04:06 EDT
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

Note You need to log in before you can comment on or make changes to this bug.