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 1105018 - RBD support seems incomplete
Summary: RBD support seems incomplete
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ademar Reis
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1109895
TreeView+ depends on / blocked
 
Reported: 2014-06-05 08:37 UTC by Emilien Macchi
Modified: 2018-12-06 16:45 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1109895 (view as bug list)
Environment:
Last Closed: 2014-06-16 15:09:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Emilien Macchi 2014-06-05 08:37:47 UTC
Description of problem:
On OpenStack Icehouse, when attaching a volume backend by Ceph (RBD) to a VM hosted on qemu-kvm, we get this error:
ibvirtError: internal error unable to execute QEMU command '__com.redhat_drive_add': Device 'drive-virtio-disk1' could not be initialized

Complete TRACE: http://paste.openstack.org/show/bfl0XYDGwerSwB65i3ID/

It seems that RBD support is not complete in qemu-kvm

Version-Release number of selected component (if applicable):
qemu-img-rhev-0.12.1.2-2.415.el6_5.8.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.8.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. Install OpenStack Icehouse with RBD backend for Cinder
2. Create a volume in Cinder and an instance in Nova
3. Attache the volume to volume to the VM and look at nova-compute logs

Actual results:
The volume fails to be attached.

Expected results:
The volume should be attached.

Comment 2 Ademar Reis 2014-06-05 17:18:21 UTC
Emilien, thank you for taking the time to enter a bug report with us. We're not able to guarantee the timeliness or suitability of a resolution for issues entered here because this is not a mechanism for requesting support, so if this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain  it receives the proper attention and prioritization to assure a timely resolution.

For information on how to contact the Red Hat production support team, please
visit: https://www.redhat.com/support/process/production/#howto

Comment 3 Ademar Reis 2014-06-05 17:22:31 UTC
Please include the output of the following commands:

# rpm -qa | egrep -i '(rbd|ceph)
# qemu-img -h | grep Supported

We also need the full command line used to invoke qemu. One way to extract it is using this command on the machine where the VM is being run:

# ps -auxww | grep qemu

(or you can add the respective log from /var/log/libvirt)

Comment 4 Emilien Macchi 2014-06-05 19:41:04 UTC
Hi,

Here is the ticket: https://access.redhat.com/support/cases/01115331/

For your information:
ceph-libs-0.80.1-2.el6.x86_64
ceph-0.80.1-2.el6.x86_64

Supported formats: raw cow qcow vdi vmdk cloop dmg bochs vpc vvfat qcow2 qed vhdx parallels nbd blkdebug host_cdrom host_floppy host_device file gluster gluster gluster gluster rb

I'll provide other informations later.
Thanks

Comment 6 Ademar Reis 2014-06-16 15:09:46 UTC
Based on the discussion at Customer case 01115331, looks like the issue has been identified: the customer had packages from EPEL installed, which don't include the symlink needed to enable CEPH support in qemu-kvm-rhev at runtime. 

When using the official, supported packages from ceph.com, support is enabled as expected.

The bug has been clonned against the EPEL ceph component: Bug 1109895.

This qemu-kvm bug is being closed as NOTABUG, given that the RHEL6 part appears to be fine.

Thanks.


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