Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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.


Related issues 1 (0 open1 closed)

Related to rbd - Feature #4834: Recompile/package qemu with new version of librbd to enable asynchronous flushing (fix for 3737)Resolved

Actions
Actions #1

Updated by Neil Levine about 11 years ago

  • Subject changed from Build QEMU rpm package to Create Qemu+RBD repo & rpm package
Actions #2

Updated by Ian Colle about 11 years ago

  • Target version set to v0.62a
Actions #3

Updated by Ian Colle about 11 years ago

  • Assignee set to Anonymous
Actions #4

Updated by Anonymous about 11 years ago

  • 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 ?

Actions #5

Updated by Josh Durgin about 11 years ago

  • 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).

Actions #6

Updated by Josh Durgin about 11 years ago

  • Status changed from 12 to In Progress

oops, didn't mean to change the status

Actions #7

Updated by Ian Colle almost 11 years ago

  • Priority changed from Normal to Urgent
Actions #8

Updated by Neil Levine almost 11 years ago

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.

Actions #9

Updated by Sage Weil almost 11 years ago

  • Priority changed from Urgent to High
Actions #10

Updated by Ian Colle almost 11 years ago

  • Target version changed from v0.62a to v0.63
Actions #11

Updated by Neil Levine almost 11 years ago

  • Subject changed from Create Qemu+RBD repo & rpm package to Create Qemu+RBD rpm package for RHEL on ceph.com
Actions #12

Updated by Ian Colle almost 11 years ago

  • Target version changed from v0.63 to v0.64
Actions #13

Updated by Ian Colle almost 11 years ago

Ensure that aync flush from 4834 is included when building these packages for RHEL

Actions #14

Updated by Ian Colle almost 11 years ago

  • Target version changed from v0.64 to v0.65
Actions #15

Updated by Ian Colle almost 11 years ago

  • Target version changed from v0.65 to v0.66
Actions #16

Updated by Neil Levine almost 11 years ago

  • 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
Actions #17

Updated by Anonymous almost 11 years ago

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}.

Actions #18

Updated by Neil Levine almost 11 years ago

Great, thanks Gary. Have these been QAd?

Actions #19

Updated by Anonymous almost 11 years ago

These packages have not been through QA yet.

Actions #20

Updated by Ian Colle over 10 years ago

  • Status changed from In Progress to Resolved
Actions #21

Updated by Anonymous over 10 years ago

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?

Actions

Also available in: Atom PDF