Bug 1463046
| Summary: | Change the Elasticsearch setting "node.max_local_storage_nodes" to 1 to prevent sharing EBS volumes | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jeff Cantrill <jcantril> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Xia Zhao <xiazhao> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.1 | CC: | aos-bugs, jcantril, pportant, rmeggins, rromerom, xiazhao |
| Target Milestone: | --- | ||
| Target Release: | 3.5.z | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Elasticsearch default value for sharing storage between ES instances was wrong
Consequence: The incorrect default value allowed an ES pod starting up (when another ES pod was shutting down, e.g. during dc redeployments) to create a new location on the PV for managing the storage volume, duplicating data, and in some instances, potentially causing data loss.
Fix: All ES pods now run with "node.max_local_storage_nodes" set to 1.
Result: The ES pods starting up/shutting down will no longer share the same storage and prevent the data duplication and/or data loss.
|
Story Points: | --- |
| Clone Of: | 1462277 | Environment: | |
| Last Closed: | 2017-07-11 10:47:38 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: | 1460564, 1462277 | ||
| Bug Blocks: | 1462281 | ||
|
Description
Jeff Cantrill
2017-06-20 02:04:43 UTC
The testing work is blocked by this new regression bug: https://bugzilla.redhat.com/show_bug.cgi?id=1466626 *** Bug 1462281 has been marked as a duplicate of this bug. *** max_local_storage_nodes is 1 now
# oc get configmap logging-elasticsearch -o yaml | grep -i max_local_storage_nodes
max_local_storage_nodes: 1
Testing env:
# openshift version
openshift v3.5.5.31
kubernetes v1.5.2+43a9be4
etcd 3.1.0
ansible version:
openshift-ansible-playbooks-3.5.91-1.git.0.28b3ddb.el7.noarch
worked around bug #1466626 by adding the configuration in https://github.com/openshift/openshift-ansible/pull/4657/files
Images from brew registry:
openshift3/logging-kibana 277c4a616a5a
openshift3/logging-elasticsearch a7989e457354
openshift3/logging-fluentd c09565262cad
openshift3/logging-curator 0aa259fbc36e
openshift3/logging-auth-proxy d79212db0381
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-2017:1640 |