Bug 1507294 - [RFE] Automate populating metrics store related parameters using Ansible
Summary: [RFE] Automate populating metrics store related parameters using Ansible
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: RFEs
Version: 1.0.7
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-4.2.1
: 1.1.3.2
Assignee: Shirly Radco
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On: 1506458
Blocks: 1542989 1546540 1631202
TreeView+ depends on / blocked
 
Reported: 2017-10-29 12:00 UTC by Shirly Radco
Modified: 2018-12-10 09:24 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-metrics-1.1.3.2-1.el7ev
Clone Of:
Environment:
Last Closed: 2018-03-29 10:46:54 UTC
oVirt Team: Metrics
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: exception+
lsvaty: testing_plan_complete+
ylavi: planning_ack+
rule-engine: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 86798 0 master MERGED ansible: set metrics store certificates params 2018-01-31 12:45:51 UTC
oVirt gerrit 87319 0 master MERGED fluentd: handle undefined indexes uuids 2018-02-08 12:30:52 UTC
oVirt gerrit 87448 0 master MERGED ansible: fix bug in copy files to engine machine 2018-02-11 15:26:27 UTC
oVirt gerrit 87489 0 master MERGED ansible: update ovirt-metrics-store-setup role 2018-02-13 13:47:28 UTC

Description Shirly Radco 2017-10-29 12:00:49 UTC
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.

Comment 1 Lukas Svaty 2017-10-30 12:20:51 UTC
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

Comment 2 Yaniv Kaul 2017-11-20 12:11:45 UTC
(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?

Comment 3 Lukas Svaty 2017-11-20 12:43:37 UTC
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.

Comment 4 Shirly Radco 2018-02-15 10:57:35 UTC
This requires to configure SSH Key-Based authentication from engine the the metrics store machine.

Comment 5 Lukas Svaty 2018-03-07 13:18:30 UTC
Thanks for the patch! Saves lot of frustration for configuration!

verified in ovirt-engine-metrics-1.1.3.2-1.el7ev.noarch

Comment 6 Sandro Bonazzola 2018-03-29 10:46:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.