安装OCP报错

[DEBUG] – exited code 0
[2024-06-12 13:27:45.475] [DEBUG] – get disk info for path /dev, total: 10429595648 avail: 10429595648
[2024-06-12 13:27:45.475] [DEBUG] – get disk info for path /dev/shm, total: 10441814016 avail: 10441814016
[2024-06-12 13:27:45.475] [DEBUG] – get disk info for path /run, total: 10441814016 avail: 10424193024
[2024-06-12 13:27:45.475] [DEBUG] – get disk info for path /sys/fs/cgroup, total: 10441814016 avail: 10441814016
[2024-06-12 13:27:45.476] [DEBUG] – get disk info for path /, total: 85857402880 avail: 81505693696
[2024-06-12 13:27:45.476] [DEBUG] – get disk info for path /boot, total: 520785920 avail: 370909184
[2024-06-12 13:27:45.476] [DEBUG] – get disk info for path /data, total: 235579633664 avail: 233818853376
[2024-06-12 13:27:45.476] [DEBUG] – get disk info for path /run/user/0, total: 2088366080 avail: 2088366080
[2024-06-12 13:27:45.476] [DEBUG] – root@10.96.129.225 execute: df --block-size=1024 /data/ocp/logs
[2024-06-12 13:27:45.541] [DEBUG] – exited code 0
[2024-06-12 13:27:45.541] [DEBUG] – get disk info for path /data, total: 235579633664 avail: 233818853376
[2024-06-12 13:27:45.542] [DEBUG] – root@10.96.129.225 execute: ls /data/ocp/.bootstrapped
[2024-06-12 13:27:45.608] [DEBUG] – exited code 2, error output:
[2024-06-12 13:27:45.609] [DEBUG] ls: cannot access /data/ocp/.bootstrapped: No such file or directory
[2024-06-12 13:27:45.609] [DEBUG]
[2024-06-12 13:27:45.675] [INFO] [ERROR] failed to connect meta db
[2024-06-12 13:27:45.675] [INFO]
[2024-06-12 13:27:45.676] [DEBUG] - sub start_check ref count to 0
[2024-06-12 13:27:45.676] [DEBUG] - export start_check
[2024-06-12 13:27:45.676] [DEBUG] - ocp-server-ce starting check failed.
[2024-06-12 13:27:45.682] [INFO] See OceanBase分布式数据库-海量数据 笔笔算数 .
[2024-06-12 13:27:45.682] [INFO] Trace ID: 78e2a9ec-287c-11ef-b76d-005056bc562a
[2024-06-12 13:27:45.682] [INFO] If you want to view detailed obd logs, please run: obd display-trace 78e2a9ec-287c-11ef-b76d-005056bc562a
[2024-06-12 13:27:45.683] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 0
[2024-06-12 13:27:45.683] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo
[2024-06-12 13:27:45.683] [DEBUG] - exclusive lock /root/.obd/lock/deploy_ocp_unify release, count 0
[2024-06-12 13:27:45.683] [DEBUG] - unlock /root/.obd/lock/deploy_ocp_unify
[2024-06-12 13:27:45.684] [DEBUG] - share lock /root/.obd/lock/global release, count 0
[2024-06-12 13:27:45.684] [DEBUG] - unlock /root/.obd/lock/global

在第一次启动ocp 是报错
Get local repositories ok
Search plugins ok
Load cluster param plugin ok
Open ssh connection ok
Check before start ocp-server x
[ERROR] failed to connect meta db

麻烦提供下obd日志呢。~/.obd/log/obd日志
和obd cluster list

[2024-06-12 15:23:39.529] [463659d4-2887-11ef-8de9-005056bc562a] [DEBUG] – root@10.96.129.223 execute: bash -c “[ -a / ]”
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] Traceback (most recent call last):
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “concurrent/futures/thread.py”, line 57, in run
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 414, in _precheck
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 483, in _do_precheck
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “core.py”, line 188, in call_plugin
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 347, in call
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 305, in _new_func
[2024-06-12 15:23:39.530] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.2.0.0/start_check.py”, line 328, in start_check
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] if client.execute_command(‘bash -c “[ -a %s ]”’ % path):
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 225, in new_method
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 502, in execute_command
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 462, in _execute_command
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “paramiko/client.py”, line 510, in exec_command
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] AttributeError: ‘NoneType’ object has no attribute ‘open_session’
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR]
[2024-06-12 15:23:39.531] [463659d4-2887-11ef-8de9-005056bc562a] [DEBUG] – root@10.96.129.223 execute: bash -c “[ -a / ]”
[2024-06-12 15:23:39.532] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] Traceback (most recent call last):
[2024-06-12 15:23:39.532] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “concurrent/futures/thread.py”, line 57, in run
[2024-06-12 15:23:39.532] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 414, in _precheck
[2024-06-12 15:23:39.532] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 483, in _do_precheck
[2024-06-12 15:23:39.532] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “core.py”, line 188, in call_plugin
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 347, in call
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 305, in _new_func
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.2.0.0/start_check.py”, line 328, in start_check
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] if client.execute_command(‘bash -c “[ -a %s ]”’ % path):
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 225, in new_method
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 502, in execute_command
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 462, in _execute_command
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “paramiko/client.py”, line 510, in exec_command
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] AttributeError: ‘NoneType’ object has no attribute ‘open_session’
[2024-06-12 15:23:39.533] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR]
[2024-06-12 15:23:39.534] [463659d4-2887-11ef-8de9-005056bc562a] [DEBUG] – root@10.96.129.223 execute: bash -c “[ -a / ]”
[2024-06-12 15:23:39.534] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] Traceback (most recent call last):
[2024-06-12 15:23:39.534] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “concurrent/futures/thread.py”, line 57, in run
[2024-06-12 15:23:39.534] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 414, in _precheck
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 483, in _do_precheck
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “core.py”, line 188, in call_plugin
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 347, in call
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 305, in _new_func
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.2.0.0/start_check.py”, line 328, in start_check
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] if client.execute_command(‘bash -c “[ -a %s ]”’ % path):
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 225, in new_method
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 502, in execute_command
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.535] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 462, in _execute_command
[2024-06-12 15:23:39.536] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “paramiko/client.py”, line 510, in exec_command
[2024-06-12 15:23:39.536] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] AttributeError: ‘NoneType’ object has no attribute ‘open_session’
[2024-06-12 15:23:39.536] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR]
[2024-06-12 15:23:39.536] [463659d4-2887-11ef-8de9-005056bc562a] [DEBUG] – root@10.96.129.223 execute: bash -c “[ -a / ]”
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] Traceback (most recent call last):
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “concurrent/futures/thread.py”, line 57, in run
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 414, in _precheck
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “service/handler/ocp_handler.py”, line 483, in _do_precheck
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “core.py”, line 188, in call_plugin
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 347, in call
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 305, in _new_func
[2024-06-12 15:23:39.537] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.2.0.0/start_check.py”, line 328, in start_check
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] if client.execute_command(‘bash -c “[ -a %s ]”’ % path):
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_plugin.py”, line 225, in new_method
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 502, in execute_command
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “_stdio.py”, line 894, in func_wrapper
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “ssh.py”, line 462, in _execute_command
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] File “paramiko/client.py”, line 510, in exec_command
[2024-06-12 15:23:39.538] [463659d4-2887-11ef-8de9-005056bc562a] [ERROR] AttributeError: ‘NoneType’ object has no attribute ‘open_session’

可以从这个位置往上翻,看看是不是创建租户失败了