Skip to content
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 login on Opensearch Dashboard after changing the default admin password #5051

Open
noginahalchetan opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@noginahalchetan
Copy link

noginahalchetan commented Jan 22, 2025

What is the bug?
Changed the default admin password in OPENSEARCH_INITIAL_ADMIN_PASSWORD in opensearch. However, I am unable to login into Opensearch Dashboard with the new password. It throws error as invalid username or password

How can one reproduce the bug?
Steps to reproduce the behavior:

  • Have a cluster with the admin password set to non default at the time of deployment
  • Login into opensearch dashboard with the non default password

What is the expected behavior?
Should be able to login into opensearch dashboard with the new password

What is your host/environment?

  • OS: Kubernetes Cluster
  • Version 2.18.0

Do you have any screenshots?

Image

Do you have any additional context?
Add any other context about the problem.

@noginahalchetan noginahalchetan added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jan 22, 2025
@cwperks cwperks removed the untriaged Require the attention of the repository maintainers and may need to be prioritized label Jan 27, 2025
@cwperks
Copy link
Member

cwperks commented Jan 27, 2025

[Triage] @noginahalchetan How are you running OpenSearch? Is this a fresh cluster or one with pre-existing data? This env variable must be setting prior to running the install_demo_configuration.sh script which overwrites the hash value in internal_users.yml. If any changes are made to the yaml files, they must be sourced using the securityadmin tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants