Bug 2000309 - Elasticsearch pods reports repetitive warning org.elasticsearch.ElasticsearchSecurityException: _opendistro_security_dls_query does not match (SG 900D)
Summary: Elasticsearch pods reports repetitive warning org.elasticsearch.Elasticsearch...
Keywords:
Status: CLOSED DUPLICATE of bug 1985826
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.z
Assignee: Sashank Agarwal
QA Contact: Anping Li
URL:
Whiteboard: logging-exploration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-01 20:17 UTC by Dhruv Gautam
Modified: 2023-09-15 01:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-18 13:53:30 UTC
Target Upstream Version:
Embargoed:
afurbach: needinfo-


Attachments (Terms of Use)

Description Dhruv Gautam 2021-09-01 20:17:28 UTC
Description of problem:
Elaticsearch pods are reporting below warning:

[2021-08-31T18:15:04,239][WARN ][r.suppressed             ] [elasticsearch-cdm-lp4bg7d4-1] path: /_alias/infra-write, params: {name=infra-write}
org.elasticsearch.transport.RemoteTransportException: [elasticsearch-cdm-lp4bg7d4-2][10.102.12.96:9300][indices:admin/aliases/get]
Caused by: org.elasticsearch.ElasticsearchSecurityException: _opendistro_security_dls_query does not match (SG 900D)
	at com.amazon.opendistroforelasticsearch.security.privileges.DlsFlsEvaluator.evaluate(DlsFlsEvaluator.java:128) ~[?:?]
	at com.amazon.opendistroforelasticsearch.security.privileges.PrivilegesEvaluator.evaluate(PrivilegesEvaluator.java:443) ~[?:?]
	at com.amazon.opendistroforelasticsearch.security.filter.OpenDistroSecurityFilter.apply0(OpenDistroSecurityFilter.java:287) ~[?:?]

All the elasticsearch-im jobs are completed successfully:

$ oc -nopenshift-logging get jobs
NAME                                COMPLETIONS   DURATION   AGE
curator-1630467000                  1/1           4s         15h
elasticsearch-im-app-1630522800     1/1           4s         7m19s
elasticsearch-im-audit-1630522800   1/1           4s         7m19s
elasticsearch-im-infra-1630522800   1/1           4s         7m19s

- Health of elasticsearch cluster is green.
- Fluentd doesn't have any stuck buffers.
- There is no time delay while viewing logs in kibana.
- Elasticsearch and ClusterLogging operators are using 4.6 stable channel in subscription

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

How reproducible:
NA

Steps to Reproduce:
1. NA
2.
3.

Actual results:
Elasticsearch pod logs show below warning:

[2021-08-31T18:15:04,239][WARN ][r.suppressed             ] [elasticsearch-cdm-lp4bg7d4-1] path: /_alias/infra-write, params: {name=infra-write}
org.elasticsearch.transport.RemoteTransportException: [elasticsearch-cdm-lp4bg7d4-2][10.102.12.96:9300][indices:admin/aliases/get]
Caused by: org.elasticsearch.ElasticsearchSecurityException: _opendistro_security_dls_query does not match (SG 900D)

Expected results:
Elasticsearch should not report above said warning.

Additional info:

Comment 7 Sashank Agarwal 2021-11-18 05:29:24 UTC
Hey @tmicheli

Comment 14 Sashank Agarwal 2021-11-18 13:53:30 UTC
It happens to be that someone is already investigating on this issue.

This bug is same as https://bugzilla.redhat.com/show_bug.cgi?id=1985826. Hence, I am closing it as a DUPLICATE. Please follow the thread over here https://issues.redhat.com/browse/LOG-1868 to get further updates on the investigation for this issue.

*** This bug has been marked as a duplicate of bug 1985826 ***

Comment 17 Red Hat Bugzilla 2023-09-15 01:14:33 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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