Comments (5)
I find this is a bug of cadvisor, and i fix it by:
1.mount -o remount,rw '/sys/fs/cgroup'
2.ln -s /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpuacct,cpu
In addition, i suppose that the version of cadvisor needs to be updated.
from caelus.
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!
from caelus.
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.
For "failed init health check config: invalid character ']' looking for beginning of value", you can download the latest code and have a try.
Please let me konw if is working.
from caelus.
@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
W1211 10:58:22.200812 164324 manager.go:256] Could not configure a source for OOM detection, disabling OOM events: open /dev/kmsg: no such file or directory
I1211 10:58:22.210798 164324 manager.go:272] Starting recovery of all containers
I1211 10:58:22.265747 164324 manager.go:277] Recovery completed
F1211 10:58:22.273235 164324 cgroup.go:259] cadvisor manager start err: inotify_add_watch /sys/fs/cgroup/cpuacct,cpu: no such file or directory
from caelus.
@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?
from caelus.
Related Issues (20)
- 不完善的README HOT 3
- 离线业务流量限制手段 HOT 3
- lighthouse make rpm 报错 HOT 2
- Some Feedback HOT 2
- 离线调度器哪里去了 HOT 1
- 离线调度器开源了吗 HOT 5
- Whether LinuxContainerExecutor could be supported on NM runs in Docker HOT 4
- 离线大框的一个问题 HOT 1
- 在容器中往/rootfs/etc写文件,报:Read-only file system HOT 4
- 运行二进制 ./caelus --v="2" --kubeconfig=config 找不到k8s 节点?? HOT 9
- no kind "hookConfiguration" HOT 2
- lighthouse组件是必须的吗 HOT 6
- 干扰检测部分的实现有开源吗? HOT 3
- 离线调度器准备开源吗,如果开源的话,大概什么时候开源 HOT 1
- lighthouse运行报错 HOT 5
- 收集指标问题 HOT 3
- lighthouse支持gRPC协议吗? HOT 1
- question: which tc filter worked in netqos HOT 3
- 请问下batch-scheduler和coordinator现在开源了么 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caelus.