Bug 1990462 - [RFE] Add user name and password to ELK integration
Summary: [RFE] Add user name and password to ELK integration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-metrics
Version: 4.4.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Aviv Litman
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On: 1990490 2010327 2025936
Blocks: 2025290
TreeView+ depends on / blocked
 
Reported: 2021-08-05 13:08 UTC by Aviv Litman
Modified: 2022-05-26 16:23 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-metrics-1.5.0
Doc Type: Enhancement
Doc Text:
In this release, Elasticsearch username and password have been added for authentication from rsyslog. AS a result, rsyslog can now authenticate to Elasticsearch using a username and password.
Clone Of:
Environment:
Last Closed: 2022-05-26 16:23:07 UTC
oVirt Team: Metrics
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-42976 0 None None None 2021-09-21 11:32:35 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:23:16 UTC
oVirt gerrit 116098 0 master MERGED Add user name and password to oVirt.logging 2021-12-22 11:04:51 UTC

Description Aviv Litman 2021-08-05 13:08:02 UTC
The user and password are exposed in the RSyslog Elasticsearch Output Module,
and documented as uid, and pwd here:
https://www.rsyslog.com/doc/v8-stable/configuration/modules/omelasticsearch.html#server

and the user can set built-in user password, as documented here (step 2-6-4):
https://www.elastic.co/blog/configuring-ssl-tls-and-https-to-secure-elasticsearch-kibana-beats-and-logstash 

We want to expose the uid and pwd parameters in our role,
to allow basic auth on the elasticsearch server.

The metrics side is documented in this bug.

The rhel-system-roles will be documented in a separate bug: https://bugzilla.redhat.com/show_bug.cgi?id=1990490

*need to make sure we never log the password anywhere.

*remove unnecessary variables from the secure_vars.yaml.example

Comment 3 Guilherme Santos 2022-05-03 17:35:08 UTC
Verified on ovirt-engine-4.5.0.1-601.f26e9ea8cac5.3.el8ev.noarch

Sanity passed with username and password specified in metrics config file

Comment 8 errata-xmlrpc 2022-05-26 16:23:07 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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security 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/RHSA-2022:4711


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