Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1337298 - Non-zero chargeback costs when CPU usage is zero
Non-zero chargeback costs when CPU usage is zero
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: tledesma
Nandini Chandra
report:chargeback
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-18 14:29 EDT by Nandini Chandra
Modified: 2017-10-10 14:26 EDT (History)
8 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:09 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 14:29 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 14:29:33 EDT
Created attachment 1159026 [details]
Chargeback report

Description of problem:
-----------------------
When resource usage is zero, a non-zero cost is being reported in Chargeback reports.According to the Chargeback rates I've defined, the cost should be zero.

Range(start-finish)|Rate(fixed, variable)
--------------------------------
0.0 - 700.0        |0, 0.04
700 - 3500         |0, 0.03
3500- 8500         |0, 0.02
8500-Infinity      |0, 0.01  

In the attached chargeback report, CPU used for the 'cu-9-5' VM on 05/14/2016
is 0 MHz.But, the cost reported is $1.04.

Also, see bug 1337278 .


Version-Release number of selected component (if applicable):
----------------------------
5.6.0.6


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.Enable C&U collection for a provider.
2.Generate a Chargeback report 


Actual results:
--------------
No-zero chargeback costs when resource usage is zero.


Expected results:
-----------------
Chargeback costs should be zero when resource usage is zero.


Additional info:
----------------
Comment 2 Gregg Tanzillo 2016-05-31 12:23:27 EDT
https://github.com/ManageIQ/manageiq/pull/8862
Comment 3 Nandini Chandra 2016-06-12 10:56:08 EDT
Verified in 5.6.0.10
Comment 5 errata-xmlrpc 2016-06-29 12:04:09 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.