Use full postgres image on minimal CNPG clusters so WAL archiving works #304
Reference in New Issue
Block a user
Delete Branch "benvin/cnpg-backup-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The CNPG buckets are empty after PR #298. Live diagnosis found two independent
causes; this PR fixes one of them.
litellm,puppetandpapercliprun the CNPG17-minimal-trixieimage, whichomits the
barman-cloudCLI. In-treebarmanObjectStorearchiving shells out tobarman-cloud-wal-archive, so their archiver dies immediately:(verified on the live
puppet-postgresprimary:which barman-cloud-wal-archive→not found; on a
-systemcluster it resolves to/usr/local/bin/barman-cloud-wal-archive).How
Switch those three clusters from
17-minimal-trixieto17-system-trixie— the-systemvariant already used by the other six clusters, which bundles thebarman-cloud tools. Tag confirmed present upstream (ghcr manifest HTTP 200).
CNPG applies this as a rolling image update (switchover, no data change).
Not fixed here (separate, primary blocker)
The other six clusters (full image, barman present) fail with a TLS trust
error — the reflected
vault-ca-certbundle carries a stale intermediate CA,so barman can't verify
s3.ceph.unkin.net:That is a shared trust-anchor refresh (likely owned by terraform-k8s /
config/certificates/secret.yaml,managed-by: terragrunt), handled separately —it also gates litellm/puppet once they have barman. See the investigation report.
Validation
kustomize build --enable-helm+kubeconformpass onlitellm,puppetoverlays and the
paperclipbase (paperclip has no overlay yet).pre-commit runpasses on all changed files.Follow-ups
their size while still archiving — track with the plugin migration.
https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv