Feature #4550
closed
Create Qemu+RBD rpm package for RHEL+CentOS 6.3 on ceph.com
Added by Neil Levine about 11 years ago.
Updated over 10 years ago.
Description
The Ceph packages will be in EPEL which makes them suitable for Red Hat users deploying either RADOS, RGW or the Ceph libraries.
However, for Red Hat users wanting to use Ceph with an Openstack installation, we cannot put a QEMU image in EPEL, as RHEL already ships with one.
As such, we need to create and host on ceph.com our own modified Qemu package, which links to the RBD libraries.
Subsequently, we can tell RH users just to install everything from the ceph.com repo.
This QEMU package may also be useful for placing in the Ceph CentOS repository.
- Subject changed from Build QEMU rpm package to Create Qemu+RBD repo & rpm package
- Target version set to v0.62a
- Assignee set to Anonymous
- Status changed from 12 to In Progress
It looks like I want to grab the source for the qemu-kvm-0.12.1.2-2.295 package that ships with centos 6.3, rebuild it with ./configure --enable-rbd ... against the version of ceph in the epel repo which is bobtail 0.48.3. Does that sound right ?
- Status changed from In Progress to 12
I'd suggest starting with the latest version of qemu-kvm for centos 6 (the c6 branch of https://nazar.karan.org/summary/distro!qemu-kvm.git).
This version won't have rbd at all, but all the patches on top of it bring it pretty close to a modern QEMU. If you copy over block/rbd.c from upstream qemu (git://git.qemu.org/qemu.git) at around version 1.4, with the configure and Makefile.objs changes to enable it, it should compile with --enable-rbd.
Adding the recent patch to use make flush async (dc7588c1eb3008bda53dde1d6b890cd299758155) would be ideal, but I need to check that it will work when compiled against a newer librbd (i.e. the bobtail branch), and run with an older one (0.56.4 from EPEL).
- Status changed from 12 to In Progress
oops, didn't mean to change the status
- Priority changed from Normal to Urgent
For CentOS, I am less concerned about package version but for RHEL6.3, we should use the same version of qemu that ships by default. I believe we need separate rpm packages for each OS.
- Priority changed from Urgent to High
- Target version changed from v0.62a to v0.63
- Subject changed from Create Qemu+RBD repo & rpm package to Create Qemu+RBD rpm package for RHEL on ceph.com
- Target version changed from v0.63 to v0.64
Ensure that aync flush from 4834 is included when building these packages for RHEL
- Target version changed from v0.64 to v0.65
- Target version changed from v0.65 to v0.66
- Subject changed from Create Qemu+RBD rpm package for RHEL on ceph.com to Create Qemu+RBD rpm package for RHEL+CentOS 6.3 on ceph.com
Following the packaging discussions, the redhat packages were respun with the latest redhat sources + the ceph rados rbd patch with aio_flush. The version on these packages is 0.12.1.2-2.355.el6.5.ceph which is the version number of the original redhat source package with "ceph" appended. The packages were built against cuttlefish v0.61.4.
The packages built against bobtail and rbd without aio_flush have been dropped.
Packages are in a yum repo at ceph.com:packages/ceph-extras/rhel6.
Also based on the packaging discussions, all the ceph extras or add-ons will be put in repos at ceph.com:packages/ceph-extras/{dist}.
Great, thanks Gary. Have these been QAd?
These packages have not been through QA yet.
- Status changed from In Progress to Resolved
I know this is marked as resolved, but there does not appear to be a process to ensure packages are built against new releases of ceph. I'm using centos 6.4 with dumpling and openstack havana, and have had to use the following packages:
qemu-kvm-0.12.1.2-2.355.el6.2.cuttlefish.x86_64
qemu-img-0.12.1.2-2.355.el6.2.cuttlefish.x86_64
which I grabbed from the ceph-extras repo. Can we get new packages built for centos 6.4 and latest ceph version?
Also available in: Atom
PDF