-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to set OPENSEARCH_INITIAL_ADMIN_PASSWORD for bootstrap pod #759
Comments
I think that once/if #754 is merged, this problem will be solved. |
[Triage] Thank you |
I tried to create a cluster with the following config but it's not working with the same error
This should run a |
It works adding these env vars. The operator can add this var referencing the Secret its stored in with ValueFrom. I'll put up a PR tonight after work if I have time |
I opened #816. It may need some input/review from contributors/maintainers and additional changes. |
Couldn't get it working locally without this but the current code consistency works in CI so there must be something else missing. I'm thinking something is triggering the security plugin & security demo script some times |
Hmm I can't seem to repro on Github Actions even with the config that was causing me errors locally. Maybe there's some kind of race condition or something at play |
What is the bug?
Unable to perform new deployment of opensearch
2.12.0
using opensearch-operator2.5.1
.How can one reproduce the bug?
Create clean opensearch
2.12.0
cluster using opensearch-operator2.5.1
.What is the expected behavior?
Cluster is up and running including
bootstrap
pod.What is your host/environment?
GKE (
1.27.8-gke.1067004
)Do you have any additional context?
Opensearch
2.12.0
explicitely requires to setOPENSEARCH_INITIAL_ADMIN_PASSWORD
environment variable for each pod. This is possible fornodePools
but not forbootstrap
pod, as the helm manifest only supportsadditionalConfig
, therefore pod is crashing.Setting up Custom Admin User does not help, as pod strictly requires
OPENSEARCH_INITIAL_ADMIN_PASSWORD
defined as the variable.The text was updated successfully, but these errors were encountered: