obd安装obdiag异常,无法使用

OBD版本:2.10.1
操作系统:Ubuntu18.04

安装过程:

# 开启 obd 远程镜像拉取模式
obd mirror enable remote
# 通过 obd 部署 obdiag
obd obdiag deploy

安装成功

Use 'obd tool install oceanbase-diagnostic-tool' instead
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
Update OceanBase-community-stable-el7 ok
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
Update OceanBase-development-kit-el7 ok
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
Download oceanbase-diagnostic-tool-3.3.0-12025041811.el7.x86_64.rpm (46.48 M): 100% [##############################################] Time: 0:00:02  16.92 MB/s
Found a avaiable version
name: oceanbase-diagnostic-tool
version: 3.3.0
release:12025041811.el7
arch: x86_64
md5: 5701f606b0b3068477b7405c7b24be841c09beff
size: 71538253
Do you want to use it? [y/n]: y
Get local repositories and plugins ok
install tool ok
+-----------------------------------------------------------------------------------------------+
|                                         Installed Tool                                        |
+---------------------------+--------+---------+---------------------------------+--------------+
| Name                      | Arch   | Version | Install Path                    | Install Size |
+---------------------------+--------+---------+---------------------------------+--------------+
| oceanbase-diagnostic-tool | x86_64 | 3.3.0   | /root/oceanbase-diagnostic-tool | 68.22M       |
+---------------------------+--------+---------+---------------------------------+--------------+
Install tool oceanbase-diagnostic-tool completely.
Trace ID: add25d70-2329-11f0-8fc6-00163e0155a5
If you want to view detailed obd logs, please run: obd display-trace add25d70-2329-11f0-8fc6-00163e0155a5

执行命令:

obd obdiag gather log obcluster

执行结果:

Get local repositories and plugins ok
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
[WARN] Use centos 7 remote mirror repository for ubuntu 18.04
The tool oceanbase-diagnostic-tool is already installed the latest version 3.3.0
Open ssh connection ok
[ERROR] excute command: sh /root/oceanbase-diagnostic-tool/init.sh failed
[ERROR] OBD-6000: Failed to executable obdiag command, you may not have obdiag installed
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: d8fc4272-2329-11f0-aad6-00163e0155a5
If you want to view detailed obd logs, please run: obd display-trace d8fc4272-2329-11f0-aad6-00163e0155a5

/root/oceanbase-diagnostic-tool文件夹为空

执行命令:

obd display-trace d8fc4272-2329-11f0-aad6-00163e0155a5

执行结果:

[2025-04-27 13:38:28.953] [DEBUG] - cmd: ['obcluster']
[2025-04-27 13:38:28.953] [DEBUG] - opts: {'from': None, 'to': None, 'since': '30m', 'scope': 'all', 'grep': None, 'encrypt': 'false', 'store_dir': './', 'obdiag_dir': '/root/oceanbase-diagnostic-tool'}
[2025-04-27 13:38:28.953] [DEBUG] - mkdir /root/.obd/lock/
[2025-04-27 13:38:28.953] [DEBUG] - set lock mode to NO_LOCK(0)
[2025-04-27 13:38:28.953] [DEBUG] - Get Deploy by name
[2025-04-27 13:38:28.954] [DEBUG] - mkdir /root/.obd/cluster/
[2025-04-27 13:38:28.954] [DEBUG] - mkdir /root/.obd/config_parser/
[2025-04-27 13:38:28.954] [DEBUG] - Get deploy configuration
[2025-04-27 13:38:28.979] [INFO] Get local repositories and plugins
[2025-04-27 13:38:28.980] [DEBUG] - mkdir /root/.obd/repository
[2025-04-27 13:38:28.980] [DEBUG] - Get local repository oceanbase-ce-4.3.4.0-5d59e837a0ecff1a6baa20f72747c343ac7c8dce
[2025-04-27 13:38:28.983] [DEBUG] - Get local repository obproxy-ce-4.3.2.0-fd779e401be448715254165b1a4f7205c4c1bda5
[2025-04-27 13:38:29.111] [DEBUG] - mkdir /root/.obd/mirror
[2025-04-27 13:38:29.111] [DEBUG] - mkdir /root/.obd/mirror/remote
[2025-04-27 13:38:29.111] [DEBUG] - mkdir /root/.obd/mirror/local
[2025-04-27 13:38:29.112] [DEBUG] - load repo config: /root/.obd/mirror/remote/OceanBase.repo
[2025-04-27 13:38:29.112] [DEBUG] - open /root/.obd/mirror/remote/OceanBase.repo for r
[2025-04-27 13:38:29.113] [WARNING] Use centos 7 remote mirror repository for ubuntu 18.04
[2025-04-27 13:38:29.113] [WARNING] Use centos 7 remote mirror repository for ubuntu 18.04
[2025-04-27 13:38:29.114] [DEBUG] - md5 is None
[2025-04-27 13:38:29.114] [DEBUG] - name is oceanbase-diagnostic-tool
[2025-04-27 13:38:29.114] [DEBUG] - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
[2025-04-27 13:38:29.114] [DEBUG] - release is None
[2025-04-27 13:38:29.114] [DEBUG] - version is None
[2025-04-27 13:38:29.114] [DEBUG] - min_version is None
[2025-04-27 13:38:29.114] [DEBUG] - max_version is None
[2025-04-27 13:38:29.114] [DEBUG] - MirrorRepositoryType.LOCAL mirror local found pkg: name: oceanbase-diagnostic-tool
[2025-04-27 13:38:29.114] [DEBUG] version: 2.4.0
[2025-04-27 13:38:29.115] [DEBUG] release:32024091010.el7
[2025-04-27 13:38:29.115] [DEBUG] arch: x86_64
[2025-04-27 13:38:29.115] [DEBUG] md5: 3817915bd36866590e1e6a74ad1c308817a6985e
[2025-04-27 13:38:29.115] [DEBUG] size: 43174675
[2025-04-27 13:38:29.115] [DEBUG] - md5 is None
[2025-04-27 13:38:29.115] [DEBUG] - name is oceanbase-diagnostic-tool
[2025-04-27 13:38:29.115] [DEBUG] - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
[2025-04-27 13:38:29.115] [DEBUG] - release is None
[2025-04-27 13:38:29.115] [DEBUG] - version is None
[2025-04-27 13:38:29.115] [DEBUG] - min_version is None
[2025-04-27 13:38:29.115] [DEBUG] - max_version is None
[2025-04-27 13:38:29.115] [DEBUG] - only_download is False
[2025-04-27 13:38:29.116] [DEBUG] - load /root/.obd/mirror/remote/OceanBase-community-stable-el7/.db
[2025-04-27 13:38:29.123] [DEBUG] - MirrorRepositoryType.REMOTE mirror OceanBase-community-stable-el7 found pkg: oceanbase-diagnostic-tool-3.3.0-12025041811.el7.x86_64.rpm
[2025-04-27 13:38:29.123] [DEBUG] - md5 is None
[2025-04-27 13:38:29.123] [DEBUG] - name is oceanbase-diagnostic-tool
[2025-04-27 13:38:29.123] [DEBUG] - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
[2025-04-27 13:38:29.124] [DEBUG] - release is None
[2025-04-27 13:38:29.124] [DEBUG] - version is None
[2025-04-27 13:38:29.124] [DEBUG] - min_version is None
[2025-04-27 13:38:29.124] [DEBUG] - max_version is None
[2025-04-27 13:38:29.124] [DEBUG] - only_download is False
[2025-04-27 13:38:29.124] [DEBUG] - load /root/.obd/mirror/remote/OceanBase-development-kit-el7/.db
[2025-04-27 13:38:29.125] [DEBUG] - MirrorRepositoryType.REMOTE mirror OceanBase-development-kit-el7 found pkg: None
[2025-04-27 13:38:29.126] [DEBUG] - get RPM package by oceanbase-diagnostic-tool-3.3.0-12025041811.el7.x86_64.rpm
[2025-04-27 13:38:29.127] [DEBUG] - mkdir /root/.obd/repository/oceanbase-diagnostic-tool/3.3.0/5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.129] [DEBUG] - mkdir /root/.obd/plugins
[2025-04-27 13:38:29.129] [DEBUG] - Call oceanbase-diagnostic-tool-py_script_pre_check-1.0 for oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.129] [DEBUG] - import pre_check
[2025-04-27 13:38:29.131] [DEBUG] - add pre_check ref count to 1
[2025-04-27 13:38:29.131] [DEBUG] -- mkdir ./
[2025-04-27 13:38:29.131] [DEBUG] - sub pre_check ref count to 0
[2025-04-27 13:38:29.131] [DEBUG] - export pre_check
[2025-04-27 13:38:29.131] [DEBUG] - plugin oceanbase-diagnostic-tool-py_script_pre_check-1.0 result: True
[2025-04-27 13:38:29.131] [DEBUG] - mkdir /root/.obd/tool/
[2025-04-27 13:38:29.133] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.133] [DEBUG] - mkdir /root/.obd/repository/oceanbase-diagnostic-tool
[2025-04-27 13:38:29.133] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.134] [DEBUG] - Try to update oceanbase-diagnostic-tool
[2025-04-27 13:38:29.135] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.135] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.136] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.136] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.137] [DEBUG] - load repo config: /root/.obd/mirror/remote/OceanBase.repo
[2025-04-27 13:38:29.137] [WARNING] Use centos 7 remote mirror repository for ubuntu 18.04
[2025-04-27 13:38:29.137] [WARNING] Use centos 7 remote mirror repository for ubuntu 18.04
[2025-04-27 13:38:29.138] [DEBUG] - md5 is None
[2025-04-27 13:38:29.138] [DEBUG] - name is oceanbase-diagnostic-tool
[2025-04-27 13:38:29.138] [DEBUG] - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
[2025-04-27 13:38:29.138] [DEBUG] - release is None
[2025-04-27 13:38:29.138] [DEBUG] - version is None
[2025-04-27 13:38:29.138] [DEBUG] - min_version is None
[2025-04-27 13:38:29.138] [DEBUG] - max_version is None
[2025-04-27 13:38:29.138] [DEBUG] - MirrorRepositoryType.LOCAL mirror local found pkg: name: oceanbase-diagnostic-tool
[2025-04-27 13:38:29.138] [DEBUG] version: 2.4.0
[2025-04-27 13:38:29.138] [DEBUG] release:32024091010.el7
[2025-04-27 13:38:29.138] [DEBUG] arch: x86_64
[2025-04-27 13:38:29.138] [DEBUG] md5: 3817915bd36866590e1e6a74ad1c308817a6985e
[2025-04-27 13:38:29.138] [DEBUG] size: 43174675
[2025-04-27 13:38:29.138] [DEBUG] - md5 is None
[2025-04-27 13:38:29.138] [DEBUG] - name is oceanbase-diagnostic-tool
[2025-04-27 13:38:29.138] [DEBUG] - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
[2025-04-27 13:38:29.139] [DEBUG] - release is None
[2025-04-27 13:38:29.139] [DEBUG] - version is None
[2025-04-27 13:38:29.139] [DEBUG] - min_version is None
[2025-04-27 13:38:29.139] [DEBUG] - max_version is None
[2025-04-27 13:38:29.139] [DEBUG] - only_download is False
[2025-04-27 13:38:29.139] [DEBUG] - load /root/.obd/mirror/remote/OceanBase-community-stable-el7/.db
[2025-04-27 13:38:29.145] [DEBUG] - MirrorRepositoryType.REMOTE mirror OceanBase-community-stable-el7 found pkg: oceanbase-diagnostic-tool-3.3.0-12025041811.el7.x86_64.rpm
[2025-04-27 13:38:29.145] [DEBUG] - md5 is None
[2025-04-27 13:38:29.145] [DEBUG] - name is oceanbase-diagnostic-tool
[2025-04-27 13:38:29.145] [DEBUG] - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
[2025-04-27 13:38:29.145] [DEBUG] - release is None
[2025-04-27 13:38:29.145] [DEBUG] - version is None
[2025-04-27 13:38:29.145] [DEBUG] - min_version is None
[2025-04-27 13:38:29.145] [DEBUG] - max_version is None
[2025-04-27 13:38:29.145] [DEBUG] - only_download is False
[2025-04-27 13:38:29.146] [DEBUG] - load /root/.obd/mirror/remote/OceanBase-development-kit-el7/.db
[2025-04-27 13:38:29.147] [DEBUG] - MirrorRepositoryType.REMOTE mirror OceanBase-development-kit-el7 found pkg: None
[2025-04-27 13:38:29.147] [DEBUG] - get RPM package by oceanbase-diagnostic-tool-3.3.0-12025041811.el7.x86_64.rpm
[2025-04-27 13:38:29.149] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.149] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.151] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.151] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.151] [INFO] The tool oceanbase-diagnostic-tool is already installed the latest version 3.3.0
[2025-04-27 13:38:29.152] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.152] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.153] [INFO] Open ssh connection
[2025-04-27 13:38:29.157] [DEBUG] - host: 172.21.223.195, port: 22, user: root, password: DURUOafarsoft@123!!!
[2025-04-27 13:38:29.288] [DEBUG] - Call oceanbase-diagnostic-tool-py_script_generate_config-1.5 for oceanbase-ce-4.3.4.0-100000162024110717.el7-5d59e837a0ecff1a6baa20f72747c343ac7c8dce
[2025-04-27 13:38:29.288] [DEBUG] - import generate_config
[2025-04-27 13:38:29.290] [DEBUG] - add generate_config ref count to 1
[2025-04-27 13:38:29.294] [DEBUG] - sub generate_config ref count to 0
[2025-04-27 13:38:29.294] [DEBUG] - export generate_config
[2025-04-27 13:38:29.294] [DEBUG] - plugin oceanbase-diagnostic-tool-py_script_generate_config-1.5 result: None
[2025-04-27 13:38:29.295] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.295] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.296] [DEBUG] - Call oceanbase-diagnostic-tool-py_script_scene_config-1.6 for oceanbase-ce-4.3.4.0-100000162024110717.el7-5d59e837a0ecff1a6baa20f72747c343ac7c8dce
[2025-04-27 13:38:29.296] [DEBUG] - import scene_config
[2025-04-27 13:38:29.297] [DEBUG] - add scene_config ref count to 1
[2025-04-27 13:38:29.298] [DEBUG] -- get option: obdiag_dir value /root/oceanbase-diagnostic-tool
[2025-04-27 13:38:29.302] [ERROR] excute command: sh /root/oceanbase-diagnostic-tool/init.sh failed
[2025-04-27 13:38:29.303] [DEBUG] - sub scene_config ref count to 0
[2025-04-27 13:38:29.303] [DEBUG] - export scene_config
[2025-04-27 13:38:29.303] [DEBUG] - plugin oceanbase-diagnostic-tool-py_script_scene_config-1.6 result: False
[2025-04-27 13:38:29.304] [DEBUG] - Search repository oceanbase-diagnostic-tool version: 3.3.0, tag: None, release: None, package_hash: 5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.305] [DEBUG] - Found repository oceanbase-diagnostic-tool-3.3.0-12025041811.el7-5701f606b0b3068477b7405c7b24be841c09beff
[2025-04-27 13:38:29.305] [DEBUG] - Call oceanbase-diagnostic-tool-py_script_gather_log-1.0 for oceanbase-ce-4.3.4.0-100000162024110717.el7-5d59e837a0ecff1a6baa20f72747c343ac7c8dce
[2025-04-27 13:38:29.305] [DEBUG] - import gather_log
[2025-04-27 13:38:29.307] [DEBUG] - add gather_log ref count to 1
[2025-04-27 13:38:29.307] [DEBUG] -- get option: from value 
[2025-04-27 13:38:29.307] [DEBUG] -- get option: to value 
[2025-04-27 13:38:29.307] [DEBUG] -- get option: scope value all
[2025-04-27 13:38:29.307] [DEBUG] -- get option: since value 30m
[2025-04-27 13:38:29.307] [DEBUG] -- get option: grep value 
[2025-04-27 13:38:29.307] [DEBUG] -- get option: encrypt value false
[2025-04-27 13:38:29.307] [DEBUG] -- get option: store_dir value ./
[2025-04-27 13:38:29.307] [DEBUG] -- get option: obdiag_dir value /root/oceanbase-diagnostic-tool
[2025-04-27 13:38:29.307] [DEBUG] -- local execute: /root/oceanbase-diagnostic-tool/obdiag 
[2025-04-27 13:38:29.310] [DEBUG] -- exited code 127, error output:
[2025-04-27 13:38:29.310] [DEBUG] /bin/sh: 1: /root/oceanbase-diagnostic-tool/obdiag: not found
[2025-04-27 13:38:29.311] [DEBUG] 
[2025-04-27 13:38:29.311] [ERROR] OBD-6000: Failed to executable obdiag command, you may not have obdiag installed
[2025-04-27 13:38:29.311] [DEBUG] - sub gather_log ref count to 0
[2025-04-27 13:38:29.311] [DEBUG] - export gather_log
[2025-04-27 13:38:29.311] [DEBUG] - plugin oceanbase-diagnostic-tool-py_script_gather_log-1.0 result: False
[2025-04-27 13:38:29.311] [INFO] See https://www.oceanbase.com/product/ob-deployer/error-codes .
[2025-04-27 13:38:29.312] [INFO] Trace ID: d8fc4272-2329-11f0-aad6-00163e0155a5
[2025-04-27 13:38:29.312] [INFO] If you want to view detailed obd logs, please run: obd display-trace d8fc4272-2329-11f0-aad6-00163e0155a5

