-
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
cgroupControllers difference between remote and on vm(podman on mac) when trying to run rootless kind #13710
Comments
see kubernetes-sigs/kind#2684 for the issue for the kind project |
Are you sure you are not comparing podman --remote using rootless and podman --remote=false in rootfull mode? |
i am sure |
Sure, I just want to make sure that the other parts of info agree. $ podman info | grep rootless |
Can confirm |
|
And both are podman 4.0.2 correct? |
Yes:
|
@giuseppe ideas? |
enable cgroup delegation when running as a systemd service so all the available controllers are correctly detected. Closes: containers#13710 Signed-off-by: Giuseppe Scrivano <[email protected]>
opened a PR: #13716 now I get:
If you'd like to play with the fix, you can just ssh into the machine, copy |
Tried the manual fix, rebooted the podman vm, and things are looking good - thanks! |
@ncdc Can you add a LGTM to the PR. |
@rhatdan done! |
enable cgroup delegation when running as a systemd service so all the available controllers are correctly detected. Closes: containers#13710 Signed-off-by: Giuseppe Scrivano <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When trying to run kind with rootless podman the following error occurs
Steps to reproduce the issue:
Describe the results you received:
ERROR: failed to create cluster: running kind with rootless provider requires setting systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/
Describe the results you expected:
a running kind cluster
Additional information you deem important (e.g. issue happens only occasionally):
This seems to be a problem with the cgroupcontrollers.
there is a difference in output of "podman info" when running it remote(on mac) or on the podman vm
Remote:
In the VM(after changing Delegate to yes in the vm, prior to that it was "cpu io memory pids"):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):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
Additional environment details (AWS, VirtualBox, physical, etc.):
podman 4.0.2 on MacOS
The text was updated successfully, but these errors were encountered: