Unsolved
This post is more than 5 years old
2 Posts
0
142566
May 16th, 2013 11:00
allocation values in chargeback not rounding correctly
Hi,
We're currently using the chargeback module and I recently noticed that it seems to do some really weird rounding of numbers when it sums up allocated resources.
Example:
I've got a group of VM's with a total of resources as following:
measured over 1 day, 30th of april
With the custom view setting "Do not sum daily allocation values" ticked
CPU: 10 vCPU
Memory: 21.5 GB
Storage 432 GB
Custom view setting "Do not sum daily allocation values" NOT ticked
CPU: 9 vCPU
Memory: 21 GB
Storage: 424 GB
Measured over 30 days, 1st - 30th of april
With the custom view setting "Do not sum daily allocation values" ticked
CPU: 10 vCPU
Memory: 21.5 GB
Storage 432 GB
Custom view setting "Do not sum daily allocation values" NOT ticked
CPU: 270 vCPU (should be 10 * 30 = 300)
Memory: 630 GB (should be 21.5 * 30 = 645)
Storage: 12.4 TB (should be 432 * 30 = 12960gb, 12,96 TB)
Summary:
Either I'm really useless at math and am not understanding something OR there's clearly a big rounding error in chargeback and how it calculates allocation.



vizay
2 Posts
0
May 20th, 2013 08:00
So I take it I'm the only one that have seen this issue?