【 使用环境 】生产环境
【 OB or 其他组件 】OCP OBServer OBShell
【 使用版本 】OCP V4.3.4 OBServer V4.3.4
【问题描述】原有OBD部署集群,直接OCP白屏接管,OCP新增一台ob节点失败。
报错日志
2025-03-06 13:36:34.371 INFO 11212 --- [manual-subtask-executor14,053bb04d422a3ed0,0ccb585ff1eda6ee] c.o.o.c.a.p.HostAgentProcessServiceImpl : Getting all OCP agent processes on host 5
2025-03-06 13:36:34.404 INFO 11212 --- [manual-subtask-executor14,053bb04d422a3ed0,0ccb585ff1eda6ee] c.o.o.e.internal.template.HttpTemplate : POST request to agent, url:
http://x.x.x.55:62888/api/v1/process/info
, request body:GetProcessInfoRequest(processName=obshell, skipPorts=false), params:null
2025-03-06 13:36:34.421 WARN 11212 --- [manual-subtask-executor14,053bb04d422a3ed0,0ccb585ff1eda6ee] c.o.o.c.h.s.HostOperationServiceImpl : Process name: obshell is not found in host 5
2025-03-06 13:36:34.434 ERROR 11212 --- [manual-subtask-executor14,053bb04d422a3ed0,0ccb585ff1eda6ee] c.o.ocp.core.util.ExceptionUtils : Checked Exception: com.oceanbase.ocp.core.exception.UnexpectedException occurred with code error.ob.server.obshell.process.start.failed, and args [9]
2025-03-06 13:36:34.441 ERROR 11212 --- [manual-subtask-executor14,053bb04d422a3ed0,0ccb585ff1eda6ee] c.o.o.c.t.e.c.w.subtask.SubtaskExecutor : Failed to start obshell process, serverId:9.
com.oceanbase.ocp.core.exception.UnexpectedException: [OCP UnexpectedException]: status=500 INTERNAL_SERVER_ERROR, errorCode=OB_SERVER_OBSHELL_PROCESS_START_FAILED, args=9
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
新增节点的obshell二进制文件
[root@observer-55 ~]# ll /oceanbase/obtest/oceanbase/bin/obshell
-rwxr-xr-x 1 root root 32085192 Nov 7 17:12 /oceanbase/obtest/oceanbase/bin/obshell
已运行ob节点的obshell二进制文件
[root@observer54 ~]# ll /oceanbase/obtest/oceanbase/bin/obshell
lrwxrwxrwx 1 root root 97 Dec 6 11:39 /oceanbase/obtest/oceanbase/bin/obshell -> /root/.obd/repository/oceanbase-ce/4.3.4.0/5d59e837a0ecff1a6baa20f72747c343ac7c8dce/bin/./obshell
[root@observer54 ~]# ll /root/.obd/repository/oceanbase-ce/4.3.4.0/5d59e837a0ecff1a6baa20f72747c343ac7c8dce/bin/./obshell
-rwxr-xr-x 1 root root 32085192 Dec 6 11:38 /root/.obd/repository/oceanbase-ce/4.3.4.0/5d59e837a0ecff1a6baa20f72747c343ac7c8dce/bin/./obshell