[ERROR] No such install plugin for oceanbase-ce-3.1.5

【 使用环境 】测试环境
【 OB or 其他组件 】 ob 3,1,5
【 使用版本 】
【问题描述】部署数据库时候报 [ERROR] No such install plugin for oceanbase-ce-3.1.5

[root@D1vpAneWiYtQVPI ~]# cd
[root@D1vpAneWiYtQVPI ~]# ls
ob_3x  sync_time.sh
[root@D1vpAneWiYtQVPI ~]# ll
total 8
drwxr-xr-x 2 root root 4096 Jun 20 12:50 ob_3x
-rw-r--r-- 1 root root   51 Jun 13 09:01 sync_time.sh
[root@D1vpAneWiYtQVPI ~]#
[root@D1vpAneWiYtQVPI ~]#
[root@D1vpAneWiYtQVPI ~]# cd ob_3x/
[root@D1vpAneWiYtQVPI ob_3x]# ls
distributed-with-obproxy-example.yaml  obclient-2.2.3-1.el7.x86_64.rpm   obproxy-ce-3.2.3.5-2.el7.x86_64.rpm                   oceanbase-ce-libs-3.1.5-100020022023091114.el7.x86_64.rpm
libobclient-2.2.3-1.el7.x86_64.rpm     ob-deploy-2.6.0-3.el7.x86_64.rpm  oceanbase-ce-3.1.5-100020022023091114.el7.x86_64.rpm  ocp-3.3.0-ce-bp2-x86_64.tar.gz
[root@D1vpAneWiYtQVPI ob_3x]# ll
total 2381976
-rw-r--r-- 1 root root       6366 Jun 20 12:53 distributed-with-obproxy-example.yaml
-rw-r--r-- 1 root root    1466264 Jun 17 17:28 libobclient-2.2.3-1.el7.x86_64.rpm
-rw-r--r-- 1 root root   11936672 Jun 17 17:28 obclient-2.2.3-1.el7.x86_64.rpm
-rw-r--r-- 1 root root   65898196 Jun 18 13:05 ob-deploy-2.6.0-3.el7.x86_64.rpm
-rw-r--r-- 1 root root    9907040 Jun 17 16:49 obproxy-ce-3.2.3.5-2.el7.x86_64.rpm
-rw-r--r-- 1 root root   50021448 Jun 18 13:09 oceanbase-ce-3.1.5-100020022023091114.el7.x86_64.rpm
-rw-r--r-- 1 root root     158408 Jun 17 16:50 oceanbase-ce-libs-3.1.5-100020022023091114.el7.x86_64.rpm
-rw-r--r-- 1 root root 2299735250 Jun 18 15:10 ocp-3.3.0-ce-bp2-x86_64.tar.gz
[root@D1vpAneWiYtQVPI ob_3x]#
[root@D1vpAneWiYtQVPI ob_3x]#
[root@D1vpAneWiYtQVPI ob_3x]#
[root@D1vpAneWiYtQVPI ob_3x]# rpm -ivh ob-deploy-2.6.0-3.el7.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:ob-deploy-2.6.0-3.el7            ################################# [100%]
Installation of obd finished successfully
Please source /etc/profile.d/obd.sh to enable it
[root@D1vpAneWiYtQVPI ob_3x]# source /etc/profile.d/obd.sh
[root@D1vpAneWiYtQVPI ob_3x]# ll
total 2381976
-rw-r--r-- 1 root root       6366 Jun 20 12:53 distributed-with-obproxy-example.yaml
-rw-r--r-- 1 root root    1466264 Jun 17 17:28 libobclient-2.2.3-1.el7.x86_64.rpm
-rw-r--r-- 1 root root   11936672 Jun 17 17:28 obclient-2.2.3-1.el7.x86_64.rpm
-rw-r--r-- 1 root root   65898196 Jun 18 13:05 ob-deploy-2.6.0-3.el7.x86_64.rpm
-rw-r--r-- 1 root root    9907040 Jun 17 16:49 obproxy-ce-3.2.3.5-2.el7.x86_64.rpm
-rw-r--r-- 1 root root   50021448 Jun 18 13:09 oceanbase-ce-3.1.5-100020022023091114.el7.x86_64.rpm
-rw-r--r-- 1 root root     158408 Jun 17 16:50 oceanbase-ce-libs-3.1.5-100020022023091114.el7.x86_64.rpm
-rw-r--r-- 1 root root 2299735250 Jun 18 15:10 ocp-3.3.0-ce-bp2-x86_64.tar.gz
[root@D1vpAneWiYtQVPI ob_3x]#
[root@D1vpAneWiYtQVPI ob_3x]#
[root@D1vpAneWiYtQVPI ob_3x]# obd mirror disable remote
Disable remote ok
Trace ID: 9b35f23c-2ec7-11ef-bcbb-000c2959989c
If you want to view detailed obd logs, please run: obd display-trace 9b35f23c-2ec7-11ef-bcbb-000c2959989c
[root@D1vpAneWiYtQVPI ob_3x]# obd mirror clone *.rpm
name: libobclient
version: 2.2.3
release:1.el7
arch: x86_64
md5: 841949aa594173e1751dfbe9730b2787410e6f01
add libobclient-2.2.3-1.el7.x86_64.rpm to local mirror
name: obclient
version: 2.2.3
release:1.el7
arch: x86_64
md5: a983aa8564d4c47a7afce933e9659c7fc60c4d29
add obclient-2.2.3-1.el7.x86_64.rpm to local mirror
name: ob-deploy
version: 2.6.0
release:3.el7
arch: x86_64
md5: f4093f0005bbb04f881db4cf5d0ca2fca7f817e3
add ob-deploy-2.6.0-3.el7.x86_64.rpm to local mirror
name: obproxy-ce
version: 3.2.3.5
release:2.el7
arch: x86_64
md5: 27f0f362028a61678fcd9be5699c7681e04c1970
add obproxy-ce-3.2.3.5-2.el7.x86_64.rpm to local mirror
name: oceanbase-ce
version: 3.1.5
release:100020022023091114.el7
arch: x86_64
md5: 25cfee62ccdd625323d3a835e90d27e87677fe54
add oceanbase-ce-3.1.5-100020022023091114.el7.x86_64.rpm to local mirror
name: oceanbase-ce-libs
version: 3.1.5
release:100020022023091114.el7
arch: x86_64
md5: 0db1017c15e2d668d6411e415e27159810103cad
add oceanbase-ce-libs-3.1.5-100020022023091114.el7.x86_64.rpm to local mirror
Trace ID: a45ed93c-2ec7-11ef-83a8-000c2959989c
If you want to view detailed obd logs, please run: obd display-trace a45ed93c-2ec7-11ef-83a8-000c2959989c
[root@D1vpAneWiYtQVPI ob_3x]# obd mirror list local
+----------------------------------------------------------------------------------------------------------+
|                                            local Package List                                            |
+-------------------+---------+------------------------+--------+------------------------------------------+
| name              | version | release                | arch   | md5                                      |
+-------------------+---------+------------------------+--------+------------------------------------------+
| libobclient       | 2.2.3   | 1.el7                  | x86_64 | 841949aa594173e1751dfbe9730b2787410e6f01 |
| obclient          | 2.2.3   | 1.el7                  | x86_64 | a983aa8564d4c47a7afce933e9659c7fc60c4d29 |
| ob-deploy         | 2.6.0   | 3.el7                  | x86_64 | f4093f0005bbb04f881db4cf5d0ca2fca7f817e3 |
| obproxy-ce        | 3.2.3.5 | 2.el7                  | x86_64 | 27f0f362028a61678fcd9be5699c7681e04c1970 |
| oceanbase-ce      | 3.1.5   | 100020022023091114.el7 | x86_64 | 25cfee62ccdd625323d3a835e90d27e87677fe54 |
| oceanbase-ce-libs | 3.1.5   | 100020022023091114.el7 | x86_64 | 0db1017c15e2d668d6411e415e27159810103cad |
+-------------------+---------+------------------------+--------+------------------------------------------+
Trace ID: ab5135fa-2ec7-11ef-a64e-000c2959989c
If you want to view detailed obd logs, please run: obd display-trace ab5135fa-2ec7-11ef-a64e-000c2959989c
[root@D1vpAneWiYtQVPI ob_3x]# obd cluster deploy obtest -c distributed-with-obproxy-example.yaml
Package oceanbase-ce-3.1.5-100020022023091114.el7 is available.
Package obproxy-ce-3.2.3.5-2.el7 is available.
[ERROR] No such install plugin for oceanbase-ce-3.1.5
Trace ID: b0a8e6c4-2ec7-11ef-852e-000c2959989c
If you want to view detailed obd logs, please run: obd display-trace b0a8e6c4-2ec7-11ef-852e-000c2959989c
[root@D1vpAneWiYtQVPI ob_3x]# rpm -qa | grep ob-*
[root@D1vpAneWiYtQVPI ob_3x]# rpm -qa | grep ob-deploy*
[root@D1vpAneWiYtQVPI ob_3x]# rpm -qa | grep ob-deploy
ob-deploy-2.6.0-3.el7.x86_64
[root@D1vpAneWiYtQVPI ob_3x]# ll -a ~/
total 60
dr-xr-x---.  7 root root   249 Jun 20 13:40 .
dr-xr-xr-x. 20 root root   285 Jun 17 16:37 ..
-rw-------.  1 root root 16350 Jun 20 13:37 .bash_history
-rw-r--r--.  1 root root    18 Dec 29  2013 .bash_logout
-rw-r--r--   1 root root   176 Jun 20 13:11 .bash_profile
-rw-r--r--   1 root root   177 Jun 13 09:43 .bashrc
drwxr-xr-x   3 root root    17 Jun 12 12:23 .cache
-rw-r--r--.  1 root root   100 Dec 29  2013 .cshrc
-rw-------   1 root root    46 Jun 13 09:30 .lesshst
-rw-------   1 root root  1112 Jun 20 09:18 .mysql_history
drwxr-xr-x   2 root root  4096 Jun 20 12:50 ob_3x
drwxr-xr-x   9 root root   127 Jun 20 13:41 .obd
drwxr-----.  3 root root    19 Jun 12 09:33 .pki
drwx------   2 root root    57 Jun 19 09:48 .ssh
-rw-r--r--   1 root root    51 Jun 13 09:01 sync_time.sh
-rw-r--r--.  1 root root   129 Dec 29  2013 .tcshrc
-rw-------   1 root root  6448 Jun 20 13:11 .viminfo
[root@D1vpAneWiYtQVPI ob_3x]# ll /usr/bin/obd
-rwxr-xr-x 1 root root 29859328 Jan 17 11:10 /usr/bin/obd
[root@D1vpAneWiYtQVPI ob_3x]# ll /usr/obd
total 8
drwxr-xr-x  3 root root   43 Jun 20 13:39 config_parser
drwxr-xr-x 11 root root 4096 Jun 20 13:39 example
drwxr-xr-x  4 root root   43 Jun 20 13:39 lib
drwxr-xr-x  3 root root   20 Jun 20 13:39 mirror
drwxr-xr-x  6 root root   99 Jun 20 13:39 optimize
drwxr-xr-x 25 root root 4096 Jun 20 13:39 plugins
drwxr-xr-x  3 root root   18 Jun 20 13:39 web
[root@D1vpAneWiYtQVPI ob_3x]#
1 个赞

