Bug 649195
| Summary: | add cgsnapshot tool to libcgroup package | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Ivana Varekova <varekova> |
| Component: | libcgroup | Assignee: | Ivana Varekova <varekova> |
| Status: | CLOSED ERRATA | QA Contact: | Mike Gahagan <mgahagan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | CC: | jsafrane, kzhang, rvokal |
| Target Milestone: | rc | Keywords: | Rebase |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Rebase: Bug Fixes and Enhancements | |
| Doc Text: |
Several bugfixes and new tool cgsnapshot. Using this tool it is possible to snapshot the current control group configuration.
Please note that cgsnapshot is currently limited and displays only the first mount point for a hierarchy. If any hierarchy is mounted twice or more, cgshapshot will show only the first mount point.
As major bugfix, cgconfig service now writes all parameter values in the same order as they appear in cgconfig.conf file. In the previous version of the package the values were (wrongly) written in the reverse order. Users should be advised to review they /etc/cgconfig.conf configuration file
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:13:18 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: | |||
| Bug Blocks: | 672300 | ||
|
Description
Ivana Varekova
2010-11-03 07:15:21 UTC
The tool uses new libcgroup API and rebase to newer version is highly recommended.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Several bugfixes and new tool cgsnapshot. Using this tool it is possible to snapshot the current control group configuration.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1,3 @@
-Several bugfixes and new tool cgsnapshot. Using this tool it is possible to snapshot the current control group configuration.+Several bugfixes and new tool cgsnapshot. Using this tool it is possible to snapshot the current control group configuration.
+
+As major bugfix, cgconfig service now writes all parameter values in the same order as they appear in cgconfig.conf file. In the previous version of the package the values were (wrongly) written in the reverse order. Users should be advised to review they /etc/cgconfig.conf configuration file
[root@dhcp231-204 x86_64]# cgsnapshot
# Configuration file generated by cgsnapshot
mount {
cpuset = /cgroup/cpuset;
cpu = /cgroup/cpu;
cpuacct = /cgroup/cpuacct;
memory = /cgroup/memory;
devices = /cgroup/devices;
freezer = /cgroup/freezer;
net_cls = /cgroup/net_cls;
blkio = /cgroup/blkio;
}
Confirmed cgsnapshot is included with libcgroups 0.37-1
setting back to ON_QA until other architectures have been tested. confirmed cgsnapshot is present on x86_64, i386 and ppc64, however I've found at least one bug with it, see bz 646700.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,3 +1,5 @@
Several bugfixes and new tool cgsnapshot. Using this tool it is possible to snapshot the current control group configuration.
+Please note that cgsnapshot is currently limited and displays only the first mount point for a hierarchy. If any hierarchy is mounted twice or more, cgshapshot will show only the first mount point.
+
As major bugfix, cgconfig service now writes all parameter values in the same order as they appear in cgconfig.conf file. In the previous version of the package the values were (wrongly) written in the reverse order. Users should be advised to review they /etc/cgconfig.conf configuration file
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 |