-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible-playbook update_pgcluster.yml -e target=system fails #644
Comments
Please attach ansible log |
Thanks for your reply.
After upgrading pgbackrest server now I get this error:
|
The other replica seems to be fine:
|
It is strange that the pgbackrest package has not been updated with target=system |
I understand everything, you are using a dedicated pgbackest server and it is here that the old package is used. So yes, it's worth updating the pgbackrest server first. P.S. I switched to minio (s3) and I no longer have similar problems with the pgbackrest versions. |
Yes, I use a dedicated pgbackrest server. After aligning the versions, the one replica complains with:
But there is no
|
Thats because the playbook didn't run agains the pgbackrest host. Not sure why |
The playbook is designed to update the postgres cluster, not the backup server. |
I understand. The pgbackup package was update on the replicas successully. On the leader, it does a switchover before upgrading packages. Since the switchover failed, the leader had also a older version of pgbackrest. I'm not quite sure which steps to take to recover the one replica. |
Try reinit replica After you have fixed the problem with the different versions of the pgbackrest packages between the database servers and the backup servers, try running the |
I will also add an update the pgbackrest package on the backup server in automation. UPD: #648 |
That worked!!!
Thank you, Sir! |
During our scheduled update of the postgresql cluster, I noticed that the playbook failed:
However, the upgrade of the two replica nodes went well.
Any hints how to recover the actual state of the cluster?
Thanks
The text was updated successfully, but these errors were encountered: