Created attachment 1153555 [details] Screenshot of report Description of problem: The numbers dont quite add up. As far as i can tell "cpu used" should equal "cpu total". Im looking into the problem but adding this issue for tracking. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Ensure pods are loaded and that CPU cores are used in project 2. Create chargeback report for project with loaded pods 3. Assign specific project sheetrate 4. Review chargeback report CPU cores details&values Actual results: Expected results: report should reflect correct CPU core usage values Additional info: Report is showing wrong calculated cores values This bug was opened upstream as well: https://github.com/ManageIQ/manageiq/issues/8250
PR: https://github.com/ManageIQ/manageiq/pull/8547
Currently, I cannot reproduce this in my environment, due to an open bug: Bug 1333258 - CFME - Refresh Provider fails The fix is scheduled for next downstream CFME release. I will recreate this once the new release is available.
Hopefully https://github.com/ManageIQ/manageiq/pull/8547 will be merged by then.
https://github.com/ManageIQ/manageiq/pull/8547 Merged. Moving to POST.
Values in chargeback reports are still unclear. Further calculation details are required from dev.
Please have a look at the attached screenshot: Keeping in mind that the default rate sheet was used. And that a full day metrics (24 hours) was accumulated. Questions (relevant for all projects, but, I will concentrate my query to project=openshift-infra: 1. If CPU Total = 760.292 Cores and CPU Used = 616.292 how is the CPU total cost = 6.51? 2. If CPU Used = 616.292 how is CPU total Used cost = 4? 3. If Memory total = 342.1 GB how is Memory total Cost = 64.62? 4. If Memory Used = 75.7 GB How is Memory Used Cost = 64.62. 5. If Network I/O used = 9471 KBps, how is Network I/O used Cost = 70.16 Regarding the Total Cost (for Openshift-infra project) CPU Total Cost = 6.51 CPU Used Cost = 3.51 Memory Total Cost = 64.62 Memory Used Cost = 64.62 Network I/O Used Cost = 70.16 Adding all the above (6.51+3.51+64.62+64.62+70.16)= 209.42 How Is the the Total Cost = 141.30?
Ari shouldn't this be in POST?
Moving to Post