New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: /sys/fs/cgroup/cpu/cpu.offline: no such file or directory #26
Comments
I modify “kubelet_root_dir” ,then the last error(cannot find cpu_manager_state) is fixed, but here comes another problem: F1209 16:21:09.017311 144120 health_check.go:70] failed init health check config: invalid character ']' looking for beginning of value I would like to know which config file was checked at this step, please give me a hand, thanks a lot! |
hi, The error "stat /sys/fs/cgroup/cpu/cpu.offline: no such file or directory" is not very important, for I found the cpu policy has been replaced as "quota", this is Automatic. |
@ddongchen The latest code works for the error "failed init health check config: invalid character ']' looking for beginning of value", however, another problem occurs: I1211 10:58:22.200793 164324 manager.go:1158] Started watching for new ooms in manager |
@ddongchen I find "/sys/fs/cgroup/cpu,cpuacct" in my environment instead of "/sys/fs/cgroup/cpuacct,cpu", then in golang container, i find "/sys/fs/cgroup/cpuacct,cpu", does it matter? |
I find this is a bug of cadvisor, and i fix it by: In addition, i suppose that the version of cadvisor needs to be updated. |
Hi,i would like to ask for help that when i deploy caelus on k8s, pods of caelus show the following logs:
I1208 17:04:24.202219 7830 feature_gate.go:243] feature gates: &{map[]}
I1208 17:04:24.202253 7830 types.go:490] current namespace is NOT host
E1208 17:04:24.208590 7830 cpubt.go:56] checking BT file(cpu.offline) err: stat /sys/fs/cgroup/cpu/cpu.offline: no such file or directory
I1208 17:04:24.208616 7830 types.go:708] cpu isolate auto detect is enabled, chosen manage policy is: quota
W1208 17:04:24.208624 7830 types.go:745] adding non-host namespace prefix for kubelet root dir
F1208 17:04:24.208639 7830 types.go:724] cpu manager file(/rootfs/data/cpu_manager_state) err: open /rootfs/data/cpu_manager_state: no such file or directory
I don't know if it is my miss of some steps?
The text was updated successfully, but these errors were encountered: