This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
oci runtime error: no space left on device #642
Comments
Ping @sameo, @jodh-intel |
the reason is here opencontainers/runc#133 I fix this by simply copy cpuset.cpus and cpuset.mems from it's parent cgroup path in the code |
Thanks @Ace-Tang So I guess it's kernel's problem, but is it possible cc-runtime can fix it just like runc did? |
sameo
pushed a commit
that referenced
this issue
Sep 28, 2017
fix issue when echo "$id" > /sys/fs/cgroup/cpu/docker/$container-id/tasks will get error message: no space left on device, this is because cpuset.cpus and cpuset.mems in the container's cpu cgroup directory is empty, the following test can explain this: [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cpuset.cpus [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cpuset.mems [[email protected] /sys/fs/cgroup/cpu] $ echo 1 > footest/cgroup.procs bash: echo: write error: No space left on device set value in cpuset.cpus and cpuset.mems can fix the problem [[email protected] /sys/fs/cgroup/cpu] $ echo "0-1" > footest/cpuset.mems [[email protected] /sys/fs/cgroup/cpu] $ echo "0-1" > footest/cpuset.cpus [[email protected] /sys/fs/cgroup/cpu] $ echo 1 > footest/cgroup.procs [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cgroup.procs 1 this patch fix above issue by copy data from cpu cgroup root directory to container's cpuset.cpus and cpuset.mems Fixes #642. Signed-off-by: Ace-Tang <[email protected]>
sameo
pushed a commit
that referenced
this issue
Sep 29, 2017
fix issue when echo "$id" > /sys/fs/cgroup/cpu/docker/$container-id/tasks will get error message: no space left on device, this is because cpuset.cpus and cpuset.mems in the container's cpu cgroup directory is empty, the following test can explain this: [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cpuset.cpus [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cpuset.mems [[email protected] /sys/fs/cgroup/cpu] $ echo 1 > footest/cgroup.procs bash: echo: write error: No space left on device set value in cpuset.cpus and cpuset.mems can fix the problem [[email protected] /sys/fs/cgroup/cpu] $ echo "0-1" > footest/cpuset.mems [[email protected] /sys/fs/cgroup/cpu] $ echo "0-1" > footest/cpuset.cpus [[email protected] /sys/fs/cgroup/cpu] $ echo 1 > footest/cgroup.procs [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cgroup.procs 1 this patch fix above issue by copy data from cpu cgroup root directory to container's cpuset.cpus and cpuset.mems Fixes #642. Signed-off-by: Ace-Tang <[email protected]>
sameo
pushed a commit
that referenced
this issue
Sep 29, 2017
fix issue when echo "$id" > /sys/fs/cgroup/cpu/docker/$container-id/tasks will get error message: no space left on device, this is because cpuset.cpus and cpuset.mems in the container's cpu cgroup directory is empty, the following test can explain this: [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cpuset.cpus [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cpuset.mems [[email protected] /sys/fs/cgroup/cpu] $ echo 1 > footest/cgroup.procs bash: echo: write error: No space left on device set value in cpuset.cpus and cpuset.mems can fix the problem [[email protected] /sys/fs/cgroup/cpu] $ echo "0-1" > footest/cpuset.mems [[email protected] /sys/fs/cgroup/cpu] $ echo "0-1" > footest/cpuset.cpus [[email protected] /sys/fs/cgroup/cpu] $ echo 1 > footest/cgroup.procs [[email protected] /sys/fs/cgroup/cpu] $ cat footest/cgroup.procs 1 this patch fix above issue by copy data from cpu cgroup root directory to container's cpuset.cpus and cpuset.mems Fixes #642. Signed-off-by: Ace-Tang <[email protected]>
mcastelino
pushed a commit
to mcastelino/runtime
that referenced
this issue
Dec 6, 2018
golang version 1.8.3 is old and the runtime cannot even be built with it now it seems. Since it is no longer considered a stable version [1], move to the oldest official stable version (version 1.9.7). Fixes clearcontainers#642. [1] - https://golang.org/dl/ Signed-off-by: James O. D. Hunt <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I found below error in CC 3.0.0.
The text was updated successfully, but these errors were encountered: