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
and setup a standard - not rootless - container, but get this error:
...
[DEBUG crates/libcgroups/src/v1/manager.rs:43] 2023-04-19T12:28:09.322205964+02:00 Get path for subsystem: freezer
[ERROR crates/youki/src/main.rs:145] 2023-04-19T12:28:09.328524127+02:00 error in executing command: failed to create container
Caused by:
0: failed to fork process
1: failed to run clone3
2: 38
Error: failed to create container
Caused by:
0: failed to fork process
1: failed to run clone3
2: 38
I've found these entries in the strace output:
statx(AT_FDCWD, "/sys/fs/cgroup/net_cls,net_prio/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/cpuset/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/pids/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/perf_event/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/hugetlb/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/memory/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/cpu,cpuacct/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/blkio/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/freezer/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/net_cls,net_prio/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/cpu,cpuacct/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/devices/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
Could this be related?
What could be the reason for the failure?
Is there anything i could do to troubleshoot this without the need for full-fledged debugging into it?
cheers, Matthias
The text was updated successfully, but these errors were encountered:
I'm running this youki compiled from source:
youki version 0.0.5
commit: 0.0.5-0-984e41bb
on:
Ubuntu 18.04.6 LTS
Linux 4.15.0-167-generic x86_64 x86_64
i've tried to setup the busybox container as described here:
https://github.com/containers/youki#create-and-run-a-container
and setup a standard - not rootless - container, but get this error:
...
[DEBUG crates/libcgroups/src/v1/manager.rs:43] 2023-04-19T12:28:09.322205964+02:00 Get path for subsystem: freezer
[ERROR crates/youki/src/main.rs:145] 2023-04-19T12:28:09.328524127+02:00 error in executing command: failed to create container
Caused by:
0: failed to fork process
1: failed to run clone3
2: 38
Error: failed to create container
Caused by:
0: failed to fork process
1: failed to run clone3
2: 38
I've found these entries in the strace output:
statx(AT_FDCWD, "/sys/fs/cgroup/net_cls,net_prio/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/cpuset/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/pids/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/perf_event/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/hugetlb/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/memory/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/cpu,cpuacct/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/blkio/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/freezer/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/net_cls,net_prio/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/cpu,cpuacct/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/sys/fs/cgroup/devices/my_testcontainer", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd5a69a1d0) = -1 ENOENT (No such file or directory)
Could this be related?
What could be the reason for the failure?
Is there anything i could do to troubleshoot this without the need for full-fledged debugging into it?
cheers, Matthias
The text was updated successfully, but these errors were encountered: