Bug 1548463 - .all alias not being updated with new indices after a certain date
Summary: .all alias not being updated with new indices after a certain date
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.6.z
Assignee: Lukas Vlcek
QA Contact: Anping Li
URL:
Whiteboard:
Depends On: 1548038 1577877
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-23 15:24 UTC by Jeff Cantrill
Modified: 2021-09-09 13:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Aliasing only occurs when a user logs into Kibana. If the the openshift-elasticsearch-plugin is not functioning correctly then aliasing may not occur. Consequence: .all alias will not be associated with all indices Fix: Use Elasticsearch index templates to alias all newly created indices Result: All newly created indices will be aliased to .all
Clone Of: 1548038
Environment:
Last Closed: 2018-09-04 18:48:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin-aggregated-logging pull 973 0 None None None 2018-02-23 15:24:33 UTC

Comment 5 Anping Li 2018-04-19 11:32:32 UTC
No all alias when index are created. the fix is not in v3.6

logging-fluentd/images/v3.6.173.0.113-4
FLUENTD_VERSION=0.12.39
DATA_VERSION=1.6.0
RUBY_VERSION=2.0


-->3. list aliases in first node --< 
oc exec -c elasticsearch logging-es-data-master-9wp33xpt-2-slw0j -- curl -s -XGET --cacert /etc/elasticsearch/secret/admin-ca --cert /etc/elasticsearch/secret/admin-cert --key /etc/elasticsearch/secret/admin-key https://localhost:9200/_aliases?pretty
{
  ".searchguard.logging-es-data-master-9wp33xpt" : {
    "aliases" : { }
  },
  "project.logging.a7738867-43ac-11e8-97b2-0e3a6548362c.2018.04.19" : {
    "aliases" : { }
  },
  ".kibana" : {
    "aliases" : { }
  },
  "project.test2.35fda589-43c4-11e8-b636-0e3a6548362c.2018.04.19" : {
    "aliases" : { }
  },
  "project.test.23222a2f-43bd-11e8-b636-0e3a6548362c.2018.04.19" : {
    "aliases" : { }
  }
}

-->3.1 list aliases in first node --< 
oc exec -c elasticsearch logging-es-ops-data-master-7sohmstl-2-0cnj7 -- curl -s -XGET --cacert /etc/elasticsearch/secret/admin-ca --cert /etc/elasticsearch/secret/admin-cert --key /etc/elasticsearch/secret/admin-key https://localhost:9200/_aliases?pretty
{
  ".kibana" : {
    "aliases" : { }
  },
  ".searchguard.logging-es-ops-data-master-7sohmstl" : {
    "aliases" : { }
  },
  ".operations.2018.04.19" : {
    "aliases" : { }
  }
}

Comment 7 Anping Li 2018-04-20 02:01:47 UTC
Status changed by errata, Move back.

Comment 14 Anping Li 2018-08-06 08:28:33 UTC
Works with logging-fluentd:v3.6.173.0.128


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