Comment 1 for bug 1942203

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

We're going on the assumption that everyone supports cgroup v2, and the issue is that they're dropping support for cgroup v1. So we should just switch to cgroup v2.

The other issue is that the library cinder uses to handle cgroup (v1), libcgroup, has been extended to handle cgroup v2, but it is not packaged for the Red Hat family of distros (and apparently there are no plans to do so).

The recommendation seems to be to use systemd to handle cgroup creation. For example, see https://www.suse.com/support/kb/doc/?id=000018890

Eric Harney suggests something like this: define systemd .slice files, and launch the command with "systemd-run --slice=cinder-whatever.slice <command>" instead of cgexec (cgexec is supplied by libcgroup).