Monitoring Console: Reference to LM in other NS breaks MC
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start by tracing how MonitoringConsole handles licenseManagerRef and adds the LicenseManager as a monitored resource, then inspect the cross-namespace reference validation and credential setup. Reproduce with the two instances in separate namespaces and different passwords; done means the MonitoringConsole starts successfully or the reference is rejected with a clear validation error.
索引モデルが issue の本文から書いたものです。
説明
Please select the type of request
Bug
Tell us more
Describe the request
Although documentation and CRDs differ in specification, apparently the monitoringConsoleRef is not supposed to link resources from other namespaces.
However, when a MonitoringConsole receives a licenseManagerRef, it adds the LicenseManager as monitored resource. When both instances are deployed within different namespaces and do not share a password, the MonitoringConsole will no longer be able to start, as it tries to authenticate to the LicenseManager with it's local, non-matching password.
FAILED - RETRYING: [localhost]: Set search peers (44 retries left).Result was: {
"attempts": 17,
"changed": false,
"cmd": [
"/opt/splunk/bin/splunk",
"add",
"search-server",
"https://splunk-shared-license-manager-service.splunk-shared.svc.cluster.local:8089",
"-auth",
"admin:<MC Password>",
"-remoteUsername",
"admin",
"-remotePassword",
"<MC Password>"
[],
"delta": "0:00:01.093771",
"end": "2026-10-27 22:37:22.047758",
"failed_when_result": true,
"invocation": {
"module_args": {
"_raw_params": "/opt/splunk/bin/splunk add search-server https://splunk-shared-license-manager-service.splunk-shared.svc.cluster.local:8089 -auth admin:<MC Password> -remoteUsername admin -remotePassword <MC Password>",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"expand_argument_vars": true,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true
}
},
"rc": 24,
"retries": 61,
"start": "2026-10-27 22:37:20.953987"
}
STDERR:
WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.
An error occurred:
Status 401 while sending public key to search peer https://splunk-shared-license-manager-service.splunk-shared.svc.cluster.local:8089: Unauthorized
MSG:
non-zero return code
Expected behavior
The value for remotePassword should be the password of the namespace that holds the LicenseManager, not the local password of the namespace with the MonitoringConsole.
Splunk setup on K8S
See reproduction steps.
Reproduction/Testing steps
- Create two namespaces and setup a shared pass4SymmKey (to enable licenseManagerRef to other namespace)
- Namespace secrets must not specify a shared password
- Deploy LicenseManager in one namespace, no monitoringConsoleRef required
- Deploy MonitoringConsole in other namespace with licenseManagerRef to LicenseManager in first namespace
K8s environment
SOK 3.2.0
k8s v1.36.5
Proposed changes(optional)
Either use the correct password or don't automatically setup monitoring of the referenced LM.
- 主要言語
- Go
- スター
- 260
- フォーク
- 134
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
splunk/splunk-operator のほかの issue
-
monitoring console
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
splunk/splunk-operator#1887 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 66/100
splunk/splunk-operator#1885 ·
-
難易度 4/5 1〜2日 初心者へのやさしさ 52/100
splunk/splunk-operator#1884 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
splunk/splunk-operator#1883 ·
-
Splunk Operator: VolumeSpec CEL validation rule "region is required when provider is aws" errors on missing provider field instead of allowing it (optional field)再び着手できるかも @gabrielm-splunk が 67 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
splunk/splunk-operator#1881 · コメント 2 件 · 担当者 1 名 ·
splunk/splunk-operator の issue をすべて見る
似ている issue
-
docker-compose: postgres healthcheck should probe TCP (pg_isready -h localhost)対応中かも @zezo-mohamed22 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
OneBusAway/watchdog#305 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
self-care self-care:agent-discoverability
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
githubnext/gh-cao#20928 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
SocialGouv/iterion#3287 ·
メンテナーはふだん 1 日以内に返信
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ClickHouse/clickhouse-go#2124 ·
メンテナーはふだん 1 日以内に返信
-
bug needs triage pkg/stanza/fileconsumer
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-telemetry/opentelemetry-collector-contrib#53135 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信