We want to add an ansible playbook that installs and configures Grafana to display Dashboards about the data collected in the oVirt DWH. This would give a simple and relatively low resource monitoring solution for visualizing oVirt metrics.
In an internal discussion, we decided to do this inside engine-setup, not in a separate ansible playbook. Current code (not merged yet) is mostly ready. Notable missing parts: - dashboards. I understand that Shirly is working on this, will update later - Make it work well also if dwh and engine are on separate machines. Currently grafana is always on dwh machine - SSO with the engine Code can be seen here: https://github.com/didib/ovirt-dwh/tree/grafana-integration - This is the full branch, with all of my (some small) patches https://gerrit.ovirt.org/108576 - Above, squashed to a single patch. Might be easier to review, definitely easier on CI... https://gerrit.ovirt.org/108585 - Engine-side patches
Note to QE: I only tested engine-setup when engine+DWH+grafana+DBs are all on the same machine, both new setup and upgrade (via backup/restore) from 4.3. Please test also at least how it works when everything is on the same machine except for the DWH Database, which you put on a separate machine. I think this is important, for performance, on larger setups, and is hopefully enough. Other relevant configurations, such as engine on one machine and dwh+grafana on another, are likely broken. If you check them, please open separate bugs for them. Anyway: Once you finish setup, you can access grafana on: https://FQDN/ovirt-engine-grafana/ with FQDN being (for now) the FQDN for the engine. You can login with admin and the password you supplied, or with SSO (there is a button for that). If you login with SSO, you'll not have admin permissions. after you login with SSO, you can login again with internal admin, and give the SSO user admin permissions. From then on, you can login with SSO and have admin.
Testing grafana on remote machine is part of Bug 1847963 So this is just basic setup.
Verified in ovirt-engine-4.4.1.8-0.7.el8ev.noarch ovirt-engine-dwh-4.4.1.2-1.el8ev.noarch engine-setup installs and configures the Grafana instance (tried only everything on the same machine). User admin@internal has access to the Grafana UI by default (login via Grafana login form or via oVirt Engine Auth). Inviting & setting up new users works as well. Following dashboards are available: oVirt Executive Dashboards Cluster Dashboard Datacenter Dashboard Executive Dashboard System Dashboard oVirt Inventory Dashboards Hosts Inventory Dashboard Inventory Dashboard Storage Domains Inventory Dashboard VMs Inventory Dashboard oVirt Service Level Dashboards Cluster Quality of Service - Hosts Dashboard Cluster Quality of Service - Virtual Machines Dashboard Hosts Uptime Dashboard Uptime Dashboard Virtual Machines Uptime Dashboard oVirt Trend Dashboards Hosts Resource Usage Dashboard Hosts Trend Dashboard Trend Dashboard Virtual Machines Resource Usage Dashboard Virtual Machines Trend Dashboard
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 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.