wal-restore fails with "Cannot create /var/tmp/walrestore directory: Read-only file system"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
Direzione di ricerca
The issue is in the plugin-barman-cloud initContainer's WAL restore process. Look at the barman-cloud-wal-restore command's handling of the /var/tmp/walrestore directory. Check the container's filesystem permissions and mount points in the plugin's Kubernetes manifest or Docker configuration. Verify the restore_command setup in the PostgreSQL configuration. Success is when the directory can be created or an alternative writable location is used.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.0on Kind (v0.33.0), single-node CI cluster - Object store: MinIO (S3-compatible), one bucket per CNPG cluster,
referenced viaObjectStore+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"}
- Lingua principale
- Go
- Stelle
- 192
- Fork
- 75
- Merge medio
- 1g 7h
- PR unite (30g)
- 17
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudnative-pg/plugin-barman-cloud
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
cloudnative-pg/plugin-barman-cloud#1104 · 4 reazioni ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 15/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
cloudnative-pg/plugin-barman-cloud#1099 · 4 commenti ·
Tutte le issue di cloudnative-pg/plugin-barman-cloud
Issue simili
-
nix: vendorHash is outdated Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Bob Shell support Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
santhosh-tekuri/jsonschema#276 ·