Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1889893

Summary: Logging - Support oVirt input + elasticsearch output
Product: Red Hat Enterprise Linux 8 Reporter: Noriko Hosoi <nhosoi>
Component: rhel-system-rolesAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Guilherme Santos <gdeolive>
Severity: unspecified Docs Contact: Eliane Ramos Pereira <elpereir>
Priority: unspecified    
Version: 8.3CC: elpereir, gdeolive, kanderso, lcervako, rmeggins, sradco
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhel-system-roles-1.0-21.el8 Doc Type: Enhancement
Doc Text:
.The Logging RHEL System Role now supports `rsyslog` behavior With this enhancement, `rsyslog` receives the message from Red Hat Virtualization and forwards the message to the `elasticsearch`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-16 14:23:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1862134    
Bug Blocks:    

Description Noriko Hosoi 2020-10-20 20:31:34 UTC
Description of problem:
Testing the logging role oVirt input and elasticsearch output configuration in the oVirt environment.

The latest rhel-system-roles version is rhel-system-roles-1.0-20.el8.
But the version does not contain the fix of the following 2 bugs.
- https://bugzilla.redhat.com/show_bug.cgi?id=1878857
- https://github.com/linux-system-roles/logging/pull/181

Comment 2 Noriko Hosoi 2020-10-30 05:53:37 UTC
Hello @Guilherme,

Could you please set qa_ack+ in this bz?
Once you set it, we can respin Logging role including this fix.
Thanks!

Comment 3 Noriko Hosoi 2020-11-02 18:50:14 UTC
Hello @gdeolive, Shirly,
If you have any difficulties to set qa_ack+, could you share them with us?
Thanks.

Comment 4 Guilherme Santos 2020-11-09 11:58:29 UTC
It has been tested: https://bugzilla.redhat.com/show_bug.cgi?id=1862134#c1

ovirt-engine-metrics component integrates elasticsearch and ovirt logs through rsyslog and it's playbooks uses ovirt logging roles

Comment 5 Noriko Hosoi 2020-11-13 02:25:41 UTC
Hi Shirly, could you please review the Doc Text? Please feel free to modify it. Thanks in advance!

Comment 6 Shirly Radco 2020-11-15 12:10:50 UTC
LGTM

Comment 9 Guilherme Santos 2021-01-05 14:02:06 UTC
Verified on:
rhel-system-roles-1.0-21.el8.noarch

Steps:
1. I mainly followed the same steps I used here: https://bugzilla.redhat.com/show_bug.cgi?id=1862134#c1
which backed my test with upstream on comment #4. Basically I ran/validated ovirt-engine-metrics playbooks that implement ovirt logging roles.

Results:
Playbooks ran successfully and ovirt-engine-metrics is working as expected (meaning, ovirt and hosts/rhel rsyslog data are being properly sent and fetched from elasticsearch)

Comment 16 errata-xmlrpc 2021-02-16 14:23:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:0533