Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patroni: (bootstrap from backup) - generate pg_hba.conf before start …
…patroni And allow trust local addresses 127.0.0.1/32 and :: 1/128 for replication. This is not required, but it avoids unnecessary errors in the Patroni log when deploying a cluster from a backup. Fixed: Patroni log: Sep 21 17:23:04 pgnode01 patroni[17630]: psycopg2.OperationalError: could not connect to server: Connection refused Sep 21 17:23:04 pgnode01 patroni[17630]: Is the server running on host "localhost" (::1) and accepting Sep 21 17:23:04 pgnode01 patroni[17630]: TCP/IP connections on port 5432? Sep 21 17:23:04 pgnode01 patroni[17630]: FATAL: password authentication failed for user "replicator" PostgreSQL log: 2020-09-21 17:23:04 MSK [11512-2] 127.0.0.1(64134) replicator@[unknown] DETAIL: Password does not match for user "replicator". Connection matched pg_hba.conf line 98: "host replication all 127.0.0.1/32 md5" #60
- Loading branch information