【 使用环境 】测试环境
【 OB or 其他组件 】OCP安装
【 使用版本 】社区版4.0.3
【问题描述】安装OCP时报错
obproxy program health check x
[WARN] failed to start 192.xxx.xxx.179 obproxy
[ERROR] obproxy-ce start failed
没有报错,obproxy其实是已经起来的
[2023-05-10 11:10:25.355281] INFO [PROXY] ob_proxy.cpp:365 [3217][Y0-0000000000000000] [lt=17] [dc=0] obproxy start up successful and can provide normal service(cost time(us)=30892735, is_service_started=true)
-bash-4.2$ netstat -nltpa|grep -i listen
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2581 0.0.0.0:* LISTEN 2651/observer
tcp 0 0 0.0.0.0:2582 0.0.0.0:* LISTEN 2651/observer
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2583 0.0.0.0:* LISTEN 3217/obproxy
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2884 0.0.0.0:* LISTEN 3217/obproxy
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:25 :::* LISTEN -
-bash-4.2$ pwd
/home/admin/obproxy/log
-bash-4.2$ grep -i “error” *.log
obproxy program health check x
[WARN] failed to start 192.xxx.xxx.179 obproxy
[ERROR] obproxy-ce start failed
Wait for observer init ok
±--------------------------------------------------+
| observer |
±----------------±--------±-----±------±-------+
| ip | version | port | zone | status |
±----------------±--------±-----±------±-------+
| 192.xxx.xxx.179 | 4.1.0.0 | 2581 | zone1 | ACTIVE |
±----------------±--------±-----±------±-------+
obclient -h192.xxx.xxx.179 -P2581 -uroot -p’qwer1234’ -Doceanbase -A
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: e868820a-eedf-11ed-b633-0050569be369
If you want to view detailed obd logs, please run: obd display-trace e868820a-eedf-11ed-b633-0050569be369
,
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/ob_install.py”, line 146, in run
self.create_cluster()
File “/root/installer/task/ob_install.py”, line 105, in create_cluster
raise Exception(“create cluster with obd failed”)
Exception: create cluster with obd failed
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: 928bce0e-ef03-11ed-b908-0050569be369
If you want to view detailed obd logs, please run: obd display-trace 928bce0e-ef03-11ed-b908-0050569be369
,
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/ob_install.py”, line 146, in run
self.create_cluster()
File “/root/installer/task/ob_install.py”, line 105, in create_cluster
raise Exception(“create cluster with obd failed”)
Exception: create cluster with obd failed
-bash-4.2$ sudo obd display-trace 928bce0e-ef03-11ed-b908-0050569be369