opensearch-project / helm-charts

:wheel_of_dharma: A community repository for Helm Charts of OpenSearch Project.
https://opensearch.org/docs/latest/opensearch/install/helm/
Apache License 2.0
170 stars 228 forks source link

Not able to create the index pattern in opensearch-dashboard #413

Open kavilla opened 1 year ago

kavilla commented 1 year ago

@ganilmca commented on Mon Apr 03 2023

Hi Team,

We are not able to create the index pattern in opensearch-dashboard, getting the below error.

{"statusCode":413,"error":"Request Entity Too Large","message":"Payload content length greater than maximum allowed: 1048576"}

image

We have updated config in above screen shot, but opensearch-dashboard logs getting the below error.

{"type":"log","@timestamp":"2023-04-03T10:41:21Z","tags":["error","opensearch","data"],"pid":1,"message":"[ConnectionError]: unable to verify the first certificate"}

And also inside the pod does not have opensearch_dashboards permission for opensearch_dashboards.yml, permission has change to root . image

Can any one help us to solve this error.

Thanks, Anil


@abbyhu2000 commented on Tue Apr 11 2023

Summary of the bug: After changing a config value in the opensearch_dashboards.yml file, two errors occur:

  1. Connection error to opensearch: unable to verify first certificate
  2. Permission of opensearch_dashboards.yml change from opensearch-dashboards to root.
prudhvigodithi commented 1 year ago

[Triage] Hey @kavilla I will take a look at this issue, but just a question, do you see this behaviour for all the distributions or just with helm? Thank you

ChrisCarter-OS commented 1 year ago

I had this issue, the problem is when you set the config . opensearch_dashboard.yaml setting in the helm values it doesn't append to the opensearch_dashboard.yaml but instead overwrites the entire with only your setting. This removes the SSL verification settings that are there by default causing the error you see. Hope that help.

prudhvigodithi commented 1 year ago

Hey @ChrisCarter-OS thanks for the comment, in that case @kavilla can you try adding the entire config file (with existing values) along with your setting and run helm upgrade?