[enhancement] verify the runner baseline after provisioning
Maintainer thường phản hồi trong vòng 4 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
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, linux
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Start with the provisioning flow in the Go code, where a host is reported ready, and see where a final verification step could hook in. The checks touch /etc/fstab, /etc/containers/containers.conf, the runner dns key and the executor containers.conf, so read how the provisioner writes each of them first. Done means a mapt verify command that exits non-zero and names the failing item on a broken host, and prints one line per check on a healthy one.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Failures of this kind are silent. mapt reported the instance ready while every CI job failed, and the cause was in the host configuration, not in the job: the DNS order a job container reads, the proxy variables, the data volume and its SELinux type, and the storage path that /etc/fstab produces after a reboot.
Each of these takes seconds to check on the finished host. Nothing checks them now, so the next rebuild repeats the same defect, and the operator finds it from a failed pipeline.
Proposal
Run a verification step at the end of provisioning, and expose it as a command the user can run later (mapt verify ..., or a script left on the host). It asserts at least:
- the runner service is active and enabled;
- every DNS source a job container reads lists the internal resolvers before any public one (the runner
dnskey,/etc/containers/containers.conf, and the executorcontainers.conf); - container storage sits on the data volume, not on the root disk, and carries the expected SELinux type;
- the
/etc/fstabentry for the data volume produces the same container storage path after a reboot as it does now. A wrong mount point passesfindmnt --verifyand orphans the image store at the next boot; - the data volume mount helper contains no
mkfs; - the container MTU matches the underlay;
- the proxy variables are present when they were requested, in both cases and with no CIDR in
no_proxy; - one job-style container starts, resolves a name, and writes to the cache volume.
Exit non-zero with a short report. provision should fail, not warn, when a check fails.
Acceptance
- A provisioning run on a host with one broken item (for example a wrong fstab target) exits non-zero and names the item.
- A healthy host exits zero and prints one line per check.
- Ngôn ngữ chính
- Go
- Star
- 25
- Fork
- 41
- Merge trung bình
- 5 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 redhat-developer/mapt
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/mapt#972 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH keyCó thể làm lại được @abdulazeem-tk4vr đã nhận 153 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
redhat-developer/mapt#817 · 12 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
openshift-snc: align cluster ingress domain with the nip.io access domain (crc.testing split-brain)Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
redhat-developer/mapt#968 · 1 reaction ·
Maintainer thường phản hồi trong vòng 4 ngày
-
[enhancement] github runner: support just-in-time (JIT) runner configurationCó thể đã có người làm @atishay-kasliwal đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
redhat-developer/mapt#957 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
[bug] ibm-power: job containers run at MTU 1500 on a 1450 networkCó thể làm lại được @atishay-kasliwal đã nhận 7 ngày trước và không có pull request nào đang mở. Đang mởbug provider/IBMCLOUD
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
redhat-developer/mapt#954 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của redhat-developer/mapt
Issue tương tự
-
Add iterate GmbH domains to a dedicated list and include it in company and developer categoriesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
v2fly/domain-list-community#4307 ·
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 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
chore needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
seanb4t/codegraph-go#380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
notify: voice_queue rows are deleted only at startup, so a hub that stays up grows it without boundĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mattabate/life-distributable#232 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày