Open lazzarello opened 8 months ago
it appears my only problem was that the chart doesn't use the environment variable values from secrets.pgbackrest: {} to write /etc/pgbackrest/pgbackrest.conf
so...configuration problem. Will update documentation and perhaps fix the chart to use env vars for configuration.
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.