Skip to content

[BUG] if you change default admin password which is "admin" cluster not getting up #1117

@necipakca

Description

@necipakca

What is the bug?

I am trying to experiment operator, if I use default admin password everything works as expected. But if change the admin password all pods are giving that WARNING and cluster is not getting ready state.

Same situation valid for both existing or new cluster. I can not create new cluster if change admin password, also if I try to update existing cluster admin password also same.

[2025-10-06T07:39:28,665][WARN ][o.o.s.a.BackendRegistry ] [example-cls-os-data-0] Authentication finally failed for null from [::1]:54884

OpenSearch version : opensearch:3.2.0
Operator : opensearchproject/opensearch-operator:2.8.0

apiVersion: opensearch.opster.io/v1
kind: OpenSearchCluster
metadata:
  name: test
  namespace: test-ns
spec:
  security:
    # Operator will generate TLS certs if requested (per-node transport certs supported)
    tls:
      http:
        generate: true
      transport:
        generate: true
        perNode: true
    config:
      adminCredentialsSecret:
        name: opensearch-admin-credentials
apiVersion: v1
kind: Secret
metadata:
  name: opensearch-admin-credentials
  namespace: test-ns
type: Opaque
stringData:
  username: "admin"
  password: "91746596-c205-4a4b-9376"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions