-
Notifications
You must be signed in to change notification settings - Fork 276
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] No admin password available/settable for Docker #4357
Comments
Thank you for opening an issue. We did test it using below password in our test runs Also moving this issue to security repo to debug the error
|
@nealrauhauser Did you happen to have an already existing cluster (< 2.12 ) via docker before installing 2.14 ? |
[Triage] Hi @nealrauhauser thank you for filing this issue. It looks like this may be an issue with the docker setup. Could you confirm whether @DarshitChanpura's question helped resolve your problem? Going to close this issue in 1 week if we don't hear back. |
No, I am a brand new user, but familiar with Elasticsearch 5.x - 7.x |
This Docker config came from the link mentioned above and it works. Thanks. https://gist.github.com/nealrauhauser/9498fd066e00252cb332dd442427850b |
Hi, I've also run into this issue. I believe the difference between the working docker compose linked to by @nealrauhauser and the non-functional one available in the Getting Started documentation is the presence of quotation marks around the admin password environment variable: Working:
Not working:
Stack Overflow seems to agree. So the problem is not in recent releases of OpenSearch itself, but rather in the docker-compose.yml available in the quickstart guide. |
Describe the bug
The initial admin password procedure for Docker appears to be utterly broken.
This is from my compose.yml
Things I have tried:
Strong8@ meets the stated requirement. It doesn't work, nor does doubling it. If you use a $ in the password it complains about interpolation and fails to start.
This is an invocation using DoesNotWork2024@, reports success. Can't log in with admin or Admin. Commands with curl work fine with kibanaserver:kibanaserver.
Related component
Other
To Reproduce
Create a compose.yml and try to set the admin password.
Expected behavior
I would expect this to return some information about the cluster.
curl -ku 'admin:whatever' https://localhost:9200/_cluster/health
Additional Details
No response
The text was updated successfully, but these errors were encountered: