-
Notifications
You must be signed in to change notification settings - Fork 237
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][opensearch-2.20.0] ADMIN_INITIAL_PASSWORD not used? #548
Comments
Hi @cdprete if this is not a fresh install and you have previously setup a password already, then the old password will be used still. |
Also if the app version (not helm chart ver) is < 2.12.0 then this change is not taking effect. Thanks. |
Hi. apiVersion: v2
appVersion: 2.14.0
description: A Helm chart for OpenSearch
home: https://opensearch.org
maintainers:
- name: DandyDeveloper
- name: bbarani
- name: gaiksaya
- name: peterzhuamazon
- name: prudhvigodithi
- name: TheAlgo
name: opensearch
sources:
- https://github.com/opensearch-project/opensearch
- https://github.com/opensearch-project/helm-charts
type: application
version: 2.20.0 Moreover, it's a fresh installation, in fact I had to set it up that env variable since the beginning. |
Also seeing the same behavior described above on a fresh cluster using appVersion: 2.15.0 and Chart Version 2.21.0 Also want to add that I can access the my configured opensearch endpoint in my browser without a need to login at all. |
@peterzhuamazon @prudhvigodithi Is there any documentation that can be followed for setting up a production level cluster via helm charts? In searching through other issues, I've injected an Is there a specific config that is required to pass the initial password to the admin user that I've defined in the |
We're facing the same issue |
Hey when Thank you |
When |
@prudhvigodithi in my case that was already set, but with no luck.
Il lun 28 ott 2024, 16:18 Prudhvi Godithi ***@***.***> ha
scritto:
… Hey when DISABLE_INSTALL_DEMO_CONFIG is set it wont run the demo security
script and hence OPENSEARCH_INITIAL_ADMIN_PASSWORD will take any effect.
When DISABLE_INSTALL_DEMO_CONFIG is set to true the expectation is for
the user to setup cluster security or other way is do no set the
DISABLE_INSTALL_DEMO_CONFIG and allow the demo script to create the
security setup and later the user can update the security settings, then
the cluster would start with OPENSEARCH_INITIAL_ADMIN_PASSWORD. Adding
@cwperks <https://github.com/cwperks> @DarshitChanpura
<https://github.com/DarshitChanpura> to provide some more details.
Thank you
@peterzhuamazon <https://github.com/peterzhuamazon> @getsaurabh02
<https://github.com/getsaurabh02>
—
Reply to this email directly, view it on GitHub
<#548 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAZGWBEFN3TDZNODL5DXX3Z5ZIT7AVCNFSM6AAAAABI4B4LM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRHA4DIMJUG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello.
I'm using the opensearch-2.20-0 Helm chart and, as per documentation, I've set
So far, so good. :)
Now, trying to curl the health of the cluster from within the Pod itself with
leads to a 401 response, while a curl like
works without any issue.
So, I was wondering if the admin initial password is really used and, if it's, how?
The text was updated successfully, but these errors were encountered: