[Openstack] Openstack--instance-boot-from-ceph-volume

Karan Singh ksingh at csc.fi
Thu Dec 5 13:24:57 UTC 2013


Thanks for explanation darren , you were correct , looks like qemu does not support RBD 

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
[root at rdo qemu(keystone_admin)]#



I will try the steps provided by you in last email.


If you're using Centos, you'll need a qemu-kvm that is built with rbd support.  You can grab this src rpm for qemu-kvm-rhev from Redhat and build it yourself:

http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.el6.src.rpm

Using:

rpmbuild  -ba  --with rhev_features --without guest_agent qemu-kvm.spec



Many Thanks
Karan Singh


----- Original Message -----
From: "Darren Birkett" <darren.birkett at gmail.com>
To: "Karan Singh" <ksingh at csc.fi>
Cc: "lad raghavendra" <lad.raghavendra at gmail.com>, "Tim Bell" <Tim.Bell at cern.ch>, "Openstack Milis" <openstack at lists.openstack.org>
Sent: Thursday, 5 December, 2013 3:11:11 PM
Subject: Re: [Openstack] Openstack--instance-boot-from-ceph-volume

On 5 December 2013 12:55, Karan Singh <ksingh at csc.fi> wrote:

> I am using qemu-kvm provided by ceph repository that have RBD support . Using this i am able to create RBD volumes and its working good.

Just creating cinder volumes doesn't actually use qemu-kvm, which is
why that's working ok

> could not open disk image rbd:ceph...

It's difficult to say exactly where the issue is.  Which qemu-kvm from
ceph.com are you using?  What's the output of:

qemu-img -h

Thanks
Darren




More information about the Openstack mailing list