aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/hieradata/ceph.yaml
diff options
context:
space:
mode:
authorYanis Guenane <yanis.guenane@enovance.com>2015-03-11 05:14:35 -0400
committerGiulio Fidente <gfidente@redhat.com>2015-03-18 12:42:51 -0400
commitabcfd88ee31bbf0ff232500ea312f3077ea60435 (patch)
tree1c12bb30d9f08a6d6bfc1e50b74160136fe8f942 /puppet/hieradata/ceph.yaml
parent5e7928431e0ba0afd91ef924d43ca5fb28b345fa (diff)
Add support for Ceph as a Cinder and Nova backend
This commit aims to add support for Ceph as a cinder and a nova backend. * Allows creation of Ceph pools from heat (Default: volumes, vms) * Creates the proper ceph user and inject the keys * Applies the proper configuration in cinder.conf and nova.conf * Enable the backend out of the box Co-Authored-By: Giulio Fidente <gfidente@redhat.com> Change-Id: Ic17d7a665de81a8bab5e34035abe90eda4bc889f
Diffstat (limited to 'puppet/hieradata/ceph.yaml')
-rw-r--r--puppet/hieradata/ceph.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/hieradata/ceph.yaml b/puppet/hieradata/ceph.yaml
index 995de2cf..a908b43b 100644
--- a/puppet/hieradata/ceph.yaml
+++ b/puppet/hieradata/ceph.yaml
@@ -5,3 +5,9 @@ ceph::profile::params::osd_pool_default_size: 3
ceph::profile::params::osd_pool_default_min_size: 1
ceph::profile::params::manage_repo: false
ceph::profile::params::authentication_type: cephx
+
+ceph_openstack_default_cap_mon: 'allow r'
+ceph_openstack_default_cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms'
+ceph_pools:
+ - volumes
+ - vms