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

Josh Durgin josh.durgin at inktank.com
Fri Mar 7 19:35:54 UTC 2014


On 03/07/2014 07:19 AM, Benedikt Trefzer wrote:
> 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 ?

Glance tells Cinder where it's storing the image. That location comes
from Glance's db.

Does your glance-api.conf contain rbd_store_pool=images in the
[DEFAULT] section?

Josh

> 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