Bug 678868

Summary: schedinfo fails with older kernels
Product: Red Hat Enterprise Linux 6 Reporter: Erez Shinan <erez>
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: ajia, dallan, danken, dyuan, eblake, mzhan, sgordon, xen-maint, yoyzhang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-20 21:40:35 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 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.