Bug 1386526

Summary: 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
Product: OpenShift Container Platform Reporter: Xia Zhao <xiazhao>
Component: LoggingAssignee: ewolinet
Status: CLOSED NOTABUG QA Contact: Xia Zhao <xiazhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.1CC: aos-bugs
Target Milestone: ---   
Target Release: ---   
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: 2016-10-19 13:46:58 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:
Attachments:
Description Flags
es_log none

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