Bug 1413110
Summary: | Discrepancy in resource usage reported between daily, weekly, monthly Chargebcack reports | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Nandini Chandra <nachandr> | ||||||||
Component: | Reporting | Assignee: | Šimon Lukašík <slukasik> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nandini Chandra <nachandr> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 5.7.0 | CC: | jhardy, obarenbo, simaishi, slukasik | ||||||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||||||
Target Release: | 5.8.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | chargeback | ||||||||||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 1418846 1425916 (view as bug list) | Environment: | |||||||||
Last Closed: | 2017-06-12 16:44:23 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1418846, 1425916 | ||||||||||
Attachments: |
|
Description
Nandini Chandra
2017-01-13 16:34:38 UTC
Created attachment 1240409 [details]
Daily Chargeback report
Created attachment 1240411 [details]
Weekly Chargeback report
Created attachment 1240412 [details]
Monthly Chargeback report
Hello Nandini, This is very nice find. I noticed this also when working on bug 1402072. It should be fixed together with bug 1402072. The problem was: --------------- We took consumption from metric rollups as A. We took number of hours in interval (day = 24, week=24*7, month ~~ 24*30) as B. Then we calculated average as = A/B. The problem was that we cannot use B as it is. We need to use only past hours in given interval. More Issue like this: --------------- Imagine you create VM in the middle of month. Then consumption average should be again calculated based on real consumed hours. Not hours in month. Imagine you retire VM in the middle of month. Then consumption average should be again calculated based on real consumed hours. Not hours in month. That's all fixed in bug 1402072. Thanks! Verified in 5.7.1 I meant to verify the 5.7.1 clone and not this. Moving this back to ON_QA. This issue affects 5.6.4 as well.Can this be cloned to 5.6? I think the answer is yes. This can be cloned. You can use clone button to make the clone for 5.6. Then, the 3 ack process will be used to decide whether that bug is worth including into the 5.6. I have no visibility into how many releases are planned for 5.6.z. and I am not sure if there are any written policies for backporting to 5.6. Thus, it is still possible that the clone will never be fixed. However, it is worth filing, as it gives us visibility into what is broken in what versions. Thanks! Verified in 5.8.0.10 |