obd还没做兼容 需要独立安装obdiag

文档超前了?



obdiag 安装-V3.3.0-文档-分布式数据库使用文档
诊断工具命令组-V2.1.0-OceanBase Deployer文档-分布式数据库使用文档

麻烦先更新下obd版本

看看 obcluster 命令的完整输出,尤其是是否有错误信息或警告。
还有 /root/oceanbase-diagnostic-tool 这个目录是不是存在的

求一个安装包

上面已经说明, /root/oceanbase-diagnostic-tool 目录存在,但是为空
“看看 obcluster 命令的完整输出”指的是哪个命令

我们已经用OBD部署了一个数据库集群,可以单独升级OBD版本么?不会影响数据库集群吧,OBD版本和数据库集群版本有没有什么对应关系?

升级OBD不会有什么副作用吧?

是obd的问题 暂时有点小问题 后续是可以的 暂时先独立安装obdiag

可以单独升级obd不影响集群使用。

【淇铭】你俩给的方案不一样,就算是升级OBD最新版也不行还是怎么着。,说实话我不太想独立安装obdiag,还得去做配置。 看文档使用OBD简化很多了。

是obd的问题 暂时有点小问题 后续是可以的 暂时先独立安装obdiag

是老版本OBD的问题?还是升级到最新的OBD也还是有问题?

