Replies: 4 comments 3 replies
-
@giuseppe PTAL |
Beta Was this translation helpful? Give feedback.
-
You need to recreate the cgroup, chown it and force podman to use it with |
Beta Was this translation helpful? Give feedback.
-
I also experience this. My environment is fresh Ansible EDA 2.4.2 install on RHEL 9.2. Somehow mysteriously the containers won't get started for EDA service as eda user. When I start them by sudo su - eda, podman run... the same container starts. I don't see selinux denials for one. @giuseppe any ideas?
|
Beta Was this translation helpful? Give feedback.
-
@giuseppe I have installed ansible automation platform with event driven ansible. It installs and configures all podman stuff. But likely there is some error. No, this is not nested container. More info about it here, where your opinions would be welcome: https://issues.redhat.com/browse/AAP-16958 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
English is not my first language. If I came across as rude, that was not my intention.
basic infomation:
I have a gentoo box, which have podman installed.
I am trying to set memory limit to a container like this:
No errors, but the mem usage is much larger than the limit, and
stress-ng
can use more than 10M memory.I have checked the current cgroup version is v2, and these process is in the default user's cgroup (/sys/fs/cgroup/2), which is no limit set on.
And then I change the log level to info, it's seems the current user doesn't have the permission to create a new cgroup.
I create a new cgroup manually, chown it to the current user, and using
--cgroup-parent
to specify that path, but now i can not even run the contianer.Also, I tried to grant write permission to the current user for
/sys/fs/cgroup/cgroup.subtree_control
, and create/sys/fs/cgroup/conmon
manually, now it's run w/o errors, but still, the memory limit doesn't work.I tried run this w/ root user on the same gentoo box, it's works.
And I run the same command with
--cgroup-manager systemd
on ubuntu, it's also works.Am I doing it right? Does that need extra setup or something else?
Is that mean set resource limit in rootless mode when using cgroupfs is not supported?
Beta Was this translation helpful? Give feedback.
All reactions