【 使用环境 】测试环境
【 OB or 其他组件 】OB
【 使用版本 】4.3.1.0
【问题描述】OceanBase云平台创建集群时 步骤:【Bootstrap ob 】提示异常
【复现路径】登入OceanBase云平台 → 选择左边菜单集群 → 点击右上角“创建集群”
【附件及日志】
2024-08-15 17:25:55.527 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] c.a.o.s.t.b.c.helper.ObServerTaskHelper : there exists server(s) still not accessible, hostIds=4
2024-08-15 17:25:55.528 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] com.alipay.ocp.common.pattern.Retry : wait for 5 seconds
2024-08-15 17:26:00.543 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] c.o.o.e.internal.template.HttpTemplate : POST request to agent, url:http://192.168.1.10:62888/api/v1/ob/observer/access, request body:AccessObServerProcessRequest(port=2881, username=root), params:null
2024-08-15 17:26:00.570 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] .a.o.s.o.o.c.ClusterHostOperationService : server not accessible, hostId=4, exitCode=1, output=ERROR 2003 (HY000): Can’t connect to MySQL server on ‘127.1’ (111)
2024-08-15 17:26:00.575 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] c.a.o.s.t.b.c.helper.ObServerTaskHelper : there exists server(s) still not accessible, hostIds=4
2024-08-15 17:26:00.577 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] com.alipay.ocp.common.pattern.Retry : wait for 5 seconds
2024-08-15 17:26:05.579 INFO 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] c.a.o.c.m.t.model.SubtaskInstanceEntity : Set state for subtask: 1394, current state: RUNNING, new state: FAILED
2024-08-15 17:26:05.589 WARN 52 — [pool-manual-subtask-executor16,fa8aeff1fb8c4ef7,17dd4890324f] c.a.o.c.t.engine.runner.RunnerFactory : Execute task failed, subtask=SubtaskInstanceEntity{id=1394, name=Bootstrap ob, state=FAILED, operation=RETRY, className=com.alipay.ocp.service.task.business.cluster.BootStrapObTask, seriesId=24, startTime=2024-08-15T17:10:45.818+08:00, endTime=2024-08-15T17:26:05.589+08:00}
java.lang.RuntimeException: wait all ob server accessible timeout
at com.alipay.ocp.service.task.business.cluster.helper.ObServerTaskHelper.waitAllObServerAccessible(ObServerTaskHelper.java:49) ~[ocp-service-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.service.task.business.cluster.BootStrapObTask.run(BootStrapObTask.java:144) ~[ocp-service-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.runtime.Subtask.retry(Subtask.java:49) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.metadb.task.model.SubtaskInstanceEntity.retry(SubtaskInstanceEntity.java:237) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.doExecute(JavaTaskRunner.java:30) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.run(JavaTaskRunner.java:20) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.engine.runner.RunnerFactory.doRun(RunnerFactory.java:118) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.engine.runner.RunnerFactory.redirectOutputIfNotSysSchedule(RunnerFactory.java:190) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.engine.runner.RunnerFactory.run(RunnerFactory.java:107) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.task.engine.coordinator.worker.subtask.ReadySubtaskWorker.lambda$submitTask$3(ReadySubtaskWorker.java:122) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_312]
at java.util
.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_312]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_312]
Caused by: java.lang.RuntimeException: result not match after try 180 times
at com.alipay.ocp.common.pattern.Retry.executeUntilWithLimit(Retry.java:80) ~[ocp-common-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.service.task.business.cluster.helper.ObServerTaskHelper.waitAllObServerAccessible(ObServerTaskHelper.java:43) ~[ocp-service-3.3.4-20221201.jar!/:3.3.4-20221201]
… 13 common frames omitted