Bug 1507294
| Summary: | [RFE] Automate populating metrics store related parameters using Ansible | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-metrics | Reporter: | Shirly Radco <sradco> | 
| Component: | RFEs | Assignee: | Shirly Radco <sradco> | 
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> | 
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0.7 | CC: | bugs, lsvaty, ylavi | 
| Target Milestone: | ovirt-4.2.1 | Keywords: | FutureFeature | 
| Target Release: | 1.1.3.2 | Flags: | rule-engine:
                ovirt-4.2+
                 rule-engine: exception+ lsvaty: testing_plan_complete+ ylavi: planning_ack+ rule-engine: devel_ack+ lsvaty: testing_ack+  | 
  
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-metrics-1.1.3.2-1.el7ev | Doc Type: | Enhancement | 
| Doc Text: | 
       Feature: 
Add automation to grab setup parameters from the remote metrics store, that currently need to be done manually.
We also create the kibana admin user.
Reason: 
Remove the steps the user needs to do manually.
Result: 
Added automation to the metrics deployment ansible that grab these 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
Kibana admin user is created with user admin and password admin.
This requires to configure SSH Key-Based authentication from engine the the metrics store machine as an initial step. 
 | 
        
        
        
        Story Points: | --- | 
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-29 10:46:54 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1506458 | ||
| Bug Blocks: | 1542989, 1546540, 1631202 | ||
| 
 
        
          Description
        
        
          Shirly Radco
        
        
        
        
        
          2017-10-29 12:00:49 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 (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.  |