obd demo部署报错

【 使用环境 】测试环境
【 OB or 其他组件 】oceanbase-all-in-one-4.2.2.0-100000192024011915.el7.x86_64.tar.gz
【 使用版本 】4.2.2.0
【问题描述】初始化oceanbase-ce报错
【复现路径】问无
【附件及日志】Initialize oceanbase-ce /Traceback (most recent call last):
File “/root/.obd/plugins/oceanbase-ce/4.2.2.0/connect.py”, line 275, in _response_parser
data = resp.json()
File “requests/models.py”, line 900, in json
File “json/init.py”, line 357, in loads
File “json/decoder.py”, line 337, in decode
File “json/decoder.py”, line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Initialize oceanbase-ce x
[ERROR] response parser error: Expecting value: line 1 column 1 (char 0)
[ERROR] oceanbase-ce-py_script_bootstrap-4.2.2.0 RuntimeError: ‘NoneType’ object has no attribute ‘code’

[ERROR] Cluster init failed

这太机器之前安装过obd 吗?目前看是环境问题。 command -v obd 看下现在用的obd 在哪里

是全新的环境 之前没有安装过obd

可以再部署前 配置下环境: 查看资源

1 个赞

我也遇到类似问题,4.2.2.0以上有问题,4.2.1安装成功。
4.2.2版本,失败截图:


4.2.1版本,成功截图:

obd mirror list local 看下相关版本。
麻烦看下安装422版本时的obd日志(~/.obd/log/obd)
当前部署的架构是什么呢。