Bug 678868 - schedinfo fails with older kernels
Summary: schedinfo fails with older kernels
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Eric Blake
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 681397 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-20 14:03 UTC by Erez Shinan
Modified: 2011-09-20 21:40 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-20 21:40:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Erez Shinan 2011-02-20 14:03:56 UTC
Description of problem:
libvirt-0.8.7-6 is confused by kernels not supporting blkio cgroup

libvirtError: this function is not supported by the connection driver: qemuGetSchedulerType


Version-Release number of selected component (if applicable):
libvirt-0.8.7-6
kernel-2.6.32-71.el6.x86_64 (but also in kernel -112)

How reproducible:
always

Steps to Reproduce:
1. start a domain
2. set its cpu shares
  
Additional info:
Older libvirt (0.8.7-1?) did not have this problem. When /etc/cgconfig.conf is edited so that blkid is commented out, qemuGetSchedulerType is working fine.

Comment 2 Dan Kenigsberg 2011-03-02 08:19:20 UTC
*** Bug 681397 has been marked as a duplicate of this bug. ***

Comment 3 RHEL Program Management 2011-04-04 02:07:09 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Eric Blake 2011-08-10 20:14:07 UTC
Is this still a concern for RHEL 6.2 using libvirt 0.9.4?  Or has this been overcome by events by virtue of newer kernel and libvirt in the meantime, where at most 6.1.z would have to worry about the issue?

Comment 5 Eric Blake 2011-09-20 21:36:23 UTC
RHEL 6.2 should be unimpacted by this issue - the kernel is new enough, and rebasing libvirt picked up patches like these:
mmit ae5155768f5bc7af6450c657e1f2fe1f4a129c57
Author: Hu Tao <hutao.com>
Date:   Mon Mar 7 11:49:12 2011 +0800

    Don't return an error on failure to create blkio controller
    
    This patch enables cgroup controllers as much as possible by skipping
    the creation of blkio controller when running with old kernels that
    doesn't support multi-level directory for blkio controller.
    
    Signed-off-by: Hu Tao <hutao.com>
    Signed-off-by: Eric Blake <eblake>

Comment 6 Eric Blake 2011-09-20 21:40:35 UTC
I'm closing this, since 6.2 has no issue.  If needed, we can reopen this if we need to do something for 6.1.z, but even that seems unlikely.


Note You need to log in before you can comment on or make changes to this bug.