aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/ceph-mon.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-05-23 15:58:48 +0000
committerGerrit Code Review <review@openstack.org>2017-05-23 15:58:48 +0000
commitaeb11f384fe8e221c9bd62b8b86ecb1da4003777 (patch)
treee0d9c070ee4e072542a2c5b0a49960c4641ba1fa /puppet/services/ceph-mon.yaml
parentecc231438850a057e3dca8bc9673c9e22d54213d (diff)
parentcdfe03566354b938e94c6863b0d4b1c3e64cc10c (diff)
Merge "Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default"
Diffstat (limited to 'puppet/services/ceph-mon.yaml')
-rw-r--r--puppet/services/ceph-mon.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/services/ceph-mon.yaml b/puppet/services/ceph-mon.yaml
index c36f0537..28552301 100644
--- a/puppet/services/ceph-mon.yaml
+++ b/puppet/services/ceph-mon.yaml
@@ -78,6 +78,10 @@ parameters:
MonitoringSubscriptionCephMon:
default: 'overcloud-ceph-mon'
type: string
+ CephPoolDefaultSize:
+ description: default minimum replication for RBD copies
+ type: number
+ default: 3
resources:
CephBase:
@@ -102,7 +106,7 @@ outputs:
ceph::profile::params::mon_key: {get_param: CephMonKey}
ceph::profile::params::osd_pool_default_pg_num: 32
ceph::profile::params::osd_pool_default_pgp_num: 32
- ceph::profile::params::osd_pool_default_size: 3
+ ceph::profile::params::osd_pool_default_size: {get_param: CephPoolDefaultSize}
# repeat returns items in a list, so we need to map_merge twice
tripleo::profile::base::ceph::mon::ceph_pools:
map_merge: