【 使用环境 】obd安装在222,测试环境设置3节点,
212:
PRETTY_NAME=“UOS Server 20”
NAME=“UOS Server 20”
VERSION_ID=“20”
VERSION=“20”
ID=uos
MajorVersion=20
MinorVersion=1070
OsBuild=12038.100.100
Python 2.7.18
213:
NAME=“Anolis OS”
VERSION=“23.2”
ID=“anolis”
VERSION_ID=“23.2”
PLATFORM_ID=“platform:an23”
PRETTY_NAME=“Anolis OS 23.2”
Python 3.11.6
214:
PRETTY_NAME=“UOS Server 20”
NAME=“UOS Server 20”
VERSION_ID=“20”
VERSION=“20”
ID=uos
MajorVersion=20
MinorVersion=1070
OsBuild=12038.100.100
Python 2.7.18
【 OB or 其他组件 】仅安装 OceanBase Database ;同时安装 OBProxy、OCP Express、OBAgent、obconfigserver 都测试过
【 使用版本 】4.3.50
【问题描述】白屏安装提示失败,打开日志后找到 ERROR 部分为:
[2025-02-26 16:28:20.666] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] – exited code 0
[2025-02-26 16:28:20.667] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] – ocean@10.2.9.212 execute: ping -W 1 -c 1 127.0.0.1
[2025-02-26 16:28:20.751] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] – exited code 126, error output:
[2025-02-26 16:28:20.751] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] bash:行1: /sbin/ping: 权限不够
[2025-02-26 16:28:20.751] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG]
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] oceanbase-ce-py_script_environment_check-4.2.0.0 RuntimeError: ‘10.2.9.212’
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] Traceback (most recent call last):
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “concurrent/futures/thread.py”, line 57, in run
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “service/handler/deployment_handler.py”, line 529, in _precheck
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “service/handler/deployment_handler.py”, line 604, in _do_precheck
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “core.py”, line 228, in run_workflow
[2025-02-26 16:28:20.798] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “core.py”, line 270, in run_plugin_template
[2025-02-26 16:28:20.799] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “core.py”, line 315, in call_plugin
[2025-02-26 16:28:20.800] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “_plugin.py”, line 347, in call
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “_plugin.py”, line 304, in _new_func
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.2.0.0/environment_check.py”, line 149, in environment_check
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] critical(ip, ‘net’, err.EC_OBSERVER_PING_FAILED_SUID.format())
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.3.0.0/start_check_pre.py”, line 76, in critical
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] check_fail(server, item, error, suggests)
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] File “/root/.obd/plugins/oceanbase-ce/4.3.0.0/start_check_pre.py”, line 53, in check_fail
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] status = check_status[server][item]
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR] KeyError: ‘10.2.9.212’
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [ERROR]
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - sub environment_check ref count to 0
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - export environment_check
[2025-02-26 16:28:20.801] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - plugin oceanbase-ce-py_script_environment_check-4.2.0.0 result: False
[2025-02-26 16:28:20.802] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - Searching obshell_port_check plugin for components …
[2025-02-26 16:28:20.802] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - Searching obshell_port_check plugin for oceanbase-ce-4.3.5.0–None
[2025-02-26 16:28:20.802] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - Found for oceanbase-ce-py_script_obshell_port_check-4.2.1.4 for oceanbase-ce-4.3.5.0
[2025-02-26 16:28:20.803] [0f4e3288-f41b-11ef-ba60-a08cfdda2e50] [DEBUG] - Call plugin oceanbase-ce-py_script_obshell_port_check-4.2.1.4 for name: oceanbase-ce
【复现路径】白屏安装,模式为最小可用 。预检查无错,部署失败
【附件及日志】
@论坛小助手 请各位大佬给予指点