The plugin-barman-cloud native sidecar (initContainer: plugin-barman-cloud)
fails some WAL restore of an existing object with:
barman-cloud-wal-restore: ERROR: Cannot create /var/tmp/walrestore directory: Errno 30 Read-only file system: '/var/tmp/walrestore'
connectivity failure while executing barman-cloud-wal-restore, retrying: connectivity failure
PostgreSQL's restore_command therefore does not succeeds.
Environment
- plugin-barman-cloud:
v0.15.0 (stock manifest)
- CNPG (operator + API):
1.30.0
- Kubernetes:
v1.37.0 on Kind (v0.33.0), single-node CI cluster
- Object store: MinIO (S3-compatible), one bucket per CNPG cluster,
referenced via ObjectStore + serverName
- Topology: 3 single-instance CNPG replica clusters recovering purely
through the plugin (no TCP streaming). No backup/schedule involved in
the failure — this is steady-state WAL restore on a running replica.
Excerpt (one of 33 identical cycles; ...007 fails, the alternating
00000002.history request returns a clean "does not exist"):
{"msg":"Restoring WAL file","objectStore":"e2e-switchover-archiving-dc-a","serverName":"cluster-dc-a","walName":"000000010000000000000007"}
{"logger":"barman-cloud-wal-restore","msg":"... ERROR: Cannot create /var/tmp/walrestore directory: Errno 30 Read-only file system: '/var/tmp/walrestore'"}
{"msg":"WAL file not found in the recovery object store",...,"error":"connectivity failure while executing barman-cloud-wal-restore, retrying: connectivity failure"}
The
plugin-barman-cloudnative sidecar (initContainer: plugin-barman-cloud)fails some WAL restore of an existing object with:
PostgreSQL's
restore_commandtherefore does not succeeds.Environment
v0.15.0(stock manifest)1.30.0v1.37.0on Kind (v0.33.0), single-node CI clusterreferenced via
ObjectStore+serverNamethrough the plugin (no TCP streaming). No backup/schedule involved in
the failure — this is steady-state WAL restore on a running replica.
Excerpt (one of 33 identical cycles;
...007fails, the alternating00000002.historyrequest returns a clean "does not exist"):