1 heat_template_version: 2015-04-30
2 description: 'Ceph Cluster config data for Puppet'
8 description: Number of Ceph storage nodes. Used to enable/disable managed Ceph installation.
12 description: List of external Ceph Mon host IPs.
16 description: Ceph key used to create the 'openstack' user keyring.
27 type: comma_delimited_list
29 type: comma_delimited_list
41 CephClusterConfigImpl:
42 type: OS::Heat::StructuredConfig
44 group: os-apply-config
50 ceph_storage_count: {get_param: ceph_storage_count}
51 ceph_mon_initial_members:
54 - {get_param: ceph_mon_names}
55 ceph::profile::params::mon_host:
58 - {get_param: ceph_mon_ips}
59 ceph::profile::params::fsid: {get_param: ceph_fsid}
60 ceph::profile::params::mon_key: {get_param: ceph_mon_key}
61 # We should use a separated key for the non-admin clients
62 ceph::profile::params::client_keys:
72 client.bootstrap-osd: {
74 keyring_path: '/var/lib/ceph/bootstrap-osd/ceph.keyring',
75 cap_mon: 'allow profile bootstrap-osd'
81 cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=CINDER_POOL, allow rwx pool=NOVA_POOL, allow rwx pool=GLANCE_POOL'
85 ADMIN_KEY: {get_param: ceph_admin_key}
86 NOVA_POOL: {get_param: NovaRbdPoolName}
87 CINDER_POOL: {get_param: CinderRbdPoolName}
88 GLANCE_POOL: {get_param: GlanceRbdPoolName}
89 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
90 cinder_rbd_pool_name: {get_param: CinderRbdPoolName}
91 glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
93 - {get_param: CinderRbdPoolName}
94 - {get_param: NovaRbdPoolName}
95 - {get_param: GlanceRbdPoolName}
99 description: The ID of the CephClusterConfigImpl resource.
101 {get_resource: CephClusterConfigImpl}