yunionio / cloudpods

A cloud-native open-source unified multi-cloud and hybrid-cloud platform. 开源、云原生的多云管理及混合云融合平台
https://www.cloudpods.org
Apache License 2.0
2.6k stars 533 forks source link

[求助/Help]使用master版本的cloudpods镜像telegraf容器无法启动 #21566

Closed zl2437917 closed 1 week ago

zl2437917 commented 1 week ago

使用cloudpods的master版本,编译了cmd下的所有镜像,并进行了替换。替换后所有容器都能正常运行,但是telegraf容器无法启动 image

容器报错如下

Defaulted container "telegraf" out of: telegraf, telegraf-init (init) 2024-11-11T06:37:37Z I! Starting Telegraf 2024-11-11T06:37:37Z E! [telegraf] Error running agent: Error loading config file /etc/telegraf/telegraf.conf: plugin inputs.disk: line 37: configuration specified the fields ["ignore_phey weren't used

6cfd196b4cc4e3a51e8eeee3d55cb34

18f7ffd91dcfb05ea2101e4be92ad3d

a20c02b1480e545c96d79b155fffb66

编辑pod对应宿主机的/etc/telegraf/telegraf.conf文件,注释ignore_path_segments行并重启pod后,问题解决 image