Documentation #10478
closed
Update Glance configuration docs for Juno
Added by Mario Codeniera over 9 years ago.
Updated over 9 years ago.
Description
Hi,
It seems there is a bug or maybe on the documentations mentioned on http://ceph.com/docs/master/rbd/rbd-openstack/#configure-openstack-to-use-ceph under Configuring Glance, as I am using a Juno version using CentOS 7. It mentioned to use "stores = rbd" but when I run it the openstack-glance-api would not start. I even tried using the prior to Juno style "default_store = rbd" but same issue.
It is only working when you use:
default_stores=rbd
or using the long name
default_stores=glance.store.rbd.Store
please note with 's' at the last.
Thanks.
I found this is not a bug exactly as it only have lacking line under the DEFAULT section that you should put rbd in the default_store. This is the final configuration that is working fine, and by default using ceph cluster to store the images. (note ... signify some lines)
[DEFAULT]
...
default_store=rbd
...
show_image_direct_url=True
...
[glance_store]
stores = rbd
rbd_store_pool = images
rbd_store_user = glance
rbd_store_ceph_conf = /etc/ceph/ceph.conf
rbd_store_chunk_size = 8
But if you go back to which you store the images locally.
[DEFAULT]
...
default_store=file
...
[glance_store]
#stores = rbd #This time uncomment; as per email problems occur
rbd_store_pool = images
..
- Tracker changed from Bug to Documentation
- Subject changed from Configure OpenStack to use Ceph under Glance to Update Glance configuration docs for Juno
- Status changed from New to Resolved
Thanks Sebastien!
commit:d29aef5eb99c2ee807855177ed9ecee7eef37532
Also available in: Atom
PDF