-
Notifications
You must be signed in to change notification settings - Fork 170
Description
Report
when we enable File copy based initial sync via the configuration spec, and then scale the replicaset, the pods get created, but the operator pod fails to add them to the replicaset and continue the reconciliation cycle, it reports that reconcile statefulsets: reconcile replset rs0: reconcile StatefulSet for rs0: failed to run smartUpdate: is pod primary: failed to create standalone client: ping mongo: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism \"SCRAM-SHA-1\": (AuthenticationFailed)
More about the problem
when trying to access the new mongo pod with mongosh --username clusterAdmin --password CLUSTER_ADMIN_PASSWORD, you get AuthenticationFailed
we tested this on a cluster with PSA setup, i don't know if this is related
Steps to reproduce
- create a cluster without File copy based initial sync
- update the cluster to use File copy based initial sync
- scale the cluster
Versions
- Kubernetes 1.33
- Operator 1.21.1
- Database mongodb 7.0.24-16
Anything else?
No response