OCP4.0安装出现错误,安装失败

【 使用环境 】 测试环境
【 其他组件OCP 】
【 使用版本 】
【问题描述】安装OCP失败,看不出啥原因,以下是安装的部分过程,完整过程放到附件里了

[root@obcontrol ocp-4.0.0-ce-bp1-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.0-ce-x86_64
make log dir
make obd dir
2023-03-07 14:06:55 - INFO - 1 - [ob_precheck.py:28] - ob precheck using command: sudo /tmp/precheck-6937f748-37d2-4021-99a9-d64aa1b4c94a.sh -m ob
2023-03-07 14:06:55 - ERROR - 1 - [ob_precheck.py:32] - precheck for ocp on host 192.168.12.130 failed
2023-03-07 14:06:55 - INFO - 1 - [ob_precheck.py:35] - ob precheck result: Machine Role: ob
Peer IP List:
Machine Type: PHY
Inspect Mode: FALSE

check CPU count: 16 > 8 ... PASS
check total MEM: 31 GB < 64 GB ... EXPECT >= 64 GB ... FAIL
TIPS: replace another machine with more MEM
check linux version: CentOS Linux release 7.9.2009 (Core) ... PASS
check SELinux status: Disabled ... PASS
check account [admin] and home dir, exist ... PASS
check service [firewalld]: inactive ... PASS
check service [firewalld]: disabled ... PASS


### SUMMARY OF ISSUES IN PRE-CHECK ###
check total MEM: 31 GB < 64 GB ... EXPECT >= 64 GB ... FAIL
TIPS: replace another machine with more MEM
,
2023-03-07 14:06:55 - INFO - 1 - [ob_install.py:82] - clean obd dir
2023-03-07 14:06:55 - INFO - 1 - [ob_install.py:91] - install ob using obd
2023-03-07 14:06:55 - INFO - 1 - [ob_install.py:95] - deploy task with config:obproxy-ce:
  depends:
  - oceanbase-ce
  global:
    home_path: /home/admin/ocp/obproxy
    listen_port: 28830
  servers:
  - 192.168.12.130
oceanbase-ce:
  global:
    appname: ocp-server
    cpu_count: 16
    data_dir: /data
    devname: ens192
    home_path: /home/admin/oceanbase
    memory_limit: 25G
    mysql_port: 2881
    redo_dir: /redo
    root_password: 123qwe
    rpc_port: 2882
    system_memory: 3G
  server1:
    zone: zone1
  servers:
  - ip: 192.168.12.130
    name: server1
user:
  key_file: ''
  password: gdgg@123
  port: 22
  timeout: 10
  username: admin
…………

, create_metadb.py:20: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  data = yaml.load(file)
/home/admin/ocp-init/src/ocp-init/generate/gen_dynamic_config_properties.py:14: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  data = yaml.load(file)
/home/admin/ocp-init/src/ocp-init/generate/yml_to_table.py:69: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  data = yaml.load(file)
/home/admin/ocp-init/src/ocp-init/generate/gen_monitor_metric_ob_collect_config.py:47: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  data = yaml.load(file)
No handlers could be found for logger "root"

2023-03-07 14:29:20 - INFO - 1 - [metadb_init.py:47] - set ocp option with command: sudo docker run --rm --net=host --entrypoint=mysql reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:4.0.0-ce-bp1-20230119103000 -h192.168.12.130 -P28830 -umeta_user@meta_tenant#ocp-server -p123qwe -Dmeta_database -e"update config_properties set value='http://192.168.12.130:80' where \`key\` = 'ocp.site.url';"
2023-03-07 14:29:21 - INFO - 1 - [metadb_init.py:47] - set ocp option with command: sudo docker run --rm --net=host --entrypoint=mysql reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:4.0.0-ce-bp1-20230119103000 -h192.168.12.130 -P28830 -umeta_user@meta_tenant#ocp-server -p123qwe -Dmeta_database -e"update config_properties set value='80' where \`key\` = 'server.port';"
2023-03-07 14:29:23 - INFO - 1 - [metadb_init.py:47] - set ocp option with command: sudo docker run --rm --net=host --entrypoint=mysql reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:4.0.0-ce-bp1-20230119103000 -h192.168.12.130 -P28830 -umeta_user@meta_tenant#ocp-server -p123qwe -Dmeta_database -e"update config_properties set value='True' where \`key\` = 'ocp.web.tracking.enabled';"
2023-03-07 14:29:24 - INFO - 1 - [ocp_start.py:38] - prepare log dir on server: 192.168.12.130 with command: sudo mkdir -p /tmp/ocp/log/{ocp,obproxy/log,obproxy/minidump,obproxy/etc} && sudo chown -R 500:500 /tmp/ocp/log
2023-03-07 14:29:24 - INFO - 1 - [ocp_start.py:42] - start ocp docker on server: 192.168.12.130 with command: sudo docker run -d --name ocp --cpu-period 100000 --cpu-quota 400000 --memory=8G -e OCP_METADB_HOST=192.168.12.130 -e OCP_METADB_PORT=28830 -e OCP_METADB_USER=meta_user@meta_tenant#ocp-server -e OCP_METADB_PASSWORD='123qwe' -e OCP_METADB_DBNAME=meta_database -e OB_PORT=80 -e observer_sys_password=f0455d5edb4833fa2e91762e71b61bc35d45cf0b -e observer_sys_password1=ee0e5138c912aed80b683c05303684be347ce81d -v /tmp/ocp/log:/home/admin/logs --net=host --restart on-failure:5 reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:4.0.0-ce-bp1-20230119103000
Traceback (most recent call last):
  File "pipeline/install_ocp.py", line 43, in <module>
    run(context)
  File "pipeline/install_ocp.py", line 33, in run
    install_ocp_pipeline.run()
  File "/root/installer/core/pipeline.py", line 10, in run
    task.run()
  File "/root/installer/task/ocp_start.py", line 45, in run
    raise Exception("failed to start ocp container on host {}".format(ip))
Exception: failed to start ocp container on host 192.168.12.130

【复现路径】问题出现前后相关操作
【问题现象及影响】

【附件】 附件里包含config.yaml
安装过程输出的内容.txt (48.9 KB)
config.yaml.zip (1.4 KB)

看启动的过程已经走到最后一步了,可以执行下这个命令看看呢
sudo docker run -d --name ocp --cpu-period 100000 --cpu-quota 400000 --memory=8G -e OCP_METADB_HOST=192.168.12.130 -e OCP_METADB_PORT=28830 -e OCP_METADB_USER=meta_user@meta_tenant#ocp-server -e OCP_METADB_PASSWORD='123qwe' -e OCP_METADB_DBNAME=meta_database -e OB_PORT=80 -e observer_sys_password=f0455d5edb4833fa2e91762e71b61bc35d45cf0b -e observer_sys_password1=ee0e5138c912aed80b683c05303684be347ce81d -v /tmp/ocp/log:/home/admin/logs --net=host --restart on-failure:5 reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:4.0.0-ce-bp1-20230119103000
是不是有同名的容器冲突了

确实是容器名冲突了