Open
Description
Version 1.5.0
I've tried to upgrade the cluster that runs on spilo-11:1.5-p9 to spilo-12:1.6-p3
Unfortunately the rolling update did not finish successfully. Postgres on a new pod isn't able to start.
/var/run/postgresql:5432 - rejecting connections
2020-05-20 09:01:04,316 INFO: Lock owner: pg-0; I am pg-1
2020-05-20 09:01:04,316 INFO: Still starting up as a standby.
2020-05-20 09:01:04,317 INFO: Lock owner: pg-0; I am pg-1
2020-05-20 09:01:04,317 INFO: does not have lock
2020-05-20 09:01:04,317 INFO: establishing a new patroni connection to the postgres cluster
2020-05-20 09:01:04,446 INFO: establishing a new patroni connection to the postgres cluster
2020-05-20 09:01:04,450 WARNING: Retry got exception: 'connection problems'
2020-05-20 09:01:04,451 INFO: Error communicating with PostgreSQL. Will try again later
looks like the postgres is in the recovery mode
root@pg-1:/home/postgres# psql -d mydb -U postgres
psql: error: could not connect to server: FATAL: the database system is starting up
What is the recommended way to upgrade spilo ?