You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2022-12-05 11:25:39.414478] [info] [000011] /src/core/logtail.cpp:156 change working dir:/usr/local/ilogtail/1.3.0 fail, reason:No such file or directory
[2022-12-05 11:25:39.414491] [info] [000011] /src/core/logtail.cpp:158 change working dir:/usr/local/ilogtail/ result:0
[2022-12-05 11:25:39.414536] [info] [000011] /src/core/app_config/AppConfigBase.cpp:1117 set logtail sys conf dir:/usr/local/ilogtail/./ user local config path:/usr/local/ilogtail/./user_local_config.json user local config dir path:/usr/local/ilogtail/./user_config.d/ user local yaml config dir path:/usr/local/ilogtail/./user_yaml_config.d/
[2022-12-05 11:25:39.414625] [info] [000011] /src/core/common/JsonUtil.cpp:138 load config from env:docker_file_cache_path value:checkpoint/docker_path_config.json
[2022-12-05 11:25:39.414629] [info] [000011] /src/core/common/JsonUtil.cpp:171 load parameter from env:docker_file_cache_path value:checkpoint/docker_path_config.json
[2022-12-05 11:25:39.414902] [info] [000011] /src/core/app_config/AppConfigBase.cpp:340 set cpu_usage_limit from env, value:8
[2022-12-05 11:25:39.414911] [info] [000011] /src/core/app_config/AppConfigBase.cpp:340 set mem_usage_limit from env, value:8192
[2022-12-05 11:25:39.414916] [info] [000011] /src/core/app_config/AppConfigBase.cpp:1043 default cache size, polling total max stat:1000000 per dir max stat:100000 per config max stat:100000 cache config max size:1000000 modify max:100000 watch dir count max:100000 max open files limit:131072 max reader open files limit:100000
[2022-12-05 11:25:39.414919] [info] [000011] /src/core/app_config/AppConfigBase.cpp:1047 send byte per second limit:26214400 batch send interval:3 batch send size:262144
[2022-12-05 11:25:39.415743] [info] [000011] /src/core/logtail.cpp:183 IP is still empty, specified interface: try to get any available IP: 非--节点 ip
[2022-12-05 11:25:39.415808] [info] [000011] /src/core/common/TimeUtil.cpp:232 get system boot time from /proc/uptime:1665639682
[2022-12-05 11:25:39.415855] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2138 invalid aliuid conf dir:/usr/local/ilogtail/./users error:No such file or directory
[2022-12-05 11:25:39.415905] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2145 recreate aliuid conf dir success:/usr/local/ilogtail/./users
[2022-12-05 11:25:39.426565] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2398 user yaml config file loaded:/usr/local/ilogtail/./user_yaml_config.d/containerd_stdout.yaml
[2022-12-05 11:25:39.426577] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2407 user yaml config removed or added, last:0 now:1
[2022-12-05 11:25:39.426595] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2013 load user defined id from env:default
[2022-12-05 11:25:39.427023] [info] [000011] /src/core/config_manager/ConfigYamlToJson.cpp:245 Trans yaml to json:success config_name:/usr/local/ilogtail/./user_yaml_config.d/containerd_stdout.yaml is_file_mode:false input_plugin_type:service_docker_stdout has_accelerate_processor:false accelerate_processor_plugin_type: log_split_processor:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
基础环境: containerd & k8s 1.22.6 & daemonset 方式部署
之前用的是1.2.1 版本 ilogtail, 非release版本,基于主干 分支 main 编译,主要是为了使用 kafka v2
升级到1.3.0 版本后,有一个节点 出现 ip changed 报错,然后进程退出,导致pod CrashLoopBackOff
查看日志发现 刚开始获取到的 ip 不是节点 ip (正常应该是拿到节点 ip) , 然后 后来又获取到 节点ip,导致 ip变化
具体报错:
[2022-12-05 11:25:39.414421] [info] [000011] /src/core/app_config/AppConfigBase.cpp:150 AppConfigBase AppConfigBase:success
[2022-12-05 11:25:39.414436] [info] [000011] /src/core/app_config/AppConfigBase.cpp:314 load env tags from env key:node_name|node_ip
[2022-12-05 11:25:39.414456] [info] [000011] /src/core/app_config/AppConfigBase.cpp:322 load env, key:node_name value:节点名字
[2022-12-05 11:25:39.414458] [info] [000011] /src/core/app_config/AppConfigBase.cpp:322 load env, key:node_ip value:节点 ip
[2022-12-05 11:25:39.414462] [info] [000011] /src/core/app_config/AppConfigBase.cpp:379 purage container mode:true
[2022-12-05 11:25:39.414478] [info] [000011] /src/core/logtail.cpp:156 change working dir:/usr/local/ilogtail/1.3.0 fail, reason:No such file or directory
[2022-12-05 11:25:39.414491] [info] [000011] /src/core/logtail.cpp:158 change working dir:/usr/local/ilogtail/ result:0
[2022-12-05 11:25:39.414536] [info] [000011] /src/core/app_config/AppConfigBase.cpp:1117 set logtail sys conf dir:/usr/local/ilogtail/./ user local config path:/usr/local/ilogtail/./user_local_config.json user local config dir path:/usr/local/ilogtail/./user_config.d/ user local yaml config dir path:/usr/local/ilogtail/./user_yaml_config.d/
[2022-12-05 11:25:39.414562] [info] [000011] /src/core/app_config/AppConfigBase.cpp:283 load logtail config file, path:ilogtail_config.json
[2022-12-05 11:25:39.414565] [info] [000011] /src/core/app_config/AppConfigBase.cpp:284 load logtail config file, detail:{}
[2022-12-05 11:25:39.414617] [info] [000011] /src/core/app_config/AppConfigBase.cpp:592 logtail checkpoint path:/usr/local/ilogtail/checkpoint/logtail_check_point
[2022-12-05 11:25:39.414625] [info] [000011] /src/core/common/JsonUtil.cpp:138 load config from env:docker_file_cache_path value:checkpoint/docker_path_config.json
[2022-12-05 11:25:39.414629] [info] [000011] /src/core/common/JsonUtil.cpp:171 load parameter from env:docker_file_cache_path value:checkpoint/docker_path_config.json
[2022-12-05 11:25:39.414902] [info] [000011] /src/core/app_config/AppConfigBase.cpp:340 set cpu_usage_limit from env, value:8
[2022-12-05 11:25:39.414911] [info] [000011] /src/core/app_config/AppConfigBase.cpp:340 set mem_usage_limit from env, value:8192
[2022-12-05 11:25:39.414916] [info] [000011] /src/core/app_config/AppConfigBase.cpp:1043 default cache size, polling total max stat:1000000 per dir max stat:100000 per config max stat:100000 cache config max size:1000000 modify max:100000 watch dir count max:100000 max open files limit:131072 max reader open files limit:100000
[2022-12-05 11:25:39.414919] [info] [000011] /src/core/app_config/AppConfigBase.cpp:1047 send byte per second limit:26214400 batch send interval:3 batch send size:262144
[2022-12-05 11:25:39.415743] [info] [000011] /src/core/logtail.cpp:183 IP is still empty, specified interface: try to get any available IP: 非--节点 ip
[2022-12-05 11:25:39.415808] [info] [000011] /src/core/common/TimeUtil.cpp:232 get system boot time from /proc/uptime:1665639682
[2022-12-05 11:25:39.415855] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2138 invalid aliuid conf dir:/usr/local/ilogtail/./users error:No such file or directory
[2022-12-05 11:25:39.415905] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2145 recreate aliuid conf dir success:/usr/local/ilogtail/./users
[2022-12-05 11:25:39.426565] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2398 user yaml config file loaded:/usr/local/ilogtail/./user_yaml_config.d/containerd_stdout.yaml
[2022-12-05 11:25:39.426577] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2407 user yaml config removed or added, last:0 now:1
[2022-12-05 11:25:39.426595] [info] [000011] /src/core/config_manager/ConfigManagerBase.cpp:2013 load user defined id from env:default
[2022-12-05 11:25:39.427023] [info] [000011] /src/core/config_manager/ConfigYamlToJson.cpp:245 Trans yaml to json:success config_name:/usr/local/ilogtail/./user_yaml_config.d/containerd_stdout.yaml is_file_mode:false input_plugin_type:service_docker_stdout has_accelerate_processor:false accelerate_processor_plugin_type: log_split_processor:
Beta Was this translation helpful? Give feedback.
All reactions