tripleo-heat-templates/releasenotes/notes/unset-ceph-default-min-size-0297620ed99dab5b.yaml
Keith Schincke cdfe035663 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
2017-05-22 14:38:52 -04:00

13 lines
707 B
YAML

---
fixes:
- |
Removed the hard coding of osd_pool_default_min_size. Setting this value
to 1 can result in data loss in operating production deployments. Not
setting this value (or setting it to 0) will allow ceph to calculate the
value based on the current setting of osd_pool_default_size. If the
replication count is 3, then the calculated min_size is 2. If the
replication count is 1, then the calcualted min_size is 1. For a POC
deployments using a single OSD, set osd_pool_default_size = 1. See
description at http://docs.ceph.com/docs/master/rados/configuration/pool-pg-config-ref/
Added CephPoolDefaultSize to set default replication size. Default value is 3.