[enhancement] verify the runner baseline after provisioning
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, linux
- 領域
- devops, infrastructure
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 25
- フォーク
- 41
- 平均マージ
- 5日 3時間
- マージ済み PR(30日)
- 16
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-developer/mapt のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/mapt#972 ·
メンテナーはふだん 4 日以内に返信
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH key再び着手できるかも @abdulazeem-tk4vr が 153 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
redhat-developer/mapt#817 · コメント 12 件 ·
メンテナーはふだん 4 日以内に返信
-
openshift-snc: align cluster ingress domain with the nip.io access domain (crc.testing split-brain)オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
redhat-developer/mapt#968 · リアクション 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[enhancement] github runner: support just-in-time (JIT) runner configuration対応中かも @atishay-kasliwal が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
redhat-developer/mapt#957 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[bug] ibm-power: job containers run at MTU 1500 on a 1450 network対応中かも @atishay-kasliwal が 6 日前に担当しました。 オープンbug provider/IBMCLOUD
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
redhat-developer/mapt#954 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
redhat-developer/mapt の issue をすべて見る
似ている issue
-
Add iterate GmbH domains to a dedicated list and include it in company and developer categoriesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
v2fly/domain-list-community#4307 ·
メンテナーはふだん 1 日以内に返信
-
notify: voice_queue rows are deleted only at startup, so a hub that stays up grows it without boundオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mattabate/life-distributable#232 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
projectdiscovery/cdncheck#554 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openbao/openbao-plugins#170 ·
メンテナーはふだん 1 日以内に返信