summaryrefslogtreecommitdiffstats
path: root/puppet/ceph-cluster-config.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-11-10 23:22:03 +0000
committerGerrit Code Review <review@openstack.org>2015-11-10 23:22:03 +0000
commitb044733893f97eae6ca8f081ee58c28bc9fa1f5a (patch)
tree8cf104d95cedd60ad3be23d0f616eb477f58fc31 /puppet/ceph-cluster-config.yaml
parent266d123286e91bb733102ae20f607caeead520f2 (diff)
parente19ae9dfe03e2868562ef090c455aa9e8c394d9e (diff)
Merge "Allow customization of the Ceph pool names"
Diffstat (limited to 'puppet/ceph-cluster-config.yaml')
-rw-r--r--puppet/ceph-cluster-config.yaml21
1 files changed, 20 insertions, 1 deletions
diff --git a/puppet/ceph-cluster-config.yaml b/puppet/ceph-cluster-config.yaml
index 99265493..5e54a621 100644
--- a/puppet/ceph-cluster-config.yaml
+++ b/puppet/ceph-cluster-config.yaml
@@ -27,6 +27,15 @@ parameters:
type: comma_delimited_list
ceph_mon_ips:
type: comma_delimited_list
+ NovaRbdPoolName:
+ default: vms
+ type: string
+ CinderRbdPoolName:
+ default: volumes
+ type: string
+ GlanceRbdPoolName:
+ default: images
+ type: string
resources:
CephClusterConfigImpl:
@@ -69,11 +78,21 @@ resources:
secret: 'ADMIN_KEY',
mode: '0644',
cap_mon: 'allow r',
- cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rwx pool=images'
+ cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=CINDER_POOL, allow rwx pool=NOVA_POOL, allow rwx pool=GLANCE_POOL'
}
}"
params:
ADMIN_KEY: {get_param: ceph_admin_key}
+ NOVA_POOL: {get_param: NovaRbdPoolName}
+ CINDER_POOL: {get_param: CinderRbdPoolName}
+ GLANCE_POOL: {get_param: GlanceRbdPoolName}
+ nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
+ cinder_rbd_pool_name: {get_param: CinderRbdPoolName}
+ glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
+ ceph_pools:
+ - {get_param: CinderRbdPoolName}
+ - {get_param: NovaRbdPoolName}
+ - {get_param: GlanceRbdPoolName}
outputs:
config_id: