When I am trying to install patroni , I can initialize database with md5 , all the cluster is working well. .
But when i tried to install patroni with initializing scram-sha 256 . It is not starting also status stay
"replica" for all database instancess in cluster. Also on patroni logs i can see this error ""postgres" does not have a valid SCRAM verifier" . What is the solution for this ?
Info : password_encryption is scram-sha 256 All hba.conf entries are scram-sha 256.
You have to set the configuration parameter
password_encryption
toscram-sha-256
before setting a password for the user PostgreSQL.If you don't know how to do that initially, use
trust
authentication for the setup and modify that later, when you have set the SCRAM password.