目前都有问题 先独立安装

解决方案一:升级到OBD 最新的版本 3.2.0
然后执行下:

# 卸载obdiag
obd tool uninstall oceanbase-diagnostic-tool

# 安装obdiag
obd tool install oceanbase-diagnostic-tool

解决方案二:独立部署obdiag

不行,效果还是跟帖子反馈的问题一样。 [淇铭]说了,OBD有问题

obdiag已经安装配置好,运行obdiag check run长时间卡住,输出如下:

obdiag version: 3.3.0
check start ...
[WARN] ./check_report/ not exists. mkdir it!
[WARN] step_base ResultFalseException:tsar is not installed. we can not check tcp retransmission. 
[WARN] Task execute StepResultFailException: tsar is not installed. we can not check tcp retransmission.  
[WARN] step_base ResultFalseException:check network_name is lo , can not get real speed 
[WARN] Task execute StepResultFailException: check network_name is lo , can not get real speed  
[WARN] step_base ResultFalseException:ip:127.0.0.1 ,data_dir and log_dir_disk are on the same disk. 
[WARN] Task execute StepResultFailException: ip:127.0.0.1 ,data_dir and log_dir_disk are on the same disk.

输出就卡住了,这个过程需要多久?已经过去十分钟了。

麻烦执行下 tail -n 50 ~/.obdiag/log/obdiag.log
看下这个卡在哪了

[2025-04-28 17:20:34.171] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] echo “true”

[2025-04-28 17:20:34.172] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] else

[2025-04-28 17:20:34.172] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] echo “false”

[2025-04-28 17:20:34.172] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] fi

[2025-04-28 17:20:34.172] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG]

[2025-04-28 17:20:34.175] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - _verify_base result: false

[2025-04-28 17:20:34.175] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - verify.execute end. and result is False

[2025-04-28 17:20:34.175] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - verify.execute end. and result is false return ResultFalseException err_msg:ip:127.0.0.1 ,data_dir and log_dir_disk are on the same disk.

[2025-04-28 17:20:34.175] [0969c478-2412-11f0-b8a5-00163e1c4550] [WARNING] step_base ResultFalseException:ip:127.0.0.1 ,data_dir and log_dir_disk are on the same disk.

[2025-04-28 17:20:34.175] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - step_base ResultFalseException self.step.result:{‘set_value’: ‘log_dir_disk’, ‘verify’: ‘[ “${data_dir_disk}” != “${log_dir_disk}” ]’, ‘err_msg’: ‘ip:#{remote_ip} ,data_dir and log_dir_disk are on the same disk.’}

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - add task_report [local] ip:127.0.0.1 ,data_dir and log_dir_disk are on the same disk. ,critical

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [WARNING] Task execute StepResultFailException: ip:127.0.0.1 ,data_dir and log_dir_disk are on the same disk.

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - task execute end

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - execute tasks end : cluster.data_path_settings

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - execute tasks is cluster.global_indexes_too_much

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - cluster.version is 4.3.3.0

[2025-04-28 17:20:34.176] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - cluster.global_indexes_too_much execute!

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - task_base execute

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - version_int is 4.3.3.0 steps_versions is [4.0.0.0,*]

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - minVersion is 4.0.0.0, maxVersion is 999

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - filter_by_version is return 0

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - run task in node: {‘ip’: ‘127.0.0.1’, ‘ssh_username’: ‘root’, ‘ssh_port’: ‘22’, ‘home_path’: ‘/root/oceanbase-ce’, ‘data_dir’: ‘/root/oceanbase-ce/store’, ‘redo_dir’: ‘/root/oceanbase-ce/store’, ‘ssh_key_file’: ‘’, ‘ssh_type’: ‘remote’, ‘container_name’: ‘’, ‘namespace’: ‘’, ‘pod_name’: ‘’, ‘kubernetes_config_file’: ‘’, ‘host_type’: ‘OBSERVER’, ‘ssher’: <src.common.ssh_client.ssh.SshClient object at 0x146f61bb4d90>}

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - step nu: 1

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - step nu: 1 initted, to execute

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - task execute and result

[2025-04-28 17:20:34.177] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - StepSQLHandler execute: SELECT COUNT(*) as count FROM oceanbase.DBA_PART_INDEXES WHERE LOCALITY = ‘LOCAL’ GROUP BY TABLE_NAME ORDER BY count DESC limit 1;

[2025-04-28 17:20:34.241] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - execute_sql result:((1,),)

[2025-04-28 17:20:34.241] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - sql result:1

[2025-04-28 17:20:34.241] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - sql execute update task_variable_dict: major_err_nu = 1

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - self.task_variable_dict: {‘remote_ip’: ‘127.0.0.1’, ‘remote_ssh_username’: ‘root’, ‘remote_ssh_port’: ‘22’, ‘remote_home_path’: ‘/root/oceanbase-ce’, ‘remote_data_dir’: ‘/root/oceanbase-ce/store’, ‘remote_redo_dir’: ‘/root/oceanbase-ce/store’, ‘remote_ssh_key_file’: ‘’, ‘remote_ssh_type’: ‘remote’, ‘remote_container_name’: ‘’, ‘remote_namespace’: ‘’, ‘remote_pod_name’: ‘’, ‘remote_kubernetes_config_file’: ‘’, ‘remote_host_type’: ‘OBSERVER’, ‘remote_ssher’: <src.common.ssh_client.ssh.SshClient object at 0x146f61bb4d90>, ‘major_err_nu’: 1}

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - result execute

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - verify_type is max

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - verify_result execute

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - verify_type input is max

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - verify.execute end. and result is True

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - step nu: 1 execute end

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - task execute end

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - execute tasks end : cluster.global_indexes_too_much

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - execute tasks is cluster.observer_port

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - cluster.version is 4.3.3.0

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - cluster.observer_port execute!

[2025-04-28 17:20:34.242] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - task_base execute

[2025-04-28 17:20:34.243] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - get observer version, by sql

[2025-04-28 17:20:34.243] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - start get_observer_version_by_sql . input: 172.17.116.249:2881

[2025-04-28 17:20:34.244] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - connect databse …

[2025-04-28 17:20:34.245] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - get_observer_version_by_sql ob_version_info is (‘5.7.25-OceanBase_CE-v4.3.3.0’,)

[2025-04-28 17:20:34.247] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - connect databse …

[2025-04-28 17:20:34.250] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - [local host] run cmd = [command -v nc] on localhost

[2025-04-28 17:20:34.255] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - [local host] run cmd = [echo | nc -v 127.0.0.1 2882] on localhost

[2025-04-28 17:20:34.265] [0969c478-2412-11f0-b8a5-00163e1c4550] [DEBUG] - [local host] run cmd = [echo | nc -v 127.0.0.1 2881] on localhost