Source: cinder
Version: 2:18.0.0-2
Severity: important
Tags: upstream

Hello Zigo,

As discussed privately, cinder needs to support cgroup v2. Now that
that a version of cgroup-tools supporing cgroup v2 (2.0) has landed into
unstable, cinder can still use it, but it needs to adapt the
controllers path, since some resources are not longer available.

It means that instead of using blkio, as in
https://sources.debian.org/src/cinder/2:18.0.0-2/cinder/privsep/cgroup.py/#L28
cinder has to use the io controller (If I am not wrong).
You can refer to the kernel documentation about cgroups v2:
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io

Cinder would have to call `cgset` and `cgcreate` with paths according
to the cgroup version supported by the running system.
To know if cgroup v2 is supported, one way is to
`grep cgroup2 /proc/mounts`

HTH,

 -- Santiago



-- System Information:
Debian Release: bookworm/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: signature.asc
Description: PGP signature

Reply via email to