distributed-with-obproxy-example.yaml 看一看

distributed-with-obproxy-example.yaml.log (6.2 KB)

加个version参数看试下

可以把敏感信息去掉在上传,或者把配置文件删除掉。如果没事可以不用做

不行

[root@D1vpAneWiYtQVPI ob_3x]# obd cluster deploy obtest -c distributed-with-obproxy-example.yaml
Package oceanbase-ce-3.1.5-100020022023091114.el7 is available.
Package obproxy-ce-3.2.3.5-2.el7 is available.
[ERROR] No such install plugin for oceanbase-ce-3.1.5
Trace ID: a9c1bf66-2ed1-11ef-873b-000c2959989c
If you want to view detailed obd logs, please run: obd display-trace a9c1bf66-2ed1-11ef-873b-000c2959989c
[root@D1vpAneWiYtQVPI ob_3x]# cat -n distributed-with-obproxy-example.yaml | head -n 15
     1	## Only need to configure when remote login is required
     2	user:
     3	  username: root
     4	  password: LioomqM110\
     5	  #key_file: /root/.ssh/id_rsa
     6	#   port: your ssh port, default 22
     7	#   timeout: ssh connection timeout (second), default 30
     8	oceanbase-ce:
     9	  version: 3.1.5
    10	  servers:
    11	    - name: server1
    12	      # Please don't use hostname, only IP can be supported
    13	      ip: 192.168.1.52
    14	    - name: server2
    15	      ip: 192.168.1.53
[root@D1vpAneWiYtQVPI ob_3x]#

ls -l ~/.obd/plugins 看下

这个目录是空的,

[root@D1vpAneWiYtQVPI ~]# tree .obd/plugins/
.obd/plugins/

0 directories, 0 files
[root@D1vpAneWiYtQVPI ~]#

可以试试手动方式部署, 【SOP 系列 04】手动部署 OceanBase 集群 - 社区问答- OceanBase社区-分布式数据库
可能是环境问题导致的。

1 个赞