[Openstack] volume from image with ceph, pool setting ?

Benedikt Trefzer benedikt.trefzer at cirrax.com
Fri Mar 7 15:19:15 UTC 2014


Hi all

I try to create a volume (cinder) from a image (glance).
Cinder and Glance are using ceph to store their data.

In the Debug output of cinder, I can see:

INFO cinder.volume.flows.create_volume [req- ....] Volume XXX: being
created using CreateVolumeFromSpecTask._create_from_image with
specification: {'status': u'creating', 'image_location':
(u'rbd://CLUSTERID/glance/IMAGEID/snap', None), .......

[...]

ObjectNotFound: error opening ioctx 'glance'


So cinder tries to clone the image from rbd://CLUSTERID/glance/IMAGEID/snap.
Cinder thinks, the pool is named 'glance' which is wrong (correct name
should be 'images').

Question:
Does anybody know from where cinder thinks to know that the pool name is
glance ? Is there a configuration ?

Installation is Openstack havana on Debian wheezy, 2013.2.2-2~bpo70+1.

If more info is needed, let me know.....

Thanks.

Benedikt




More information about the Openstack mailing list