Improve tracing / reconciliation when clusterOperation.reconciliationPaused is set to true
まだ誰も着手していません。
評価
調査の方向性
まず、clusterOperation.reconciliationPaused を処理する reconciliation パスを特定し、エラーがどのようにログに記録され、CR イベントとして発行されるかを確認します。完了条件は、paused 状態のクラスターが依存関係エラーを繰り返し生成せず、代わりに reconciliation が一時停止中であることを明確にログへ記録することです。示唆されているように、この動作が他の operator にも適用されるか確認してください。
索引モデルが issue の本文から書いたものです。
説明
When clusterOperation.reconciliationPaused is set to true, the operator still runs through reconciliation without applying anything. This leads to errors in the operator logs when required dependencies are not applied and missing (e.g. retrieve a nodeport from a service etc.)
2024-02-13T09:18:40.770253Z ERROR stackable_operator::logging::controller: Failed to reconcile objec │
│ t controller.name="opacluster.opa.stackable.tech" error=reconciler for object OpaCluster.v1alpha1.op │
│ a.stackable.tech/opa.platform failed error.sources=[failed to apply role Service, Kubernetes reporte │
│ d error: ApiError: services "opa" not found: NotFound (ErrorResponse { status: "Failure", message: " │
│ services \"opa\" not found", reason: "NotFound", code: 404 }), ApiError: services "opa" not found: N │
│ otFound (ErrorResponse { status: "Failure", message: "services \"opa\" not found", reason: "NotFound │
│ ", code: 404 }), services "opa" not found: NotFound]
This shadows the real problem (in this case it was hard to see that the operator is actually not reconciling that cluster) and the errors is logged constantly in the operator and the CR events.
We need to improve the operator logging in this case to "ignore" errors and simply log that this cluster is currently not reconciled.
This may affect other operators as well.
- 主要言語
- Rust
- スター
- 21
- フォーク
- 5
- 平均マージ
- 12時間 44分
- マージ済み PR(30日)
- 11
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stackabletech/opa-operator のほかの issue
-
type/bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
stackabletech/opa-operator#823 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
stackabletech/opa-operator#766 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
stackabletech/opa-operator#733 ·
-
難易度 2/5 半日 初心者へのやさしさ 50/100
stackabletech/opa-operator#724 ·
-
type/bug
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
stackabletech/opa-operator#718 ·
stackabletech/opa-operator の issue をすべて見る
似ている issue
-
risk:low runtime status:in-progress type:test
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
bevyengine/bevy#25861 ·