e2e: cozyreport lists a shared zpool twice and ships an empty zfs-pools.txt that does not say why
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず hack/cozyreport.sh の LINSTOR ZFS コレクションを読み、zpool get の呼び出し前にデータセット名がどのようにプール名になるかを追ってください。次に、空の linstor/zfs-pools.txt がどのように生成されるか、またノードごとの awk 検索がそれをどのように読み取るかを確認してください。共有プールが一度だけ表示され、空の結果には説明コメントが含まれ、プールとして扱われなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
The LINSTOR ZFS collection that #4657 adds to hack/cozyreport.sh has two small legibility problems. Neither loses data, both make the report harder to read.
A zpool behind two LINSTOR storage pools is reported twice in the per-node listing. The satellite script cuts each dataset name down to its pool with ${d%%/*}, so pools on tank/a and tank/b pass tank tank to zpool get. zfs list drops duplicate arguments, zpool get does not. Deduplicating the pool names before the call fixes it, either with sort -u or by skipping a name already seen in the loop.
linstor/zfs-pools.txt can ship empty. When LINSTOR has no ZFS storage pool, the jq filter prints nothing and the read exits 0. Each node's note then says "that file says whether LINSTOR answered", and a 0-byte file says nothing by itself. The rule exists (0 bytes and no COLLECTION-FAILED.txt entry means LINSTOR answered with no ZFS pool), it just isn't written where the reader looks. A # [cozyreport] comment line written into the file when no pool matched would fix it. The per-node awk lookup needs a tab-separated node name in the first field, so a comment line is never taken for a pool.
- 主要言語
- Go
- スター
- 2.2k
- フォーク
- 209
- 平均マージ
- 3日 17時間
- マージ済み PR(30日)
- 279
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cozystack/cozystack のほかの issue
-
area/release kind/bug kind/documentation triage/needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
cozystack/cozystack#4892 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
triage/needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
cozystack/cozystack#4886 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
area/testing kind/cleanup priority/backlog triage/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cozystack/cozystack#4882 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
area/storage kind/bug priority/backlog triage/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
cozystack/cozystack#4878 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
testing: helm-unittest's isNotNullOrEmpty passes when the path does not exist対応中かも @Shxshxnkk1 が 6 日前に担当しました。 オープンarea/testing kind/bug triage/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cozystack/cozystack#4841 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
cozystack/cozystack の issue をすべて見る
似ている issue
-
oss/0 pending team/container-integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DataDog/datadog-agent#58323 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 半日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
kubernetes-sigs/external-dns#6816 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
ANSI translator ignores SGR 22/24 (and other attribute-off codes): bold and underline never turn offオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100