Elasticsearch unable to parse query when using non-admin user
Bug #1484285 reported by
Travis Tripp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Fix Released
|
Critical
|
Steve McLellan |
Bug Description
After implementing the fix for authentication (https:/
500 Errors are reported when querying for a non-admin user. The query filtering being sent in is failing.
Query and response from admin user:
http://
Query and response from demo user:
Changed in searchlight: | |
milestone: | none → liberty-rc1 |
Changed in searchlight: | |
status: | Fix Committed → Fix Released |
Changed in searchlight: | |
milestone: | liberty-rc1 → 0.1.0.0 |
To post a comment you must log in.
'index' isn't a valid filter. I think the correct approach is to use an 'indices' filter (https:/ /www.elastic. co/guide/ en/elasticsearc h/reference/ current/ query-dsl- indices- filter. html) with the 'and' inside it. I've got a patch, will fix up unit tests and submit it.