nvca operator: an invalid NVCFWorkerDegradationPeriodMinutes value blocks all cluster configuration updates
@SelvanayakiGurusamy がすでに取り組んでいます。
2026年11月18日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go, kubernetes
調査の方向性
src/compute-plane-services/nvca/pkg/operator/reconcile/clustermgmt/ngcclient.go を開いて withAgentConfigMapper を読み、次に #3540 で NVCAWorkerContainerRestartCountToFailInstance がどのように寛容にされたかを確認し、そのパターンを NVCFWorkerDegradationPeriodMinutes にコピーしてください。returns error for invalid worker degradation period ケースを ngcclient_test.go 内で更新し、警告と他の設定の正常なマッピングを検証するようにしてください。数値でない値がエラーを出さなくなり、AgentPriorityClassName のような兄弟キーが引き続きマッピングされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
On NGC-managed clusters, the NVCA operator maps the cluster's ClusterConfigurations in withAgentConfigMapper (src/compute-plane-services/nvca/pkg/operator/reconcile/clustermgmt/ngcclient.go). If NVCFWorkerDegradationPeriodMinutes holds a value that is not an integer (for example "abc" or "30min"), the mapper returns failed to parse worker degradation period minutes.
GetCluster then returns no cluster, and ReconcileNVCACluster returns before CreateOrUpdateNVCFBackend. As a result, none of the cluster settings are reconciled, including unrelated ones such as AgentPriorityClassName or the node selector, until the value is corrected. The error repeats on every reconcile.
Requested behavior
An invalid NVCFWorkerDegradationPeriodMinutes value should not block the other cluster settings:
- Log a warning with the cluster ID, configuration key, and rejected value.
- Ignore the override, so the local setting or the NVCA default applies.
- Keep mapping the other settings.
This matches how NVCAWorkerContainerRestartCountToFailInstance is handled since #3540.
Acceptance criteria
- A non-numeric
NVCFWorkerDegradationPeriodMinutesvalue is ignored with a warning, and the mapper returns no error. - Other settings in the same
ClusterConfigurationsare still mapped. - The existing test
returns error for invalid worker degradation periodinngcclient_test.gois updated to cover the new behavior.
Context
Found during review of #3540. This behavior predates that PR, so it was left out of scope there.
- 主要言語
- Go
- スター
- 251
- フォーク
- 100
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/nvcf のほかの issue
-
cicd needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
observability: make the collector replica count configurable対応中かも @sunilthorat09 が 2 日前に担当しました。 オープンinfrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
kind/cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kubernetes-sigs/kueue#19255 ·
メンテナーはふだん 1 日以内に返信