Project

General

Profile

Actions

Bug #8329

closed

qemu-img rpm provided breaks snapshooting functionality on centos

Added by Andrija Panic almost 10 years ago. Updated over 9 years ago.

Status:
Won't Fix
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Since I needed qemu-img RBD support, I downloaded CEPH provided qemu-kvm and qemu-img packages from: http://ceph.com/packages/ceph-extras/rpm/rhel6/x86_64/

Current build of qemu-img for CentOS 6.5 (qemu-img-0.12.1.2-2.415.el6.3ceph.x86_64.rpm), doesn't work on CloudStack - folders are created on secondary storage, basic snapshoot is also created on primary storage, but when qemu-img tries to make copy of snapshoot on secondary storage, it breaks.

Seems that the qemu-img has removed "-s" parameter from qemu-img in CentOS 6.5, but it apparently did work exist on CentOS 6.4.

Last CEPH provided RPM for qemu-img that I have and which DOES work, is: qemu-img-0.12.1.2-2.355.el6.2.cuttlefish.x86_64.rpm

This is serios show-stopped for CloudStack, and I guess this has nothing to do with CEPH's RPMs, as CEPH just add RBD support to original source code provided by RedHat, but it would be good to have also older RPMs that are working fine...

Actions #1

Updated by Sage Weil over 9 years ago

do we still need to provide these packages? :(

Actions #2

Updated by Andrija Panic over 9 years ago

As far as I know, there is still no support for RBD in qemu-kvm/qemu-img packages...

Also I don't know if cloudstack newer than 4.2 currently uses the mentioned "-s" flag when talking to qemu-img for snapshooting...(if NO, then we can have latest RHEL original source for kvm/img patched with rbd support, but if "-s" is still required, than we still need patched packages based on rhel 6.4)...
Anyway, not a good solution...

Actions #3

Updated by Andrija Panic over 9 years ago

Any info on this? At least can we define some prefered way of enabling qemu-img/kvm to speak to CEPH (Do it your self way) - and for CentOS comunity (I Understand there is builtin support in RHEV, but we can't use these packages on CentOS).

Perhaps some advice on compiling qemu-kmv/img with ceph support on anything similar ?

Actions #4

Updated by Jason Dillaman over 9 years ago

  • Status changed from New to Need More Info

Andrija, according to Bugzilla, the availability of the "-s" option in qemu-img was a backporting bug and was effectively a no-op. That is the rationale for why the option was removed with the RHEL 6.5 update. See https://bugzilla.redhat.com/show_bug.cgi?id=924165 for background.

Unfortunately, I am not familiar enough with CloudStack and its usage of "-s" to immediately know how you can work around this issue on a RHEL 6.x-derived system.

Actions #5

Updated by Sage Weil over 9 years ago

  • Status changed from Need More Info to Won't Fix
Actions

Also available in: Atom PDF