Description of problem: ----------------------- Inaccurate storage used costs are being reported in Chargeback reports. Here's a table of the rates for Used CPU USD/Hour/GB: Range(start-finish)|Rate(fixed, variable) -------------------------------- 0.0 - Infinity |0, 2.0 The 'Used Disk Storage' for one of my infra VMs(rhev) is 360 GB in a day. It is actually 15 GB/hour for every hour on that day. Going by this table,the rate is 2.0 USD/Hour/GB.The reported cost in the Chargeback report is $ $773,094,113,280.00. Based on my calculation, the cost should be $720. Storage used cost = Used disk storage in GB/hour * storage rate per GB per hour = 15 GB * $2.00 (/GB/hour) (for the 1st hour)+ 15 GB * $2.00 (/GB/hour) (for the 2nd hour)+ .... .... 15 GB * $2.00 (/GB/hour) (for the 24th hour) = 720 $ Version-Release number of selected component (if applicable): ----------------------------------- 5.6.2.0 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1.Enable C&U collection for a provider. 2.Assign the Storage rate from the issue description to Enterprise 3.Generate a Chargeback report for VMs based on this rate. Actual results: --------------- Incorrect storage used cost in Chargeback reports Expected results: ------------------ Correct storage used cost in Chargeback reports Additional info:
I briefly discussed this issue with Libor today.Please let me know if you need access to my appliance.
Created attachment 1204989 [details] Storage Chargeback report for cu-24x7
In the issue description, I'm referring to the 'cu-24x7' VM. My chargeback cost calculation is based on its Storage used(360 GB) on 09/25/2016.
*** Bug 1387242 has been marked as a duplicate of this bug. ***
*** Bug 1379770 has been marked as a duplicate of this bug. ***
Is this a duplicate of BZ #1346047 (BZ #1349413 is the 5.6.z clone)?
Verified in 5.8.0.9