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: ----------------
https://github.com/ManageIQ/manageiq/pull/8862
Verified in 5.6.0.10
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