cinder & glance use the same ceph cluster backend but separate pool for glance and cinder as you can see from the config file below. CephX is enabled with the same key for both pools. For the openstack general setup,
(1) All services running on this controller node with two extra nova nodes total.
(2) All normal cinder/glance/nova functions regarding rbd work as expected, including live-migration, cinder boot volume creation from glance image linked-clone, snapshot of the cinder volume, nova booting from cinder volume and volume snapshot, cinder volume creation from another cinder volume snapshot, glance image creation to the backend rbd pool from a flat file, etc.
ii ceph-common 0.61.4-1precise common utilities to mount and interact with a ceph storage cluster
ii cinder-api 1:2013.1-0ubuntu1~cloud0 Cinder storage service - API server
ii cinder-common 1:2013.1-0ubuntu1~cloud0 Cinder storage service - common files
ii cinder-scheduler 1:2013.1-0ubuntu1~cloud0 Cinder storage service - Scheduler server
ii cinder-volume 1:2013.1-0ubuntu1~cloud0 Cinder storage service - Volume server
ii glance 1:2013.1-0ubuntu1~cloud0 OpenStack Image Registry and Delivery Service - Daemons
ii glance-api 1:2013.1-0ubuntu1~cloud0 OpenStack Image Registry and Delivery Service - API
ii glance-common 1:2013.1-0ubuntu1~cloud0 OpenStack Image Registry and Delivery Service - Common
ii glance-registry 1:2013.1-0ubuntu1~cloud0 OpenStack Image Registry and Delivery Service - Registry
rc libcephfs1 0.56.4-1precise Ceph distributed file system client library
ii python-ceph 0.61.4-1precise Python libraries for the Ceph distributed filesystem
ii python-cinder 1:2013.1-0ubuntu1~cloud0 Cinder Python libraries
ii python-cinderclient 1:1.0.3-0ubuntu1~cloud0 python bindings to the OpenStack Volume API
ii python-glance 1:2013.1-0ubuntu1~cloud0 OpenStack Image Registry and Delivery Service - Python library
ii python-glanceclient 1:0.9.0-0ubuntu1~cloud0 Client library for Openstack glance server.
Sure, here is our setup,
cinder & glance use the same ceph cluster backend but separate pool for glance and cinder as you can see from the config file below. CephX is enabled with the same key for both pools. For the openstack general setup,
(1) All services running on this controller node with two extra nova nodes total.
(2) All normal cinder/glance/nova functions regarding rbd work as expected, including live-migration, cinder boot volume creation from glance image linked-clone, snapshot of the cinder volume, nova booting from cinder volume and volume snapshot, cinder volume creation from another cinder volume snapshot, glance image creation to the backend rbd pool from a flat file, etc.
Here are the config files.
> cinder.conf rootwrap. conf api-paste. ini /cinderUser: cinderPass@ 10.33.156. 153/cinder name_template = volume-%s volume_ listen_ port=5900 cinder/ volumes driver= cinder. volume. drivers. rbd.RBDDriver svl-ceph- openstack- volumes svl-ceph- openstack- volumes uuid=e7724cad- 23f6-d4ce- 8c68-5f40491b15 dd api_version= 2
[DEFAULT]
rootwrap_config = /etc/cinder/
api_paste_confg = /etc/cinder/
sql_connection = mysql:/
#iscsi_helper = tgtadm
iscsi_helper = ietadm
volume_
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
#osapi_
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/
volume_
rbd_pool=
rbd_user=
rbd_secret_
glance_
> glance.conf user=svl- ceph-openstack- images pool=svl- ceph-openstack- images chunk_size = 8 direct_ url=True
.....
default_store = rbd
.....
rbd_store_ceph_conf = /etc/ceph/ceph.conf
rbd_store_
rbd_store_
rbd_store_
show_image_
> dpkg output for the cinder/controller host,
oot@svl- ceph-10: /etc/glance# cat /etc/motd
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-27-generic x86_64)
ii ceph-common 0.61.4-1precise common utilities to mount and interact with a ceph storage cluster 1-0ubuntu1~ cloud0 Cinder storage service - API server 1-0ubuntu1~ cloud0 Cinder storage service - common files 1-0ubuntu1~ cloud0 Cinder storage service - Scheduler server 1-0ubuntu1~ cloud0 Cinder storage service - Volume server 1-0ubuntu1~ cloud0 OpenStack Image Registry and Delivery Service - Daemons 1-0ubuntu1~ cloud0 OpenStack Image Registry and Delivery Service - API 1-0ubuntu1~ cloud0 OpenStack Image Registry and Delivery Service - Common 1-0ubuntu1~ cloud0 OpenStack Image Registry and Delivery Service - Registry 1-0ubuntu1~ cloud0 Cinder Python libraries 0ubuntu1~ cloud0 python bindings to the OpenStack Volume API 1-0ubuntu1~ cloud0 OpenStack Image Registry and Delivery Service - Python library 0ubuntu1~ cloud0 Client library for Openstack glance server.
ii cinder-api 1:2013.
ii cinder-common 1:2013.
ii cinder-scheduler 1:2013.
ii cinder-volume 1:2013.
ii glance 1:2013.
ii glance-api 1:2013.
ii glance-common 1:2013.
ii glance-registry 1:2013.
rc libcephfs1 0.56.4-1precise Ceph distributed file system client library
ii python-ceph 0.61.4-1precise Python libraries for the Ceph distributed filesystem
ii python-cinder 1:2013.
ii python-cinderclient 1:1.0.3-
ii python-glance 1:2013.
ii python-glanceclient 1:0.9.0-
Regards,
Weiguo