From abcfd88ee31bbf0ff232500ea312f3077ea60435 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Wed, 11 Mar 2015 05:14:35 -0400 Subject: 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 Change-Id: Ic17d7a665de81a8bab5e34035abe90eda4bc889f --- puppet/hieradata/ceph.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'puppet/hieradata/ceph.yaml') 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 -- cgit 1.2.3-korg