Bug 1506816

Summary: [RFE] Add Metering Used Hours to chargeback report for containers
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: ReportingAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Gilad Shefer <gshefer>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: bazulay, dajohnso, epacific, gtanzill, jhardy, lavenel, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.9.0Flags: gshefer: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: chargeback:container
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:20:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:

Description Nandini Chandra 2017-10-26 20:39:14 UTC
Description of problem:
-----------------------
Description of problem: In Performance and Chargeback Reporting, we should report the number of hours an entity (VM, Instance, Container, Project, Pod) are running over the interval. 
In this requirement we should count every hour started not the total of minutes on the interval and translate in hours.


Additional info:
----------------

Comment 2 Nandini Chandra 2017-10-26 20:39:42 UTC
https://github.com/ManageIQ/manageiq/pull/15908

Comment 6 Gilad Shefer 2018-01-31 13:06:33 UTC
Could you please describe how/what should I test?, should I see a new column? also, AFAIK the calculation is already done with hours.

Comment 9 errata-xmlrpc 2018-03-01 13:20:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380