数据库4.2.1.7升级至4.2.1.11版本失败

【 使用环境 】测试环境
OceanBase 4.2.1.7
【问题描述】清晰明确描述问题
按照文档都离线升级数据库
https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000001502712
报错
Get local repositories and plugins ok
Open ssh connection ok
Get deployment connections ok
Get standbys info ok
cluster scenario: None
Start observer ok
observer program health check ok
obshell program health check ok
observer program health check ok
Connect to observer 127.0.0.1:3306 ok
Exec upgrade_checker.py x
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: f95a5cee-eace-11f0-a071-000c29601206
If you want to view detailed obd logs, please run: obd display-trace f95a5cee-eace-11f0-a071-000c29601206
已经重试多次

log.txt (21.3 KB)

1 个赞

你没有用ocp 来管理你的集群, 你只是用obd 来安装和部署的?

obd版本多少优先升级一下obd的版本

1 个赞

只用了obd

1 个赞

那我试试先升级obd到最新的

1 个赞

不行
obd版本已经是4.0.0了


If you use a non-official release, we cannot guarantee a successful upgrade or technical support when you fail. Make sure that you want to use the above package to upgrade. [y/n]: y
cluster scenario: None
Start observer ok
observer program health check ok
obshell program health check ok
observer program health check ok
Connect to observer 127.0.0.1:3306 ok
Exec upgrade_checker.py x
Trace ID: 9525f818-ead4-11f0-b706-000c29601206
If you want to view detailed obd logs, please run: obd display-trace 9525f818-ead4-11f0-b706-000c29601206

log.txt (60.2 KB)

1 个赞

执行下
command -v obd
obd env show
env |grep OBD

1 个赞

1 个赞

看着环境变量没啥问题需要确认一下
OBServer 节点中安装 Python 2 的环境,并且安装适配 Python 2 的 mysql.connector 模块

1 个赞

已经安装了,但还是失败
企业微信截图_17676905532787

1 个赞

升级时候的obd日志麻烦提供一份看看

1 个赞

log.txt (18.8 KB)

1 个赞

学习了

原来的obd版本是多少 如何安装的

版本:2.9.1
通过OceanBase All in One包里面的脚本使用普通用户安装的
cd oceanbase-all-in-one/bin/
./install.sh
用的是oceanbase-all-in-one-4.2.1.7-107000162024060611.el7.x86_64.tar.gz这个包

obd 在3.0做了一次大的架构改造。 3.0之前的版本升级往后升级需要先升级到3.0 及之后的任意一个中间版本 然后再升级后面的版本。 这个适配从3.0开始做的。 我看你是从291直接到400了。这个我们协助处理一下吧

obd先升级到3.0也不行呀,还是一样报错

obd的日志发一份