-
Notifications
You must be signed in to change notification settings - Fork 950
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
[Bug] memory controller missing on ubuntu #2685
Comments
From checking runc code, this may not related to the linked url
in ubuntu 16.04, the
this means we can not get cgroup path like |
runc get cgroup parent through `/proc/self/cgroup`, so can not get cgroup path just join string like "/sys/fs/cgroup"+"subsystem"+"cgroup-parent"+"containerid", get corrent cgroup path from `/proc/self/cgroup` in test. fixes: #2685 Signed-off-by: Ace-Tang <aceapril@126.com>
I make a mistake to find container cgroup path, since when container use cgroup namespace, we can not get cgroup path from container use exec |
runc get cgroup parent through `/proc/self/cgroup`, so can not get cgroup path just join string like "/sys/fs/cgroup"+"subsystem"+"cgroup-parent"+"containerid", get corrent cgroup path from `/proc/self/cgroup` in test. fixes: #2685 Signed-off-by: Ace-Tang <aceapril@126.com>
Ⅰ. Issue Description
We have a test case in: https://github.com/alibaba/pouch/blob/master/test/cli_run_cgroup_test.go#L36
This case is to test
CgroupParent
path, but we got an error on ubuntu:This bug may relate to: https://stackoverflow.com/questions/15604055/lxc-cgroup-memory-controller-missing
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
pouch version
):uname -a
):The text was updated successfully, but these errors were encountered: