求助一个问题:执行obd test的时候报错No such package: obclient
命令:
obd test tpch myob433 --tenant=tenant_tpch -s 100 --password=’***’ --tmp-dir=/data1/ob/tpch_tmp --tbl-path=/data1/ob/tpch_tbl --remote-tbl-dir=/data1/ob/tpch_tbl --dt true -O 2
输出:
Get local repositories and plugins ok
Open ssh connection ok
Cluster status check ok
The tool obtpch is already installed
[ERROR] No such package: obclient
Trace ID: d2e812ee-dbc1-11ef-897f-cc64a6d08f75
If you want to view detailed obd logs, please run: obd display-trace d2e812ee-dbc1-11ef-897f-cc64a6d08f75
请看VCR:
$ obclient --version
obclient Ver Distrib 10.4.18-MariaDB, for Linux (aarch64) using readline 5.1
$ rpm -q obclient
obclient-2.2.6-1.el7.aarch64
$ obd display-trace d2e812ee-dbc1-11ef-897f-cc64a6d08f75
[DEBUG] - Try to install obclient
[DEBUG] - exclusive lock /data1/fff/.obd/lock/global, count 2
[DEBUG] - mkdir /data1/fff/.obd/mirror
[DEBUG] - mkdir /data1/fff/.obd/mirror/remote
[DEBUG] - mkdir /data1/fff/.obd/mirror/local
[DEBUG] - try to get exclusive lock /data1/fff/.obd/lock/mirror_and_repo
[DEBUG] - exclusive lock /data1/fff/.obd/lock/mirror_and_repo, count 1
[DEBUG] - exclusive lock /data1/fff/.obd/lock/mirror_and_repo, count 2
[DEBUG] - load repo config: /data1/fff/.obd/mirror/remote/OceanBase.repo
[DEBUG] - open /data1/fff/.obd/mirror/remote/OceanBase.repo for r
[DEBUG] - exclusive lock /data1/fff/.obd/lock/mirror_and_repo, count 3
[DEBUG] - md5 is None
[DEBUG] - name is obclient
[DEBUG] - arch is [‘aarch64’, ‘noarch’]
[DEBUG] - release is None
[DEBUG] - version is None
[DEBUG] - min_version is None
[DEBUG] - max_version is None
[DEBUG] - MirrorRepositoryType.LOCAL mirror local found pkg: None
[CRITICAL] [ERROR] No such package: obclient
[INFO] Trace ID: d2e812ee-dbc1-11ef-897f-cc64a6d08f75
[INFO] If you want to view detailed obd logs, please run: obd display-trace d2e812ee-dbc1-11ef-897f-cc64a6d08f75
$ obd test tpch …
Get local repositories and plugins ok
Open ssh connection ok
Cluster status check ok
The tool obtpch is already installed
[ERROR] No such package: obclient
Trace ID: 82c0b34a-dc50-11ef-b900-cc64a6d08f75
If you want to view detailed obd logs, please run: obd display-trace 82c0b34a-dc50-11ef-b900-cc64a6d08f75