Bug 1519705
Summary: | [3.6.1] No document under .all index for non-ops kibana | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> | ||||
Component: | Logging | Assignee: | Jeff Cantrill <jcantril> | ||||
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.6.1 | CC: | anli, aos-bugs, jcantril, juzhao, rmeggins | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | 3.6.z | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: Trying to alias an index that does not exist
Consequence: Bulk alias operation fails.
Fix: Only alias .operations if there is at least one .operations index
Result: .all will be an alias for all indices
|
Story Points: | --- | ||||
Clone Of: | 1519694 | ||||||
: | 1526287 (view as bug list) | Environment: | |||||
Last Closed: | 2018-01-23 17:59:00 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: | 1519694 | ||||||
Bug Blocks: | 1526287 | ||||||
Attachments: |
|
Description
Anping Li
2017-12-01 09:04:27 UTC
This occurs because there is no .operation index and we artificially add '.operations' to the projects to be aliased. The bulk alias then fails because the index does not exist. We will need to fix by checking for any indices and only adding .operations if we have a matching index. Sample error message from logs: [2017-12-04 21:02:58,033][ERROR][io.fabric8.elasticsearch.plugin.kibana.KibanaSeed] Error executing Alias request [.operations.*] IndexNotFoundException[no such index] Commits pushed to master at https://github.com/openshift/origin-aggregated-logging https://github.com/openshift/origin-aggregated-logging/commit/b2af1d20ec47ff9e9cd0eff846697d5214b5ca67 bug 1519705. bump openshift-elasticsearch-plugin-2.4.4.20 and build if necessary https://github.com/openshift/origin-aggregated-logging/commit/4c5ca915194478a393b78b383464789d52804e9f Merge pull request #835 from jcantrill/bump_244_20 Automatic merge from submit-queue. bug 1519705. bump openshift-elasticsearch-plugin-2.4.4.20 Enabled ops cluster, there are logs under .all index for non-ops kibana, see the attached picture. Images: logging-kibana/images/v3.6.173.0.89-1 logging-elasticsearch/images/v3.6.173.0.89-1 logging-fluentd/images/v3.6.173.0.89-1 logging-auth-proxy/images/v3.6.173.0.89-1 logging-curator/images/v3.6.173.0.89-1 elasticsearch-plugin in logging-elasticsearch image is openshift-elasticsearch-plugin-2.4.4.20 now bash-4.2$ rpm -qa | grep elasticsearch-plugin openshift-elasticsearch-plugin-2.4.4.20__redhat_1-1.el7.noarch Created attachment 1369217 [details]
enabled ops cluster,kibana UI, there are logs under .all index
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-2018:0113 |