helm-charts
helm-charts copied to clipboard
Not able to create the index pattern in opensearch-dashboard
@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"}
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 .
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:
- Connection error to opensearch: unable to verify first certificate
- Permission of opensearch_dashboards.yml change from opensearch-dashboards to root.
[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
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.
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?