Bug 1386526 - Encounter exception in es log: Error while apply() due to com.floragunn.searchguard.tokeneval.MalformedConfigurationException: no bypass or execute filters at all for action indices:data/read/msearch
Summary: Encounter exception in es log: Error while apply() due to com.floragunn.searc...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: ewolinet
QA Contact: Xia Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-19 08:08 UTC by Xia Zhao
Modified: 2016-11-08 08:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-19 13:46:58 UTC
Target Upstream Version:


Attachments (Terms of Use)
es_log (17.35 KB, text/plain)
2016-10-19 08:09 UTC, Xia Zhao
no flags Details

Comment 1 Xia Zhao 2016-10-19 08:09:14 UTC
Created attachment 1212017 [details]
es_log

Comment 2 ewolinet 2016-10-19 13:46:58 UTC
This is a non-issue.

This comes from the fact that Searchguard prints out ACL violations as stack traces. The most common case for seeing this is if you connect to Kibana and view the 'settings' tab. Initially Kibana tries to fetch the index mapping data for the 'logstash-*' index pattern which is not allowed via a user's ACL unless they happen to have access to a project that matches that pattern.

The stacktrace is only printed once when the ACL prevents a user from doing the performed action, in this case it is 'indices:data/read/msearch'. There is no disruption to processing within Elasticsearch when this occurs.

This should be resolved with the 3.4 images which utilize a newer version of Searchguard.

Comment 3 Xia Zhao 2016-11-08 08:29:21 UTC
(In reply to ewolinet from comment #2)
> This is a non-issue.
> 
> This comes from the fact that Searchguard prints out ACL violations as stack
> traces. The most common case for seeing this is if you connect to Kibana and
> view the 'settings' tab. Initially Kibana tries to fetch the index mapping
> data for the 'logstash-*' index pattern which is not allowed via a user's
> ACL unless they happen to have access to a project that matches that pattern.
> 
> The stacktrace is only printed once when the ACL prevents a user from doing
> the performed action, in this case it is 'indices:data/read/msearch'. There
> is no disruption to processing within Elasticsearch when this occurs.
> 
> This should be resolved with the 3.4 images which utilize a newer version of
> Searchguard.

Hi Eric,

Yes, this exception was not observed any more with 3.4.0 level of logging.

Thanks for the detailed explanation,
Xia


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