Hi again,

I've had a look at the qemu-kvm SRPM and RBD is intentionally disabled in the RHEL 7.0 release packages. There's a block in the .spec file that reads:

%if %{rhev}
        --enable-live-block-ops \
        --enable-ceph-support \
%else
        --disable-live-block-ops \
        --disable-ceph-support \
%endif

rhev is defined 0 at the top of the file, setting this to 1 and rebuilding after sorting the build dependencies yields some new packages with RBD support and a -rhev suffix that install and work on RHEL 7.0 just fine. I tested with a KVM VM using RBD/cephx storage via libvirt/qemu directly. As I was using virtio-scsi, TRIM also worked.

iasl was the only build requirement I wasn't able to satisfy so I commented it out (the comments state that it's not a hard requirement). This doesn't seem to have had any ill effects for me.

To avoid the -rhev suffix I ultimately made the attached changes to the spec file before rebuilding them for myself.

Cheers,
Simon

On 21/07/14 14:23, Simon Ironside wrote:
Hi,

Is there going to be ceph-extras repos for rhel7?

Unless I'm very much mistaken I think the RHEL 7.0 release qemu-kvm
packages don't support RBD.

Cheers,
Simon.


_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--- qemu-kvm.spec.orig
+++ qemu-kvm.spec
@@ -74,7 +74,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: %{pkgname}%{?pkgsuffix}
 Version: 1.5.3
-Release: 60%{?dist}
+Release: 61%{?dist}
 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
 Epoch: 10
 License: GPLv2+ and LGPLv2+ and BSD
@@ -2273,7 +2273,7 @@
 # iasl and cpp for acpi generation (not a hard requirement as we can use
 # pre-compiled files, but it's better to use this)
 %ifarch %{ix86} x86_64
-BuildRequires: iasl
+#BuildRequires: iasl
 BuildRequires: cpp
 %endif
 
@@ -3551,14 +3551,14 @@
         --enable-ceph-support \
 %else
         --disable-live-block-ops \
-        --disable-ceph-support \
+        --enable-ceph-support \
 %endif
         --disable-live-block-migration \
         --enable-glusterfs \
 %if %{rhev}
         --block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,gluster,rbd \
 %else
-        --block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,gluster \
+        --block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,gluster,rbd \
 %endif
         --block-drv-ro-whitelist=vmdk,vhdx,vpc \
         "$@"
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to