From cdfe03566354b938e94c6863b0d4b1c3e64cc10c Mon Sep 17 00:00:00 2001 From: Keith Schincke Date: Fri, 12 May 2017 08:12:56 -0400 Subject: Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default The default value is 0 which has the minimum number be caluclated based on the replica count from osd_pool_defaut_size. The default replica count is 3 and the calculated min_size is 2. If the replica count is 1 then the min_size is 1. ie: min_size = replica - (replica/2) Add CephPoolDefaultSize parameter to ceph-mon.yaml. This parameter defaults to 3 but can be overriden. See puppet-ceph-devel.yaml for an example Change-Id: Ie9bdd9b16bcb9f11107ece614b010e87d3ae98a9 --- environments/puppet-ceph-devel.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'environments/puppet-ceph-devel.yaml') diff --git a/environments/puppet-ceph-devel.yaml b/environments/puppet-ceph-devel.yaml index 9c8abbb4..8fc4bf29 100644 --- a/environments/puppet-ceph-devel.yaml +++ b/environments/puppet-ceph-devel.yaml @@ -20,3 +20,5 @@ parameter_defaults: GlanceBackend: rbd GnocchiBackend: rbd CinderEnableIscsiBackend: false + CephPoolDefaultSite: 1 + -- cgit 1.2.3-korg