Bug 1476982 - data is added to elasticsearch before index templates are loaded
Summary: data is added to elasticsearch before index templates are loaded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.6.z
Assignee: Jan Wozniak
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-01 02:20 UTC by Rich Megginson
Modified: 2019-10-23 02:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-25 13:04:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3049 0 normal SHIPPED_LIVE OpenShift Container Platform 3.6, 3.5, and 3.4 bug fix and enhancement update 2017-10-25 15:57:15 UTC

Description Rich Megginson 2017-08-01 02:20:01 UTC
Description of problem:
Data is added to elasticsearch before index templates are loaded

e.g.
index project.logging.52a8136b-760c-11e7-881a-024829526408.2017.07.31 has this for the hostname field definition:

"hostname": { "type": "string" }

but sometime later:

index project.logging.52a8136b-760c-11e7-881a-024829526408.2017.08.01

  "hostname": { "index": "not_analyzed" }

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
This will really make it difficult for kibana users, especially with dashboards and visualizations

Comment 4 Jeff Cantrill 2017-09-06 21:02:17 UTC
@jan reassigning to you as I think your readiness probe PR https://github.com/openshift/origin-aggregated-logging/pull/609 will resolve this

Comment 6 Anping Li 2017-09-15 05:57:09 UTC
All hostname are correct in Kibana with v3.6.173.0.33. So move bug to verified.

# docker inspect ad0b699423cf  |grep version
                "version": "v3.6.173.0.33"

# oc rsh logging-es-data-master-o012o0zw-1-bj8gx env |grep VER
RECOVER_EXPECTED_NODES=1
RECOVER_AFTER_TIME=5m
ES_CLOUD_K8S_VER=2.4.4.01
ES_VER=2.4.4
JAVA_VER=1.8.0
OSE_ES_VER=2.4.4.13
RECOVER_AFTER_NODES=1

Comment 8 errata-xmlrpc 2017-10-25 13:04:36 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, 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:3049

Comment 9 Rich Megginson 2018-02-14 15:36:34 UTC
This is still a problem - shall I reopen this bug or open a new bug?


Note You need to log in before you can comment on or make changes to this bug.