Description of problem: Simplify setting up oVirt metrics by populating the metrics store related parameters using Ansible. Currently, the user will need to access the metrics store, run oc commands and copy the results, in order to populate the following parameters: local_fluentd_elasticsearch_ca_file_path, local_fluentd_elasticsearch_client_cert_path, local_fluentd_elasticsearch_client_key_path, ovirt_env_uuid_metrics, ovirt_env_uuid_logs This should be automated using Ansible. The user should provide the fluentd_elasticsearch_host, ovirt_env_name and provide access to the metrics store machine.
This is a short script I'm using to deploy ViaQ setup, feel free to reuse. https://github.com/StLuke/ovirt-metrics-store/blob/master/playbooks/viaq-store.yml
(In reply to Lukas Svaty from comment #1) > This is a short script I'm using to deploy ViaQ setup, feel free to reuse. > > https://github.com/StLuke/ovirt-metrics-store/blob/master/playbooks/viaq- > store.yml Can I assign you as an owner for this BZ?
I'm sorry to say I do not have the capacity to work for this on 4.2 release. I'll be happy to help with the design though and answer any question regarding existing playbook.
This requires to configure SSH Key-Based authentication from engine the the metrics store machine.
Thanks for the patch! Saves lot of frustration for configuration! verified in ovirt-engine-metrics-1.1.3.2-1.el7ev.noarch
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.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.