安装ocp失败

【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】
【 使用版本 】ocp4.0.3
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【问题现象及影响】
[root@client1 ocp-4.0.3-ce-x86_64]# ./ocp_installer.sh install -c config.yaml -i ./ocp-installer.tar.gz -o ./ocp.tar.gz
install start
check docker on host
load installer docker image
Loaded image: reg.docker.alibaba-inc.com/ocp2/ocp-installer:4.0.3-ce-x86_64
make log dir
make obd dir
docker run2
Traceback (most recent call last):
File “pipeline/install_ocp.py”, line 47, in
run(context)
File “pipeline/install_ocp.py”, line 37, in run
install_ocp_pipeline.run()
File “/root/installer/core/pipeline.py”, line 10, in run
task.run()
File “/root/installer/task/ocp_precheck.py”, line 19, in run
ssh_client = self.get_ssh_client(ip)
File “/root/installer/task/base.py”, line 41, in get_ssh_client
ssh_client.connect()
AttributeError: ‘NoneType’ object has no attribute ‘connect’

【附件】

可以用附件发一下配置文件,看着像是ssh连接相关的问题

config.txt (3.6 KB)


这里只能写password或者pubkey

ssh:
  port: 22
  user: root
  # auth method, support password and pubkey
  auth_method: password
  timeout: 10
  password: OB_12345

如果使用密码的话应该这样配置


我只保留这些配置,想只安装ocp,不安装oceanbase可以吗?为啥还会报错
image

ocp依赖2个租户存储其数据信息,如果不安装oceanbase,可以在已有的oceanbase创建meta和monitor租户,和ocp配置中metadb模块中的信息保持一致。推荐是创建新的oceanbase当metadb,运维和管理方便点。