Bug 2015699
| Summary: | [OSP 16.2] Openstack Director deployment does not support multiple elasticsearch servers in the RsyslogElasticsearchSetting config | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Martin Magr <mmagr> | |
| Component: | puppet-rsyslog | Assignee: | Martin Magr <mmagr> | |
| Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> | |
| Severity: | high | Docs Contact: | Joanne O'Flynn <joflynn> | |
| Priority: | medium | |||
| Version: | 16.2 (Train) | CC: | astupnik, csibbitt, jbadiapa, kgilliga, lmadsen, mflusche, oblaut, tkajinam | |
| Target Milestone: | z3 | Keywords: | Triaged | |
| Target Release: | 16.2 (Train on RHEL 8.4) | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| 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"]`
|
Story Points: | --- | |
| Clone Of: | 1945334 | |||
| : | 2066951 (view as bug list) | Environment: | ||
| Last Closed: | 2022-06-22 16:02:31 UTC | Type: | --- | |
| 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: | 1945334 | |||
| Bug Blocks: | 2066908 | |||
|
Comment 8
Leif Madsen
2022-03-22 19:45:40 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"
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 |