Description of problem: Following a nice discussion in the ovirt mailing list about a billing solution It would be really nice to be in the position to gather this info per vm so that through an interface GUI invoices could be generated for post paid plans and according to the plans the admin can set. T Version-Release number of selected component (if applicable): 1.x :-) meaning it would be a helpful feature to exist already Expected results: Perhaps a nice minimal billing web app with a separate database that holds the usage information that has the possibility to either generate minimalistic invoices based on plans set by the admin, or access the info through an API from a centralized billing. Additional info: Interesting aspect would be the actual usage of a customer's vm to be charged in comparison to the provisioned. Additional info: I picked up the reports as it is the closest component I could think of
Cpu time for system and user per vm is already collected by metrics store.
This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?.
Given the fact that metrics-store already collects such information and it's possible to track it through kibana, this is verified following the steps: Steps: 1. Have metrics-store installed and configured for the target engine/host according with tutorial: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/metrics_store_installation_guide/installing_metrics_store 2. Log in into Kibana and select the 'Visualize' tab 3. Create a new visualization with the + sign on the right of the search bar 4. Select a cumulative data visualization chart (such as Area) 5. For the project-* index, Add: - Average collectd.cpu.percent for the Y-Axis in metrics - Date Histogram with @timestamp for the X-Axis in sub-buckets - collectd.type_instance Term as Split Series in sub-buckets Results: Cumulative CPU usage showing in Kibana for the target hosts/engines Additional Information: It's possible to filter the visualization even more according with machine or other options that kibana allows, verification steps above just consider basic filter/information verification If verification does not seem reflect the RFE and other steps should be followed, feel free to reopen verification.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.