白屏部署oceanbase时部署obagent失败

【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】在进行白屏部署oceanbase时提示部署obagent失败
【附件】

1 个赞

顶一顶

1 个赞

往右拉一拉,看看完整的

1 个赞
[2023-10-08 21:20:46.306] [DEBUG] sdkConfig:
[2023-10-08 21:20:46.306] [DEBUG]   configPropertiesDir: ${obagent.home.path}/conf/config_properties
[2023-10-08 21:20:46.306] [DEBUG]   moduleConfigDir: ${obagent.home.path}/conf/module_config
[2023-10-08 21:20:46.306] [DEBUG]   cryptoPath: ${obagent.home.path}/conf/.config_secret.key
[2023-10-08 21:20:46.306] [DEBUG]   cryptoMethod: plain
[2023-10-08 21:20:46.306] [DEBUG]  to root@172.20.4.131:22: /root/myoceanbase/obagent/conf/agentctl.yaml
[2023-10-08 21:20:46.307] [DEBUG] -- root@172.20.4.131 execute: mkdir -p /root/myoceanbase/obagent/conf && rm -fr /root/myoceanbase/obagent/conf/agentctl.yaml 
[2023-10-08 21:20:46.365] [DEBUG] -- exited code 0
[2023-10-08 21:20:46.365] [DEBUG] -- send /tmp/tmpsodcunhj to /root/myoceanbase/obagent/conf/agentctl.yaml
[2023-10-08 21:20:46.408] [DEBUG] - root@172.20.4.131 execute: chmod 600 /root/myoceanbase/obagent/conf/agentctl.yaml 
[2023-10-08 21:20:46.428] [DEBUG] - exited code 0
[2023-10-08 21:20:46.429] [DEBUG] -- root@172.20.4.131 execute: chmod 755 /root/myoceanbase/obagent/conf/agentctl.yaml 
[2023-10-08 21:20:46.488] [DEBUG] -- exited code 0
[2023-10-08 21:20:46.489] [DEBUG] -- root@172.20.4.131 execute: cd /root/myoceanbase/obagent;/root/myoceanbase/obagent/bin/ob_agentctl config -u agent.log.path=log/monagent.log,agent.http.basic.auth.username=admin,agent.http.basic.auth.password=HFZQeuRpqX,ocp.agent.manager.http.port=8099,mgragent.log.maxsize.mb=30,ocp.agent.monitor.http.port=8088,monagent.ob.monitor.password=tR2ZOe03tO,monagent.ob.sql.port=2881,monagent.ob.rpc.port=2882,monagent.ob.cluster.name=myoceanbase,monagent.ob.cluster.id=1696814300,monagent.ob.zone.name=zone1,monagent.log.level=info,monagent.pipeline.ob.status=active,obagent.home.path=/root/myoceanbase/obagent,monagent.host.ip=172.20.4.131,ob.log.path=/root/myoceanbase/oceanbase/store,ob.data.path=/root/myoceanbase/oceanbase/store,ob.install.path=/root/myoceanbase/oceanbase,observer.log.path=/root/myoceanbase/oceanbase/log && touch /root/myoceanbase/obagent/.configured 
[2023-10-08 21:20:46.658] [DEBUG] -- exited code 0
[2023-10-08 21:20:46.658] [DEBUG] -- root@172.20.4.131 execute: cd /root/myoceanbase/obagent;/root/myoceanbase/obagent/bin/ob_agentctl start 
[2023-10-08 21:20:57.204] [DEBUG] -- exited code 255, error output:
[2023-10-08 21:20:57.204] [DEBUG] {"successful":false,"message":null,"error":"Module=agent, kind=DEADLINE_EXCEEDED, code=wait_for_ready_timeout; "}
[2023-10-08 21:20:57.205] [ERROR] failed to start 172.20.4.131 obagent.
[2023-10-08 21:20:57.205] [DEBUG] - sub start ref count to 0
[2023-10-08 21:20:57.205] [DEBUG] - export start
[2023-10-08 21:20:57.205] [ERROR] obagent start failed

这是后面一部分的日志

顶一顶

1 个赞

能提供下obanget的配置和日志吗。日志在部署目录/obagent/log下

1 个赞

ob_mgragent.error.log (19.4 KB)
ob_monagent.error.log (18.6 KB)
ob_monagent.output.log (4.7 KB)
mgragent.log (9.3 KB)
monagent.log (22.5 KB)

1 个赞

agentd.log (4.4 KB)
agentctl.log (52.8 KB)
这是所有有数据的日志。

1 个赞

至于配置就是白屏部署默认配置的

1 个赞

obagent部署失败是不影响oceanbase的部署的吗?

顶一顶

抱歉最近比较忙
Agent启动失败不影响OceanBase部署

Agent启动失败的原因是8088端口被占用了