Bug 1179715
| Summary: | /sys/fs/cgroup/cpu,cpuacct/machine.slice disappears after systemctl daemon-reload | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Kurik <jkurik> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED ERRATA | QA Contact: | Branislav Blaškovič <bblaskov> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.0 | CC: | agiorgio, alitke, ar1666, bblaskov, berrange, bmcclain, dfediuck, dyuan, equinox-redhatbugz, erik-fedora, fabrice, fkrska, gfa, jdenemar, jsvarova, kchamart, lagarcia, lnykryn, mdorman, mhayden, msekleta, ovasik, pm-eus, psklenar, rbalakri, redhat.bugzilla, redhat, systemd-maint-list, systemd-maint, toni.peltonen |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-208-11.el7_0.6 | Doc Type: | Bug Fix |
| Doc Text: |
Prior to this update, cgroup trees with multiple writers were insufficiently handled, and, as a consequence, the systemd daemon removed cgroups created by the libvirtd daemon. To fix this bug, a new option, Delegate, controlling creation of cgroup subhierarchies has been implemented which turns on resource delegation. This option defaults to "on" for machine scopes created by the systemd-machined daemon. As a result, cgroups created by libvirtd are no longer removed.
|
Story Points: | --- |
| Clone Of: | 1139223 | Environment: | |
| Last Closed: | 2015-01-14 12:12:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1139223 | ||
| Bug Blocks: | 784395 | ||
|
Description
Jan Kurik
2015-01-07 11:48:59 UTC
Old package: :: [ 13:43:45 ] :: Package versions: :: [ 13:43:45 ] :: systemd-208-11.el7.x86_64 :: [ BEGIN ] :: Running 'virsh create tester.xml' Domain kvm1 created from tester.xml :: [ PASS ] :: Command 'virsh create tester.xml' (Expected 0, got 0) :: [ BEGIN ] :: Running 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' cgroup.clone_children cgroup.procs cpuacct.usage cpu.cfs_period_us cpu.rt_period_us cpu.shares machine-qemu\x2dkvm1.scope tasks cgroup.event_control cpuacct.stat cpuacct.usage_percpu cpu.cfs_quota_us cpu.rt_runtime_us cpu.stat notify_on_release :: [ PASS ] :: Command 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' (Expected 0, got 0) :: [ BEGIN ] :: Running 'systemctl daemon-reload' :: [ PASS ] :: Command 'systemctl daemon-reload' (Expected 0, got 0) :: [ BEGIN ] :: Running 'systemctl restart chronyd' :: [ PASS ] :: Command 'systemctl restart chronyd' (Expected 0, got 0) :: [ 13:43:48 ] :: This directory should be still available :: [ BEGIN ] :: Running 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' ls: cannot access /sys/fs/cgroup/cpu,cpuacct/machine.slice: No such file or directory :: [ FAIL ] :: Command 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' (Expected 0, got 2) New package: :: [ 13:54:28 ] :: Package versions: :: [ 13:54:28 ] :: systemd-208-11.el7_0.6.x86_64 :: [ BEGIN ] :: Running 'virsh create tester.xml' Domain kvm1 created from tester.xml :: [ PASS ] :: Command 'virsh create tester.xml' (Expected 0, got 0) :: [ BEGIN ] :: Running 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' cgroup.clone_children cgroup.procs cpuacct.usage cpu.cfs_period_us cpu.rt_period_us cpu.shares machine-qemu\x2dkvm1.scope tasks cgroup.event_control cpuacct.stat cpuacct.usage_percpu cpu.cfs_quota_us cpu.rt_runtime_us cpu.stat notify_on_release :: [ PASS ] :: Command 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' (Expected 0, got 0) :: [ BEGIN ] :: Running 'systemctl daemon-reload' :: [ PASS ] :: Command 'systemctl daemon-reload' (Expected 0, got 0) :: [ BEGIN ] :: Running 'systemctl restart chronyd' :: [ PASS ] :: Command 'systemctl restart chronyd' (Expected 0, got 0) :: [ 13:54:32 ] :: This directory should be still available :: [ BEGIN ] :: Running 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' cgroup.clone_children cgroup.procs cpuacct.usage cpu.cfs_period_us cpu.rt_period_us cpu.shares machine-qemu\x2dkvm1.scope tasks cgroup.event_control cpuacct.stat cpuacct.usage_percpu cpu.cfs_quota_us cpu.rt_runtime_us cpu.stat notify_on_release :: [ PASS ] :: Command 'ls /sys/fs/cgroup/cpu,cpuacct/machine.slice' (Expected 0, got 0) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0037.html |