Description of problem: We would like to deploy oVirt metrics on every new host, in case there is already a metrics store configured.
Hi Shirly, can you please share some bits about the design of this RFE? What is expected behaviour?
I created a new role oVirt.metrics. All of the ovirt-engine-metrics roles will now be installed at /usr/share/ansible/roles/oVirt.metrics/ . When a new hosts is added or reinstalled, the oVirt metrics role will be run as part of the ovirt engine host deploy ansible scripts. If the metrics store is already configured, the host will be configured to send metrics and logs to the remote metrics store. If it is not, the the playbook will end with a message that the metrics store is not configured so this host will not be configured to send metrics.
this is currently not working, and caused installation of new hosts to engine already set up with metrics to get stuck (see BZ#1538998)
verified in ovirt-host-4.2.2-2.el7ev.x86_64
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 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.