Bug 748354
Summary: | [lxc]setmem will get wrong error message when cgroup is unmounted. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | zhpeng |
Component: | libvirt | Assignee: | Osier Yang <jyang> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | acathrow, ajia, cwei, dallan, dyuan, jyang, mshao, mzhan, rwu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.9.9-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
No documentation needed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 06:35:51 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: |
Description
zhpeng
2011-10-24 08:56:00 UTC
Patch for upstream, but hasn't been backported to rhel6.2: commit 6ac47762bb9c3851b07eaa871bfaf7ccd6017147 Author: Osier Yang <jyang> Date: Tue Aug 23 16:17:10 2011 +0800 lxc: Cleanup improper VIR_ERR_NO_SUPPORT use s/VIR_ERR_NO_SUPPORT/VIR_ERR_OPERATION_INVALID/ Special case is changes on lxcDomainInterfaceStats, if it's not implemented on the platform, prints error like: lxcError(VIR_ERR_OPERATION_INVALID, "%s", _("interface stats not implemented on this platform")); As the function is supported by driver actually, error like VIR_ERR_NO_SUPPORT is confused. This is already fixed in upstream, move to POST. The bug has been fixed on libvirt-0.9.9-1.el6.x86_64: # virsh -c lxc:/// setmem toy 400000 error: Requested operation is not valid: cgroups must be configured on the host 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: No documentation needed. 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. http://rhn.redhat.com/errata/RHSA-2012-0748.html |