Bug 2015699 - [OSP 16.2] Openstack Director deployment does not support multiple elasticsearch servers in the RsyslogElasticsearchSetting config
Summary: [OSP 16.2] Openstack Director deployment does not support multiple elasticsea...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-rsyslog
Version: 16.2 (Train)
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Martin Magr
QA Contact: Leonid Natapov
Joanne O'Flynn
URL:
Whiteboard:
: 2066905 (view as bug list)
Depends On: 1945334
Blocks: 2066908
TreeView+ depends on / blocked
 
Reported: 2021-10-19 21:09 UTC by Martin Magr
Modified: 2022-06-22 16:03 UTC (History)
8 users (show)

Fixed In Version: puppet-rsyslog-3.3.1-2.20220127125248.0c2b6c8.el8ost
Doc Type: Bug Fix
Doc Text:
Before this update, the `RsyslogElasticsearchSetting` parameter did not support the array format required to set multiple servers. With this update, the `RsyslogElasticsearchSetting` parameter now accepts values with multiple items. You can define multiple Elasticsearch servers by using the following array format: `server: ["elasticsearch1", "elasticsearch2"]`
Clone Of: 1945334
: 2066951 (view as bug list)
Environment:
Last Closed: 2022-06-22 16:02:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-10485 0 None None None 2021-11-15 12:32:50 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:03:05 UTC

Comment 8 Leif Madsen 2022-03-22 19:45:40 UTC
*** Bug 2066905 has been marked as a duplicate of this bug. ***

Comment 14 Leonid Natapov 2022-06-13 18:06:01 UTC
custom yaml file:
parameter_defaults:
    RsyslogElasticsearchSetting:
        server: ["192.168.0.11:9200", "192.168.0.12:9200"]
        bulkmode: "on"

After deployment I can see servers populated in the conf file.



from: 50_openstack_logs.conf

# elasticsearch
action(type="omelasticsearch"
    name="elasticsearch"
    bulkmode="on"
    dynSearchIndex="on"
    errorfile="/var/log/rsyslog/omelasticsearch.log"
    searchIndex="rsyslog-node-index"
    server=["192.168.0.11:9200", "192.168.0.12:9200"]
    template="rsyslog-record"

Comment 19 errata-xmlrpc 2022-06-22 16:02:31 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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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/RHBA-2022:4793


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