helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Not able to create the index pattern in opensearch-dashboard

Open kavilla opened this issue 1 year ago • 3 comments

@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.

kavilla avatar Apr 11 '23 16:04 kavilla

[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

prudhvigodithi avatar Apr 11 '23 19:04 prudhvigodithi

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.

ChrisCarter-OS avatar Apr 12 '23 21:04 ChrisCarter-OS

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?

prudhvigodithi avatar Apr 12 '23 21:04 prudhvigodithi