Bug 1923791

Summary: Elasticsearch Operator performs unnecessary index template seeding which can impact cluster performance
Product: OpenShift Container Platform Reporter: ewolinet
Component: LoggingAssignee: ewolinet
Status: CLOSED ERRATA QA Contact: Qiaoling Tang <qitang>
Severity: medium Docs Contact:
Priority: high    
Version: 4.6.zCC: anli, aos-bugs
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-exploration
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1920215 Environment:
Last Closed: 2021-03-09 20:00:46 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: 1920215    
Bug Blocks:    

Description ewolinet 2021-02-01 22:28:15 UTC
+++ This bug was initially created as a clone of Bug #1920215 +++

Description of problem:
Index Templates are high priority items in the Elasticsearch cluster, and constantly updating them (even when nothing has changed) can cause the cluster to deprioritize what it is currently doing to ensure that the templates are replicated across the cluster.

Version-Release number of selected component (if applicable):
4.6.z

How reproducible:
Always

Steps to Reproduce:
1. Deploy EO
2. Create es CR with index management section (required)
3. Observe in the logs ES creating/updating the ocp-gen-* index templates constantly

Actual results:
Index Templates are always updated

Expected results:
Templates are only updated when a change is necessary

Comment 3 Qiaoling Tang 2021-03-03 03:34:09 UTC
Verified with elasticsearch-operator.4.6.0-202103010126.p0

Comment 5 errata-xmlrpc 2021-03-09 20:00:46 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 (OpenShift Container Platform 4.6.20 extras 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/RHBA-2021:0675