Bug 1845233

Summary: Mapping "template" field becomes "index_patterns"
Product: OpenShift Container Platform Reporter: Jeff Cantrill <jcantril>
Component: LoggingAssignee: Lukas Vlcek <lvlcek>
Status: CLOSED ERRATA QA Contact: Qiaoling Tang <qitang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.5CC: anli, aos-bugs, jcantril, lvlcek, qitang
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1845146 Environment:
Last Closed: 2020-10-27 16:05:58 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:    
Bug Blocks: 1845146    

Comment 1 Jeff Cantrill 2020-06-08 17:46:23 UTC
*** Bug 1845235 has been marked as a duplicate of this bug. ***

Comment 4 Qiaoling Tang 2020-06-15 05:44:47 UTC
Verified with quay.io/openshift/origin-logging-elasticsearch6@sha256:414dec7b5fd98ebcbce1e52f1fced60cbe224a686dcbea30e7e2fbf21305bc85

sh-4.2$ ls /usr/share/elasticsearch/index_templates/
com.redhat.viaq-openshift-operations.template.json	 common.settings.operations.template.json	jaeger-span.json
com.redhat.viaq-openshift-operations.template.json.bkup  common.settings.operations.template.json.bkup	jaeger-span.json.bkup
com.redhat.viaq-openshift-project.template.json		 common.settings.project.template.json		org.ovirt.viaq-collectd.template.json
com.redhat.viaq-openshift-project.template.json.bkup	 common.settings.project.template.json.bkup	org.ovirt.viaq-collectd.template.json.bkup
common.settings.kibana.template.json			 jaeger-service.json
common.settings.kibana.template.json.bkup		 jaeger-service.json.bkup
sh-4.2$ cd /usr/share/elasticsearch/index_templates/
sh-4.2$ grep -r "index_patterns" -A 2
com.redhat.viaq-openshift-operations.template.json:  "index_patterns": [
com.redhat.viaq-openshift-operations.template.json-    "infra*",
com.redhat.viaq-openshift-operations.template.json-    "audit*"
--
com.redhat.viaq-openshift-project.template.json:  "index_patterns": [
com.redhat.viaq-openshift-project.template.json-    "app*"
com.redhat.viaq-openshift-project.template.json-  ],
--
common.settings.kibana.template.json:  "index_patterns": ".kibana*"
common.settings.kibana.template.json-}
--
common.settings.operations.template.json:  "index_patterns": [ "infra*", "audit*" ]
common.settings.operations.template.json-}
--
common.settings.project.template.json:  "index_patterns": [ "app*" ]
common.settings.project.template.json-}
--
jaeger-service.json:  "index_patterns": "*jaeger-service-*",
jaeger-service.json-  "settings":{
jaeger-service.json-    "index.number_of_shards": 3,
--
jaeger-span.json:  "index_patterns": "*jaeger-span-*",
jaeger-span.json-  "settings":{
jaeger-span.json-    "index.number_of_shards": 3,
--
org.ovirt.viaq-collectd.template.json:  "index_patterns": "project.ovirt-metrics-*",
org.ovirt.viaq-collectd.template.json-  "mappings": {
org.ovirt.viaq-collectd.template.json-    "_doc": {
--

Comment 6 errata-xmlrpc 2020-10-27 16:05:58 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 GA Images), 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:4196