
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
25 lines
1001 B
YAML
25 lines
1001 B
YAML
# A Heat environment file which can be used to enable a Ceph
|
|
# storage cluster using the controller and ceph nodes.
|
|
# Rbd backends are enabled for Cinder, Glance, Gnocchi and Nova.
|
|
resource_registry:
|
|
OS::TripleO::Services::CephMon: ../puppet/services/ceph-mon.yaml
|
|
OS::TripleO::Services::CephOSD: ../puppet/services/ceph-osd.yaml
|
|
OS::TripleO::Services::CephClient: ../puppet/services/ceph-client.yaml
|
|
|
|
parameter_defaults:
|
|
#NOTE: These ID's and keys should be regenerated for
|
|
# a production deployment. What is here is suitable for
|
|
# developer and CI testing only.
|
|
CephClusterFSID: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
|
CephMonKey: 'AQC+Ox1VmEr3BxAALZejqeHj50Nj6wJDvs96OQ=='
|
|
CephAdminKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
|
|
CephClientKey: 'AQC+vYNXgDAgAhAAc8UoYt+OTz5uhV7ItLdwUw=='
|
|
NovaEnableRbdBackend: true
|
|
CinderEnableRbdBackend: true
|
|
CinderBackupBackend: ceph
|
|
GlanceBackend: rbd
|
|
GnocchiBackend: rbd
|
|
CinderEnableIscsiBackend: false
|
|
CephPoolDefaultSite: 1
|
|
|