Source-controller Leader Election Errors - Timeout/Connection Issues (v1.5.0)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- azure, go, kubernetes
- 領域
- cloud, devops, infrastructure
調査の方向性
このレポートには、AKS 1.29.4v クラスターから取得した source-controller v1.5.0 のログが示されていますが、ソースファイル、テスト、エントリーポイントは記載されていません。まず、leader-election エラーを pod と API-server 間の接続性、および関連する controller または AKS のメトリクスと関連付けます。再現可能な原因と、設定または診断に関する文書化された推奨事項を特定できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
We're encountering issues with the source-controller in our Azure Kubernetes Service (AKS - 1.29.4v) cluster, and I'm hoping someone can offer some guidance. We are running source-controller version 1.5.0.
We're seeing the following errors repeatedly in the source-controller pod logs:
{"level":"error","ts":"2025-05-24T08:51:05.665Z","logger":"runtime","msg":"Failed to update lock optimistically: Put \"https://10.0.0.1:443/apis/coordination.k8s.io/v1/namespaces/flux-system/leases/source-controller-leader-election?timeout=15s\": net/http: request canceled (Client.Timeout exceeded while awaiting headers), falling back to slow path"}
{"level":"error","ts":"2025-05-24T08:51:20.652Z","logger":"runtime","msg":"error retrieving resource lock flux-system/source-controller-leader-election: Get \"https://10.0.0.1:443/apis/coordination.k8s.io/v1/namespaces/flux-system/leases/source-controller-leader-election?timeout=15s\": context deadline exceeded"}
{"level":"error","ts":"2025-05-24T08:51:30.653Z","logger":"runtime","msg":"Failed to release lock: Put \"https://10.0.0.1:443/apis/coordination.k8s.io/v1/namespaces/flux-system/leases/source-controller-leader-election?timeout=15s\": http2: client connection lost"}
{"level":"error","ts":"2025-05-24T08:51:30.659Z","logger":"setup","msg":"problem running manager","error":"leader election lost"}
Are there any known issues or configuration recommendations specific to AKS that might be relevant?
What are the recommended ways to diagnose network connectivity issues between pods and the API server within AKS?
Are there any specific metrics we should be monitoring to help identify the root cause of these errors?
Thanks in advance for any help you can provide!
- 主要言語
- Go
- スター
- 283
- フォーク
- 252
- 平均マージ
- 1時間 6分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluxcd/source-controller のほかの issue
-
area/docs good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fluxcd/source-controller#666 · コメント 2 件 ·
-
area/git bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluxcd/source-controller#2165 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fluxcd/source-controller#2150 ·
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docs オープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
fluxcd/source-controller#2146 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluxcd/source-controller#2136 · コメント 1 件 ·
fluxcd/source-controller の issue をすべて見る
似ている issue
-
bug github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
registrystack/registry-stack#1393 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
JakeChampion/lang#10213 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100