| Summary: | bug in libcgroup is preventing cpuset.cpus to be set as anything other than a single CPU, or a single range. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Subin Francis <sfrancis> |
| Component: | libcgroup | Assignee: | Ivana Varekova <varekova> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.0 | CC: | cww, jeder, jsafrane, kzhang, rpiddapa |
| Target Milestone: | rc | ||
| Target Release: | 6.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:13:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Subin Francis
2011-02-23 09:08:21 UTC
This is fixed by rebase to libcgroup-0.37 in RHEL 6.1, where double-quotes are allowed with anything inside, incl. comma.
cpuset {
cpuset.cpus = "0,2";
cpuset.mems = 0;
}
I let the bug open so our qa guys can check it.
using a cgconfig.conf containing:
mount {
cpuset = /cgroup/cgmnt;
}
group critical {
cpuset {
cpuset.cpus = "0,2";
cpuset.mems = 0;
}
}
[root@amd-dinar-01 etc]# /etc/init.d/cgconfig restart
Stopping cgconfig service: [ OK ]
Starting cgconfig service: [ OK ]
[root@amd-dinar-01 etc]# lscgroup
cpuset:/
cpuset:/critical
[root@amd-dinar-01 etc]# grep cgroup /proc/mounts
cgroup /cgroup/cgmnt cgroup rw,relatime,cpuset 0 0
[root@amd-dinar-01 etc]# cat /cgroup/cgmnt/critical/cpuset.cpus
0,2
[root@amd-dinar-01 etc]# uname -r
2.6.32-114.0.1.el6.i686
[root@amd-dinar-01 etc]# rpm -q libcgroup
libcgroup-0.37-1.el6.i686
It looks like this one can be verified.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0577.html |