[Bug] Unstable authentication behavior in DevLake's built-in Grafana
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- grafana, helm, kubernetes
調査の方向性
まず、組み込みの Grafana デプロイメントと Helm chart に表示されている grafana.ini および adminPassword の設定を調査し、その後、パスワード変更、ユーザー作成、CLI によるリセット、再起動の各ケースを再現します。これらの手順全体で認証の挙動とログを比較します。admin と新しく作成したユーザーが、繰り返しロックアウトされることなく確実に認証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
[Title] Unstable authentication behavior in DevLake's built-in Grafana
[Description]
There are no issues when connecting DevLake servers with an external Grafana instance for authentication. However, when using the built-in Grafana, the authentication behavior appears to be highly unstable.
The reasons for this assumption are detailed below:
1. Initial admin password change triggers authentication errors in logs
When logging in with the default admin password of the built-in Grafana, I can successfully set a new password (e.g., qwer1234!@#$zxcv). Although the login itself succeeds at this moment, the following error logs are generated simultaneously:
logger=authn.service t=2026-06-01T01:17:51.799849464Z level=info msg="Failed to authenticate request" client=auth.client.basic error="[password-auth.failed] too many consecutive incorrect login attempts for user - login for user temporarily blocked"
logger=authn.service t=2026-06-01T01:26:25.203763833Z level=info msg="Failed to authenticate request" client=auth.client.basic error="[password-auth.failed] failed to authenticate identity: [password-auth.invalid] invalid password"
2. Creating a new user blocks the Admin account
Immediately after creating a new user within Grafana, the admin account is suddenly locked out and can no longer log in.
3. CLI Admin password reset does not work
Even after resetting the admin password via the CLI, the login still fails.
4. Restarting the Grafana container/service yields the same result
Restarting Grafana does not resolve the issue, and the authentication failure persists.
Could anyone please look into what might be causing this behavior in the built-in Grafana setup? Any insights or workarounds would be greatly appreciated.
5. Settings
## DevLake Grafana
grafana:
enabled: true
deploymentStrategy:
type: Recreate
adminPassword: ""
grafana.ini:
server:
serve_from_subpath: "true"
root_url: "%(protocol)s://%(domain)s/grafana"
- 主要言語
- Go Template
- スター
- 53
- フォーク
- 71
- 平均マージ
- 16時間 15分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/devlake-helm-chart のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/devlake-helm-chart#367 · コメント 6 件 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/devlake-helm-chart#366 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
apache/devlake-helm-chart#381 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
apache/devlake-helm-chart#373 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
apache/devlake-helm-chart#370 ·
apache/devlake-helm-chart の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
chaitin/agent-compose#770 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Streamed /v1/chat/completions sends unredacted agent error text (keys) in the final chunk対応中かも @rodricksz4h5 が今日担当しました。 オープンarea/streaming comp/gateway P2 type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#138245 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
ansible-middleware/amq#283 ·
-
cloudtrail_multi_region_enabled_logging_management_events fails when the advanced event selector has a custom name対応中かも @12YYCCYY16 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
prowler-cloud/prowler#13033 ·
メンテナーはふだん 1 日以内に返信