-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
-
False
-
-
-
Critical
Environment : Stage
As a part of https://issues.redhat.com/browse/SWATCH-1150, we did a rounding of each day tally rather than only the monthly tally.
There is another bug reported related to the same issue in other products.
https://issues.redhat.com/browse/SWATCH-1399
Example : If usage is generating on daily basis of 2.2 for 6 days, which we will round off to 3 in tally for each day. Monthly total will be 3*6=18 in tally, while system table will show 2.2*6 = 13.2.
Reproducer steps:
1 .Add metering events for 01 July of 2.2 cores and 3.3 instance_hours usage for ROSA
2. Repeat step 1 for 02 July, 03 July, ... consecutive days
3. Do tally for all days
4. Verify monthly total is greater than expected.
On Red Hat Openshift ROSA, there is a significant difference between the total (vCPU hour usage and Control plane hour usage) reported in the graph and the total of the Current monthly instances.
This difference seems related to the rounding made by tally API.
A Previous discussion on SWATCH-1399 can be found in the following Slack thread.
https://redhat-internal.slack.com/archives/C01F7QFNATC/p1687534053859649?thread_ts=1687529372.306469&cid=C01F7QFNATC
- is related to
-
SWATCH-1399 [Regression] Tally API show rounded-up monthly total has a discrepancy from the instance table total
- Closed