Bug 1476982
| Summary: | data is added to elasticsearch before index templates are loaded | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Rich Megginson <rmeggins> |
| Component: | Logging | Assignee: | Jan Wozniak <jwozniak> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.0 | CC: | anli, aos-bugs, jcantril, pportant, pweil, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-10-25 13:04:36 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: | |||
@jan reassigning to you as I think your readiness probe PR https://github.com/openshift/origin-aggregated-logging/pull/609 will resolve this 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
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 This is still a problem - shall I reopen this bug or open a new bug? |
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