obagent_start.log (30.7 KB)
在节点上手动启动Obagent就能成功,使用 obd cluster start xxxx 启动就报错;且尝试过升级和降低Obd版本都不行
之前使用小规格服务器部署成功过一次,扩大配置后就起不来了,配置文件只改了memory_limit和system_memory参数
obagent_start.log (30.7 KB)
在节点上手动启动Obagent就能成功,使用 obd cluster start xxxx 启动就报错;且尝试过升级和降低Obd版本都不行
之前使用小规格服务器部署成功过一次,扩大配置后就起不来了,配置文件只改了memory_limit和system_memory参数
把obd.log日志 整体发一下 看看
内网部署的,发不出来呀
[2026-07-27 16:19:19.915] [ERROR] File “/root/.obd/plugins/obagent/1.3.0/start.py”, line 101, in start
[2026-07-27 16:19:19.915] [ERROR] res = client.execute_command(cmd)
[2026-07-27 16:19:19.915] [ERROR] File “_plugin.py”, line 221, in new_method
[2026-07-27 16:19:19.915] [ERROR] File “_stdio.py”, line 1170, in func_wrapper
[2026-07-27 16:19:19.915] [ERROR] File “ssh.py”, line 527, in execute_command
[2026-07-27 16:19:19.915] [ERROR] File “_stdio.py”, line 1170, in func_wrapper
[2026-07-27 16:19:19.915] [ERROR] File “ssh.py”, line 492, in _execute_command
[2026-07-27 16:19:19.915] [ERROR] ValueError: invalid literal for int() with base 10: ‘\n126{“successful”:true,“message”:“success”,“error”:""}’
[2026-07-27 16:19:19.915] [ERROR]
[2026-07-27 16:19:19.915] [ERROR] [ERROR] failed to set config to server1(27.46.196.177) obagent.
主要报错是这些,是/root/.obd/plugins/obagent/1.3.0/start.py脚本的问题吗
已找到问题;
一开始使用小规格云服务器是部署成功的,后来用大规格的云服务器以相同的配置文件,只调整memory_limit和system_memory参数后部署失败,是因为log_disk_size要是内存的3~4倍。调大log_disk_size参数后,obagent启动成功了。。。