Replies: 10 comments 1 reply
-
what is your current cgroup ( |
Beta Was this translation helpful? Give feedback.
-
root@OpenWrt:~# cat /proc/self/cgroup
0::/services/dropbear/instance1 |
Beta Was this translation helpful? Give feedback.
-
The real error is:
Some cgroup controllers might be missing in the kernel, can you show the output of If the pids controller is missing, then you will need to modify the configuration in containers.conf and drop the pids_limit. |
Beta Was this translation helpful? Give feedback.
-
Thanks for looking into this with me. Looks like
|
Beta Was this translation helpful? Give feedback.
-
To check what controller is failing, you can try:
where does it fail? If it is the CPU controller, a reason could be that you processes running with the realtime scheduler. Is this the case? In the meanwhile, I've opened a PR for crun to make clearer what it is trying to enable: containers/crun#1430 |
Beta Was this translation helpful? Give feedback.
-
Looks like it doesn't like
|
Beta Was this translation helpful? Give feedback.
-
that is some weird interaction with kthreads I guess. In any case, it is not something we control from Podman/crun, so I am converting this issue to a discussion |
Beta Was this translation helpful? Give feedback.
-
got the same error in openwrt 23.05.3
here is the debug output
|
Beta Was this translation helpful? Give feedback.
-
I had the same issue on a NixOS 23.11 system when I installed podman. I rebooted the system and it worked perfectly after that. I didn't dig any further to find the root cause, I am sharing that in case it helps. |
Beta Was this translation helpful? Give feedback.
-
Same issue on OpenWrt 23.05, rebooted then worked, rebooted again then die
|
Beta Was this translation helpful? Give feedback.
-
Issue Description
I installed Podman per the wiki and I am unable to get any container to run.
Unfortunately, Cgroups is beyond my scope of knowledge to properly troubleshoot and the help I have received in the OpenWRT repo has not been able to resolve the issue.
Steps to reproduce the issue
Install podman and dependencies per the WIKI linked above.
podman run hello-world
Describe the results you received
WARN[0000] Failed to add conmon to cgroupfs sandbox cgroup: creating cgroup path /libpod_parent/conmon: write /sys/fs/cgroup/cgroup.subtree_control: invalid argument
Error: OCI runtime error: crun: writing file
/sys/fs/cgroup/cgroup.subtree_control
: Invalid argumentDescribe the results you expected
Container should run without issue.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
[email protected] x86 on Sophos SG-105r1
Additional information
OpenWRT Issue: openwrt/packages#23544
runc
seems to at least launch the container, but still throws that error.crun
with DEBUG loggingrunc
with DEBUG loggingBeta Was this translation helpful? Give feedback.
All reactions