【 使用环境 】 测试环境
OceanBase 数据库 4.2.1.7
【问题描述】清晰明确描述问题
我使用普通用户admin进行离线升级,从4.2.1.7升级到4.2.1.11版本。
按照以下文档进行使用,使用的是方案二:离线升级的方式 https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000220906
但是升级失败
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
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
日志: log.txt (60.7 KB)
帮忙看看为什么会这样
obclient [oceanbase]> ALTER SYSTEM MAJOR FREEZE;
obclient [oceanbase]> select name,value from oceanbase.__all_zone where name='frozen_version' or name='last_merged_version';
补充升级4.2.1.11升级到4.2.5.3失败
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
Start observer ok
observer program health check ok
Connect to observer 127.0.0.1:3306 ok
Exec upgrade_checker.py ok
Exec upgrade_pre.py ok
Exec upgrade_health_checker.py ok
Upgrade x
[ERROR] Run Exception: install_repository_to_servers() takes from 2 to 3 positional arguments but 6 were given
[WARN] oceanbase-ce-py_script_upgrade-4.2.2.0 has animation not been closed