1 heat_template_version: 2015-04-30
2 description: 'Configure parameters for an external Ceph cluster via 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.
20 # The following parameters are unused for external Ceph clusters and
21 # are here and exist for compatibility
29 type: comma_delimited_list
31 type: comma_delimited_list
49 CephClusterConfigImpl:
50 type: OS::Heat::StructuredConfig
52 group: os-apply-config
58 ceph_storage_count: {get_param: ceph_storage_count}
59 enable_external_ceph: true
60 ceph_ipv6: {get_param: CephIPv6}
61 ceph_mon_host: {get_param: ceph_external_mon_ips}
62 ceph_mon_host_v6: {get_param: ceph_external_mon_ips}
63 ceph::profile::params::fsid: {get_param: ceph_fsid}
64 ceph::profile::params::client_keys:
71 cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=CINDER_POOL, allow rwx pool=NOVA_POOL, allow rwx pool=GLANCE_POOL'
75 CLIENT_USER: {get_param: CephClientUserName}
76 CLIENT_KEY: {get_param: ceph_client_key}
77 NOVA_POOL: {get_param: NovaRbdPoolName}
78 CINDER_POOL: {get_param: CinderRbdPoolName}
79 GLANCE_POOL: {get_param: GlanceRbdPoolName}
80 ceph::profile::params::ms_bind_ipv6: {get_param: CephIPv6}
81 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
82 cinder_rbd_pool_name: {get_param: CinderRbdPoolName}
83 glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
84 nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
85 glance::backend::rbd::rbd_store_user: {get_param: CephClientUserName}
86 nova::compute::rbd::rbd_keyring:
90 - {get_param: CephClientUserName}
91 ceph_client_user_name: {get_param: CephClientUserName}
93 - {get_param: CinderRbdPoolName}
94 - {get_param: NovaRbdPoolName}
95 - {get_param: GlanceRbdPoolName}
99 description: The ID of the CephClusterConfigImpl resource.
101 {get_resource: CephClusterConfigImpl}