Repository navigation
feat: add OBLogService log collection and bump version to 5.0.3 - #1277
Merged
hidb4ai merged 2 commits intoNov 23, 2026
Merged
Conversation
hidb4ai
reviewed
Nov 20, 2026
| - ip: 192.168.1.8 | ||
| - ip: 192.168.1.9 | ||
| global: | ||
| # 连接账号需要读取日志及写入临时目录的权限;密钥路径位于运行 obdiag 的机器上。 |
hidb4ai
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OBLogService writes its own logs and needs an independent collection entry point. Add
obdiag gather oblogservice_logand anoblogserviceconfiguration section, and bump the release version to 5.0.3.oblogservice.servers.nodes/servers.global. Noobclustersection, SQL credentials, or Observer discovery is required. The public section isoblogservice, not the OBD deployment nameoblogservice-ce.home_path/log, supporting--scope oblogservice/all, time windows, recent-file selection, repeated keyword filters, and compressed rotations.pyproject.tomland the Makefile release version to 5.0.3 while retaining the packaging-time version template.Closes #1276.
Validation
pytest -q --import-mode=importlib test/common test/analyzer --ignore=test/common/ssh_client— 197 passed, 89 subtests passed.gather logcommand still creates the two expected Observer archives without OBLogService files when both components are configured.--check -S -l 256 .), Python file-header checks, andgit diff --checkpassed on a clean source snapshot. Shell completion and agent routing are covered by tests.Validation limits
The existing SSH-client suite is excluded because of baseline missing-module and test-fixture failures. Live deployment validation used the local transport; Docker/Kubernetes connection settings and client dispatch are covered with mocks, not live container tests. No existing transport implementation is changed.