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 962113 - Disable libguestfs block drivers which are not supported by RHEL 7 qemu + libvirt
Summary: Disable libguestfs block drivers which are not supported by RHEL 7 qemu + lib...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-11 21:33 UTC by Richard W.M. Jones
Modified: 2014-06-18 01:59 UTC (History)
5 users (show)

Fixed In Version: libguestfs-1.22.5-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:09:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-05-11 21:33:27 UTC
Description of problem:

Upstream libguestfs now supports many of upstream qemu's block
drivers.  Currently that list is:

file
ftp
ftps
gluster
http
https
iscsi
nbd
rbd
sheepdog
ssh
tftp

Some of these will not be supported in qemu.  Some are not
supported by libvirt (not even upstream libvirt).

We need to find out which will be supported in qemu + libvirt
in RHEL 7, and limit the devices to just those.  The others would
be removed from the documentation (and implementation?) in
libguestfs in RHEL 7.

Version-Release number of selected component (if applicable):

libguestfs in RHEL 7

Additional info:

https://bugzilla.redhat.com/show_bug.cgi?id=875871
enable nbd block driver [component = qemu-kvm]

There is no general bug or documentation I can find about
what qemu will eventually support.  But that information can
be found in the spec file.

My current understanding is this:

            qemu       |   libvirt
         upst.| RHEL7  |  upst.| RHEL7
file       Y      Y         Y      Y
ftp        Y      N         N      N
ftps       Y      N         N      N
gluster    Y                Y
http       Y      N         N      N
https      Y      N         N      N
iscsi      Y                [1]
nbd        Y   bug 875871   Y
rbd        Y                Y
sheepdog   Y                Y
ssh        Y                [2]
tftp       Y      N         N      N

[1] = Supposed to be supported, but I couldn't get it to work.
[2] = Patch posted upstream, but needs further work.

Comment 2 Richard W.M. Jones 2013-06-04 11:31:09 UTC
Dan can you help to fill in the table (comment 0)?

Comment 3 Daniel Berrangé 2013-06-04 11:37:01 UTC
I don't believe we've made any decisions about the block device support list for RHEL-7 yet in libvirt or kvm.

Comment 4 Richard W.M. Jones 2013-07-11 09:54:24 UTC
ssh support seems unlikely before at least RHEL 7.1.  The reasons
are this needs further work in qemu & libvirt:

qemu: Support for more authentication types.

libvirt: Fix the ssh driver and get it upstream and test it
with libguestfs.

libguestfs: Some (minor) changes may be needed to make the
libvirt backend fully functional with ssh.

Comment 5 Richard W.M. Jones 2013-07-29 14:44:18 UTC
This RHEL-7-only commit was added:

https://github.com/libguestfs/libguestfs/commit/690381015f09cb5ceef9de939771b81f30429eb4

Comment 7 bfan 2013-12-02 05:08:05 UTC
Verified with libguestfs-1.22.6-16.el7.x86_64

1. test nbd driver
qemu-nbd -v -t RHEL-Server-6.4-64-hvm.raw &
virt-inspector -a nbd://10.66.84.13


2. test file driver
virt-inspector -a file:///path/RHEL-Server-6.4-64-hvm.raw


All works well, so change the status to verified

Comment 8 Ludek Smid 2014-06-13 11:09:59 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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