This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
pgbackrest info missing stanza path when BOOTSTRAP_FROM_BACKUP=1 #628
Labels
bug
Something isn't working
patroni fails to bootstrap from backup in restore_or_initdb method. This script cannot execute
pgbackrest info
when the environment variable BOOTSTRAP_FROM_BACKUP=1I would like to bootstrap a new deployment from S3 backups, which are functioning correctly. It appears that pgbackrest needs postgres to be running to create a stanza, which is required to bootstrap postgres from a backup. Postgres can't start yet because it doesn't have the backup from which to start, which means the pgbackrest stanza cannot be created.
Feels like a race condition.
output from interactive container session
patroni
pgbackrest
Reproduction instructions
helm upgrade --install --namespace troubleshooting -f values.yaml postgres-timescale-restore .
values.yaml
Environment
Chart is a fork of 0.33.1 with this emptyDir PR merged
Cluster type is EKS in AWS GovCloud created from Terraform. I'm working on a fix, so may have a PR ready in the coming week.
The text was updated successfully, but these errors were encountered: