This cookbook does not currently successfully reimage a host. pg_basebackup will fail without the postgres directory existing to back up to, and without the recovery file being written, the postgres replica that would start up had the backup succeeded would configure itself as a master and therefore would be unsuitable to replicate from the master.
Description
Description
Details
Details
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 666110 had a related patch set uploaded (by Hnowlan; owner: Hnowlan):
[operations/puppet@production] postgres: add script for automatic resyncing
Comment Actions
Change 666113 had a related patch set uploaded (by Hnowlan; owner: Hnowlan):
[operations/cookbooks@master] postgres: use remote script on replica to resync
Comment Actions
Change 666110 merged by Hnowlan:
[operations/puppet@production] postgres: add script for automatic resyncing
Comment Actions
Change 666113 merged by jenkins-bot:
[operations/cookbooks@master] postgres: use remote script on replica to resync