-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Resource limits are not supported and ignored on cgroups V1 rootless systems #17582
Comments
that is expected, rootless users cannot set resource limits on cgroup v1. cgroupv1 is dead, let's skip anything that doesn't work there. I'd personally not care about cgroupv1 at all since it doesn't help with RHEL anyway. |
I get that, totally cool. The issue (for me) is that no resource-limits were specified by the test. Yet the user gets this warning message anyway. Near as I could tell, the test seems to work fine, except for getting hung-up on seeing this warning.
I think that's true, these newer versions of podman will never get released on the RHEL versions where CGv1/runc is still in use. The test is marked for skipping w/ ref: this issue. Should we just close this issue as a WONTFIX/CANTFIX then? |
I think we still try to apply the default limit for pids. Yes, let's close it, and not worry about cgroupv1 |
Test emits nasty warning message: `Resource limits are not supported and ignored on cgroups V1 rootless systems` Ref: issue containers#17582 Signed-off-by: Chris Evich <[email protected]>
If resource limits is not set, do not display the following warning message: `Resource limits are not supported and ignored on cgroups V1 rootless systems` Ref: containers#17582 Signed-off-by: Toshiki Sonoda <[email protected]>
Issue Description
While running the rootless podman system tests on Debian SID w/ CGv1, the
podman kube --network
test emits this nasty warning message.Note: The podman command run by the test is functional, this issue is simply about this warning message being emitted unexpectedly. In other words, nothing on the command line or config. has specified any disallowed "Resource limits", therefore the user should not be receiving a warning about them.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Debian GNU/Linux bookworm/sid \n \l
Kernel: 6.1.0-4-cloud-amd64
Cgroups: tmpfs
dpkg-query: no packages found matching containers-common
dpkg-query: no packages found matching cri-o-runc
conmon-2.1.6+ds1-1-amd64
containernetworking-plugins-1.1.1+ds1-3+b2-amd64
criu-3.17.1-2-amd64
crun-1.8-1-amd64
golang-2:1.19~1-amd64
libseccomp2-2.5.4-1+b3-amd64
podman-4.3.1+ds1-5+b2-amd64
runc-1.1.4+ds1-1+b2-amd64
skopeo-1.9.3+ds1-1+b1-amd64
slirp4netns-1.2.0-1-amd64
Additional information
Example annotated log
The text was updated successfully, but these errors were encountered: