Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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.