Closed atalakey4work closed 1 month ago
[Triage]
Hi @atalakey4work , Looks like 2.25.0 points to 2.17.0 OpenSearch and 2.22.0 points to 2.16.0 OpenSearch-Dashboards. Can you try using the same version of both the products and see if you are still seeing the issue? Thanks!
When i use the same version the issue is even worse. When i open a previously saved Discover search i get the permission error.
Adding @ashwin-pc @amoo-miki @cwperks to take a look on this. Seems like this is more related to the OSD core or security plugin.
Thanks.
Do you have the OpenSearch logs for the 403? That would provide the reason for the permission being denied.
Also, what versions were being used prior to the upgrade?
I am not familiar with this repo but could this have anything to do with the strong password requirements?
@AMoo-Miki I was able to resolve the error by updating the below in my opensearch_dashboarfs.yml
Before: opensearch.requestHeadersAllowlist: ["Authorization", "securitytenant"]
After: opensearch.requestHeadersAllowlist: ["Authorization"]
Now save works but whenever I open a saved search the saerch filters are not populated:
Here is a copy of the kibanaSavedObjectMeta.searchSourceJSON
{
"query": {
"query": "",
"language": "kuery"
},
"highlightAll": true,
"version": true,
"aggs": {
"2": {
"date_histogram": {
"field": "@timestamp",
"fixed_interval": "30s",
"time_zone": "",
"min_doc_count": 1
}
}
},
"filter": [
{
"meta": {
"alias": null,
"negate": false,
"disabled": false,
"type": "phrase",
"key": "kubernetes.namespace_name",
"params": {
"query": "nginx-ingress"
},
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index"
},
"query": {
"match_phrase": {
"kubernetes.namespace_name": "nginx-ingress"
}
},
"$state": {
"store": "appState"
}
}
],
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index"
}
Describe the bug After upgrading to OpenSearch chart version 2.25.0 and OpenSearch Dashboards chart version 2.22.0, we get error when we try to save a Discover search.
To Reproduce Steps to reproduce the behavior:
Expected behavior Discover search is saved with no errors
Chart Name OpenSearch and OpenSearch Dashboards
Screenshots
Host/Environment (please complete the following information):
Additional context Here is the error from the longs: