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

Bug 1862134

Summary: Update the metrics role based on the released linux-system-roles logging role
Product: [oVirt] ovirt-engine-metrics Reporter: Shirly Radco <sradco>
Component: GenericAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: urgent    
Version: 1.4.1.1CC: bugs, fdeutsch, gdeolive, michal.skrivanek
Target Milestone: ovirt-4.4.3Keywords: ZStream
Target Release: 1.4.2.1Flags: pm-rhel: ovirt-4.4+
sradco: blocker?
gdeolive: testing_plan_complete+
pm-rhel: planning_ack+
sbonazzo: devel_ack+
lleistne: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-metrics-1.4.2.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-11 06:42:39 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: 1677739, 1877357    
Bug Blocks: 1870133, 1889893    

Description Shirly Radco 2020-07-30 14:20:54 UTC
Description of problem:
Currently the metrics role depends on an old and unreleased version of the linux-system-roles logging role.

We should update the metrics role to use the the released linux-system-roles logging role and fix the code accordingly.

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


How reproducible:


Steps to Reproduce:
1. Use the steps to configure collectd and rsyslog for a remote Elasticsearch based on the released linux-system-roles logging role
2.
3.

Actual results:
The metrics role will fail with the new released version of linux-system-roles logging role 

Expected results:
Role should configure correctly collectd and rsyslog and metrics and logs should be save to Elasticsearch


Additional info:

Comment 1 Guilherme Santos 2020-10-26 23:37:39 UTC
Verified on:
ovirt-engine-metrics-1.4.2.1-1.el8ev.noarch
ovirt-engine-4.4.3.8-0.1.el8ev.noarch
rhel-system-roles-1.0-20.el8.noarch

Steps:
1. # /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
2. # /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=manage-ovirt-metrics-services.yml
3. # /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=cleanup-ovirt-metrics.yml

Results:
playbooks not broken and running successfully as expected on latest rhel-system-roles

Comment 2 Sandro Bonazzola 2020-11-11 06:42:39 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

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