Blob `Get meta timeout`, which blocks other image pulls
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- backend, distributed-systems
Hướng nghiên cứu
Bắt đầu bằng cách lần theo các đường dẫn được ghi log trong src/switch_file.cpp và src/image_file.cpp, sau đó so sánh chúng với luồng request của overlaybd-snapshotter được mô tả trong timeline. Xác định vị trí một request Get Meta bị timeout khiến một request image khác không thể tiếp tục và nơi timeout 30 giây được định nghĩa. Hoàn thành khi các image pull độc lập không bị timeout đó chặn và timeout có thể được cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened in your environment?
Sometime we saw long image pull latency, even with lazy pull enabled. Looking into containerd/overlaybd logs, we found overlaybd has the Get meta timedout error on an image blob, which blocks later image pull requests during this timeout period.
Below is a rough timeline from containerd/overlaybd logs. Sorry I probably couldn't share all the logs, but let me know if you need any more details.
It seems the snapshotter (or overlaybd) cannot process requests in parallel, even for requests for different images.
# (containerd) - notice the long latency for img2, both are overlaybd images
"2024-12-03T01:24:32.973066470Z" PullImage img1
"2024-12-03T01:24:33.300435436Z" PullImage img1 returns image reference
"2024-12-03T01:24:36.923843733Z" PullImage img2
"2024-12-03T01:25:06.203165092Z" PullImage img2 returns image reference
# (overlaybd-snapshotter)
# snapshotted starts to have img2 related logs only AFTER the previous img1 blob timed out.
"2024-12-03T01:24:33Z" "{repoBlobUrl: img1/blobs/... }"
"2024-12-03T01:25:06Z" "failed to enable target for ... failed:failed to open remote file ... Get meta timedout"
...
"2024-12-03T01:25:06Z" "{repoBlobUrl: img2/blobs/...}"
# (overlaybd)
"2024/12/03 01:24:36" /src/src/switch_file.cpp:50|try_open_zfile:open file as zfile format, path: img1/blobs/...
"2024/12/03 01:25:06" /src/src/image_file.cpp:165|__open_ro_remote:failed to open remote file img1/blobs/... Get meta timedout errno=110(Connection timed out)
"2024/12/03 01:25:08" /src/src/image_file.cpp:145|__open_ro_remote:open file from remotefs mg2/blobs/...
What did you expect to happen?
- A
Get Metatimeout in one image shouldn't block requests for other images. - Make
Get Metatimeout configurable, so we can reduce the wait time. (I believe the payload forGet Metashould be small, so 30s seems too long).
How can we reproduce it?
Not sure, this only happens in one region. We can only capture some live nodes having the issue, but couldn't repro it yet.
What is the version of your Overlaybd?
overlaybd: 0.6.17
overlaybd-snapshotter: 0.6.7
What is your OS environment?
Ubuntu 20.04
Are you willing to submit PRs to fix it?
- Yes, I am willing to fix it.
- Ngôn ngữ chính
- C++
- Star
- 447
- Fork
- 102
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 containerd/overlaybd
-
Corrupted overlaybd.commit contains duplicated blocks and stalls TCMU / Pod sandbox creationĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
containerd/overlaybd#471 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
EROFS testfile not foundĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
containerd/overlaybd#382 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
containerd/overlaybd#380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
containerd/overlaybd#361 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
P2P not working with harborĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
containerd/overlaybd#326 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của containerd/overlaybd
Issue tương tự
-
Make the HTTP server's keep-alive and headers timeouts configurableCó thể đã có người làm @mattgodbolt đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
compiler-explorer/compiler-explorer#9902 ·
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 72/100
Nixtla/statsforecast#1371 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itselfCó thể đã có người làm @fedonman đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
SparseLinearAlgebra/spla#316 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày