-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Creating pod fails (even with catatonit binary) #13411
Comments
Thanks for reaching out!
@giuseppe PTAL |
do not attempt to use cgroups with pods if the cgroups are disabled. A similar check is already in place for containers. Closes: containers#13411 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
PR here: #13413 |
PR #13413 + catatonic binary fixed it:
-> Thank you for the fix and the incredibly fast response time! |
do not attempt to use cgroups with pods if the cgroups are disabled. A similar check is already in place for containers. Closes: containers#13411 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
do not attempt to use cgroups with pods if the cgroups are disabled. A similar check is already in place for containers. Closes: containers#13411 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
/kind bug
Description
Creating pods in a podman in docker container setup fails with 4.0.x,
but works fine with 3.4.x.
(I am using self compiled static binaries, but reproduced the issue with quay.io/podman/upstream and quay.io/podman/stable)
Steps to reproduce the issue:
docker run -ti --rm --privileged --device /dev/fuse:rw quay.io/podman/upstream sh -c "sed -i -e '/^utsns=/ s/=.*/=\"private\"/' /etc/containers/containers.conf; podman pod create"
Describe the results you received:
Error: building local pause image: finding pause binary: exec: "catatonit": executable file not found in $PATH
Describe the results you expected:
pod created with id as output
Additional information you deem important (e.g. issue happens only occasionally):
Version 3.4.x works:
docker run -ti --rm --privileged --device /dev/fuse:rw quay.io/podman/stable sh -c "sed -i -e '/^utsns=/ s/=.*/=\"private\"/' /etc/containers/containers.conf; podman pod create"
Output:
a46dde323dbcb64871c855dd3dd1e9e1b6bc5de7c65ddf3593dc5100fd4c7bd2
simply adding catatonic
docker run -ti --rm --privileged --device /dev/fuse:rw quay.io/podman/upstream sh -c "curl -sLo /usr/local/bin/catatonit https://github.com/openSUSE/catatonit/releases/download/v0.1.7/catatonit.x86_64; chmod +x /usr /local/bin/catatonit; sed -i -e '/^utsns=/ s/=.*/=\"private\"/' /etc/containers/containers.conf; podman pod create"
Output:
Error: cannot set cgroup parent if not creating cgroups: invalid argument
Output of
podman version
:Output of
podman info --debug
:Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: