-
Notifications
You must be signed in to change notification settings - Fork 912
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] Dashboard fails to connect when using securityconfig #2712
Comments
Changing to |
OK I got a working setup with https://github.com/Opster/opensearch-k8s-operator/blob/main/opensearch-operator/examples/opensearch-cluster-securityconfig.yaml and https://github.com/Opster/opensearch-k8s-operator/blob/main/opensearch-operator/examples/securityconfig-secret.yaml |
If I just change the passwords I get the following
And the dashboard also does not connect, but when adding But the exact same problem is happening, dashboard will not connect
Redid password hashing, so made sure that it was the same.
|
Issue moved to opensearch-project/security-dashboards-plugin #1177 via Zenhub |
Describe the bug
Dashboard does not connect when trying to set and use different passwords.
To Reproduce
Steps to reproduce the behavior:
Deploy cluster from operator.
securityconfig-secret
is taken from https://github.com/Opster/opensearch-k8s-operator/blob/main/opensearch-operator/examples/opensearch-cluster-securityconfig.yamlI have rehashed passwords by using the
hash.sh
I found on the opensearch pod, as getting it working locally failed.admin-credentials-secret
Values for cluster
Expected behavior
Expect dashboard to connect, like when testing without changing passwords
OpenSearch Version
Please list the version of OpenSearch being used.
Operator: 2.1.1
general.version: 1.3.1
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
dashboards.version: 1.3.1
Plugins
Please list all plugins currently enabled.
Default
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Following quite the rabbit hole trying to get this working. I have been following https://github.com/Opster/opensearch-k8s-operator/blob/main/docs/userguide/main.md as well as I can, 404'd links aside.
I have consulted https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/config/opensearch_dashboards.yml and have tried a number of different
dashboards.additionalConfig
settings, including empty, and I get the same results. I have defaulted to trying with the admin user, as you can see in provided yaml.Looked at opensearch-project/security#1787, opensearch-project/security#1836, opensearch-project/security#1576, opensearch-project/opensearch-k8s-operator#305 hoping to find some clues, so far no.
The text was updated successfully, but these errors were encountered: