wal-restore fails with "Cannot create /var/tmp/walrestore directory: Read-only file system"
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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"}
- Ngôn ngữ chính
- Go
- Star
- 198
- Fork
- 81
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudnative-pg/plugin-barman-cloud
-
Wrong `ObjectStore` key logged when the backup object store can't be retrieved in the instance sidecarCó thể đã có người làm @SamarthSRao đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
cloudnative-pg/plugin-barman-cloud#1142 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
cloudnative-pg/plugin-barman-cloud#1117 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
data.compression rejects zstd although barman-cloud-backup supports itCó thể đã có người làm @dgsardina đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
cloudnative-pg/plugin-barman-cloud#1104 · 4 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add RBAC aggregation labels to ObjectStore editor/viewer ClusterRolesCó thể đã có người làm @stefanpeknik đã nhận 23 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
cloudnative-pg/plugin-barman-cloud#1102 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Prefetched WAL segments are not returned until the whole batch finishesCó thể đã có người làm @Kobayashi-UwU đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
cloudnative-pg/plugin-barman-cloud#1149 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cloudnative-pg/plugin-barman-cloud
Issue tương tự
-
duplication
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openvibely/openvibely#1443 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
keyxmakerx/Chronicle#1179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
raised-by:worker
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
medici-finance/assay#2486 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/testing kind/bug triage/needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cozystack/cozystack#4841 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openimsdk/openim-sdk-core#1127 ·