Bug 1753593
| Summary: | [Reg] openshift_logging_elasticsearch_kibana_index_mode cannot be changed by inventory variable | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Nicolas Nosenzo <nnosenzo> |
| Component: | Logging | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | anli, aos-bugs, kpelc, mvardhan, nhosoi, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
In the openshift-logging update using ansible, if a new value was set in the inventory file to apply the change to the existing cluster, the change was ignored.
It was because the module logging_patch accidentally created a patch to change a new file into the original file.
The patching direction was fixed and the changes made in an inventory file are now correctly applied.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-14 05:31:27 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: | |||
|
Description
Nicolas Nosenzo
2019-09-19 11:23:42 UTC
I could not reproduce the problem.
# rpm -q openshift-ansible
openshift-ansible-3.11.98-1.git.0.3cfa7c3.el7.noarch
I deployed the logging cluster with "openshift_logging_elasticsearch_kibana_index_mode=shared_ops".
# oc get configmap logging-elasticsearch -o yaml |grep openshift.kibana.index.mode
openshift.kibana.index.mode: shared_ops
Could you please share the output from ansible-playbook command line with -vvv as well as the inventory file with us?
Then it might narrow down the issue to non-new deployments, I've reproduced it again. Noriko, I tested it by deploying efk from the scratch and the value was set to shared_ops as stated in the inventory. So the problem seems to be when trying to change the value upon updates. Works with latest openshift-ansible:v3.11.157 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, 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-2020:0017 |