Upgrade reports no changes when containers-storage tag is stale
Maintainer thường phản hồi trong vòng 2 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
- 58/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- devops, operating-systems
Hướng nghiên cứu
Start by reproducing the stale local tag scenario from the listed boot and upgrade steps. Trace the unified pull path from the registry to bootc storage and compare it with the direct registry path used by --check. Done means the local tag refreshes to the remote digest and the upgrade stages the new image instead of reporting no changes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
On bootc 1.16.13, with :testing at an older digest in local containers-storage and a newer digest published remotely, both plain update and update --apply printed a wall of Already exists lines and then concluded with No changes in => and No update available. Meanwhile status showed a cached update and upgrade --check correctly reported the newer version and digest as available.
Inspecting the local tag afterward showed it still pointed at the old digest: the pull step never refreshed it, so the import step compared stale-local against booted and found nothing to do.
What I expected
The pull step to refresh the local tag to the remote digest and the upgrade to stage, since --check proved the update existed.
Steps to reproduce
- Boot an image whose tag also exists in local containers-storage at the booted (older) digest.
- Publish a newer digest under the same remote tag.
- Run the update with apply. Observe Already exists spam followed by No changes pointing at the old digest.
- Confirm the local tag still resolves to the old digest.
- Run a plain container pull of the same tag, then retry the upgrade: it stages correctly (in my case, 18 changed layers, new ostree commit queued for next boot).
Additional context
System log lines during the failed runs show the unified pull path: pulling from transport registry to bootc storage, then importing from the containers-storage transport by tag name. The check path instead fetches from the registry directly, which is why --check saw the update while the real pull did not. Workaround is a manual container pull of the tag before upgrading. Seen twice in a row, five minutes apart, so unlikely to be a transient registry read.
- Ngôn ngữ chính
- Rust
- Star
- 2.3k
- Fork
- 230
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
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 bootc-dev/bootc
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
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 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
install: improve error message when systemd-boot is selected without composefs backendCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của bootc-dev/bootc
Issue tương tự
-
[Bug]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo stepCó thể đã có người làm @jgregoriorincon đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
opengeos/RustGIS#2621 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue web
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
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 70/100
-
Wait for the IDS correction dialog to settle in the stale-audit testCó thể đã có người làm @louistrue đã nhận hôm nay. Đang mởready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
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 70/100
Maintainer thường phản hồi trong vòng 1 ngày