Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1666886

Summary: Install fluentd elasticsearch CA certificate task failed for host
Product: [oVirt] ovirt-engine-metrics Reporter: Shirly Radco <sradco>
Component: GenericAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Ivana Saranova <isaranov>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bugs, sborella
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
rule-engine: blocker+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-metrics-1.2.0.2 Doc Type: Bug Fix
Doc Text:
This release updates the Ansible role to configure the Rsyslog Elasticsearch output correctly to ensure the certificate information reaches the Red Hat Virtualization host.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 07:43:29 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:

Description Shirly Radco 2019-01-16 20:57:59 UTC
Description of problem:
Ansible failed for host :

TASK [oVirt.metrics/roles/oVirt.logging : Install fluentd elasticsearch CA certificate] ******************************************************************************************************
ok: [localhost]
fatal: [lago-basic-suite-4-2-host-0]: FAILED! => {"changed": false, "checksum": "9a4eacb1007bab63c9b6f8f2e04656a7f3f5d4c7", "msg": "Destination directory /etc/ovirt-engine-metrics does not exist"}

Version-Release number of selected component (if applicable):
1.2.0.1

How reproducible:
100%

Steps to Reproduce:
1. Deploy ovirt engine metrics on hosts

Actual results:
Ansible failed for host due to missing certificate

Expected results:
Ansible should finish with no errors

Additional info:

Comment 1 Ivana Saranova 2019-01-28 13:53:42 UTC
Steps:
1. Deploy metrics on hosts

Results: Ansible ended successfully with no errors

TASK [oVirt.ovirt-fluentd/fluentd-setup : Install fluentd elasticsearch CA certificate]
***********
ok: [localhost]
ok: [host1]
ok: [host2]
ok: [host3]

PLAY RECAP 
****************************************************************************************
vm                         : ok=32   changed=16   unreachable=0    failed=0   
host1                      : ok=59   changed=10   unreachable=0    failed=0   
host2                      : ok=59   changed=10   unreachable=0    failed=0   
host3                      : ok=59   changed=10   unreachable=0    failed=0   
localhost                  : ok=89   changed=13   unreachable=0    failed=0   

Tested with: ovirt-engine-4.3.0-0.8.rc2.el7.noarch, ovirt-engine-metrics-1.2.0.1-1.el7ev.noarch

Comment 2 Sandro Bonazzola 2019-02-13 07:43:29 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 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.