Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Source-controller Leader Election Errors - Timeout/Connection Issues (v1.5.0)

オープン
#1,815 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
azure, go, kubernetes

調査の方向性

このレポートには、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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluxcd/source-controller のほかの issue

fluxcd/source-controller の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。