Your message dated Fri, 27 Nov 2020 22:47:33 +0100
with message-id <[email protected]>
and subject line Re: Bug#904303: /sys/fs/cgroup/cpu, cpuacct/machine.slice
changed after systemctl daemon-reload
has caused the Debian Bug report #904303,
regarding /sys/fs/cgroup/cpu,cpuacct/machine.slice changed after systemctl
daemon-reload
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
904303: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904303
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: 232-25+deb9u4
Description of problem:
After a 'systemctl daemon-reload' followed by any service 'systemctl
restart xxx' the blkio, cpu,cpuacct、memory cgroup path changed.
Steps to Reproduce:
1. Create and launch a basic VM
2. Check that the cgroups are mapped properly for example with 'virsh
memtune VM_NAME'
3. Execute 'systemctl daemon-reload'
4. Restart _any_ service on your machine, such as : systemctl restart libvirtd
before:
10:perf_event:/machine/qemu-1462-zyjtest.libvirt-qemu
9:blkio:/machine/qemu-1462-zyjtest.libvirt-qemu
8:cpu,cpuacct:/machine/qemu-1462-zyjtest.libvirt-qemu/emulator
7:memory:/machine/qemu-1462-zyjtest.libvirt-qemu
6:freezer:/machine/qemu-1462-zyjtest.libvirt-qemu
5:pids:/system.slice/libvirtd.service
4:devices:/machine/qemu-1462-zyjtest.libvirt-qemu
3:cpuset:/machine/qemu-1462-zyjtest.libvirt-qemu/emulator
2:net_cls,net_prio:/machine/qemu-1462-zyjtest.libvirt-qemu
1:name=systemd:/system.slice/libvirtd.service
after results:
10:perf_event:/machine/qemu-1462-zyjtest.libvirt-qemu
9:blkio:/
8:cpu,cpuacct:/
7:memory:/
6:freezer:/machine/qemu-1462-zyjtest.libvirt-qemu
5:pids:/system.slice/libvirtd.service
4:devices:/system.slice/libvirtd.service
3:cpuset:/machine/qemu-1462-zyjtest.libvirt-qemu/emulator
2:net_cls,net_prio:/machine/qemu-1462-zyjtest.libvirt-qemu
1:name=systemd:/system.slice/libvirtd.servi
# virsh memtune zyj_test
error: Unable to get memory parameters
error: Requested operation is not valid: cgroup memory controller is not mounted
I found a similar description at :
https://bugzilla.redhat.com/show_bug.cgi?id=1140215
And I had checked this systemd version had merged the patches.
core: introduce new Delegate=yes/no property controlling creation of
cgroup subhierarchies
core: don't migrate PIDs for units that may contain subcgroups, do
this only for leaf units
However, this issue is still exist.
Zhu Yijun
--- End Message ---
--- Begin Message ---
Am 09.11.19 um 02:26 schrieb Michael Biebl:
Control: tags -1 + moreinfo
On Mon, 23 Jul 2018 10:11:15 +0800 Zhu Yijun <[email protected]> wrote:
Package: systemd
Version: 232-25+deb9u4
Description of problem:
After a 'systemctl daemon-reload' followed by any service 'systemctl
restart xxx' the blkio, cpu,cpuacct、memory cgroup path changed.
Steps to Reproduce:
1. Create and launch a basic VM
2. Check that the cgroups are mapped properly for example with 'virsh
memtune VM_NAME'
3. Execute 'systemctl daemon-reload'
4. Restart _any_ service on your machine, such as : systemctl restart libvirtd
before:
10:perf_event:/machine/qemu-1462-zyjtest.libvirt-qemu
9:blkio:/machine/qemu-1462-zyjtest.libvirt-qemu
8:cpu,cpuacct:/machine/qemu-1462-zyjtest.libvirt-qemu/emulator
7:memory:/machine/qemu-1462-zyjtest.libvirt-qemu
6:freezer:/machine/qemu-1462-zyjtest.libvirt-qemu
5:pids:/system.slice/libvirtd.service
4:devices:/machine/qemu-1462-zyjtest.libvirt-qemu
3:cpuset:/machine/qemu-1462-zyjtest.libvirt-qemu/emulator
2:net_cls,net_prio:/machine/qemu-1462-zyjtest.libvirt-qemu
1:name=systemd:/system.slice/libvirtd.service
after results:
10:perf_event:/machine/qemu-1462-zyjtest.libvirt-qemu
9:blkio:/
8:cpu,cpuacct:/
7:memory:/
6:freezer:/machine/qemu-1462-zyjtest.libvirt-qemu
5:pids:/system.slice/libvirtd.service
4:devices:/system.slice/libvirtd.service
3:cpuset:/machine/qemu-1462-zyjtest.libvirt-qemu/emulator
2:net_cls,net_prio:/machine/qemu-1462-zyjtest.libvirt-qemu
1:name=systemd:/system.slice/libvirtd.servi
# virsh memtune zyj_test
error: Unable to get memory parameters
error: Requested operation is not valid: cgroup memory controller is not mounted
I found a similar description at :
https://bugzilla.redhat.com/show_bug.cgi?id=1140215
And I had checked this systemd version had merged the patches.
core: introduce new Delegate=yes/no property controlling creation of
cgroup subhierarchies
core: don't migrate PIDs for units that may contain subcgroups, do
this only for leaf units
However, this issue is still exist.
Is the Delegate= option set for those cgroup hierarchies created by libvirt?
Since I can't reproduce the issue and no further information was
provided, I'm closing this issue.
Regards,
Michael
--- End Message ---