1 heat_template_version: ocata
8 description: The Ceph client key. Can be created with ceph-authtool --gen-print-key. Currently only used for external Ceph deployments to create the openstack user keyring.
16 description: The Ceph cluster FSID. Must be a UUID.
20 description: List of externally managed Ceph Mon Host IPs. Only used for external Ceph deployments.
24 CinderBackupRbdPoolName:
32 description: The short name of the Glance backend to use. Should be one
33 of swift, rbd, or file
36 - allowed_values: ['swift', 'file', 'rbd']
42 description: Whether to enable or not the Rbd backend for Nova
49 description: Mapping of service_name -> network name. Typically set
50 via parameter_defaults in the resource registry. This
51 mapping overrides those in ServiceNetMapDefaults.
58 description: Mapping of service endpoint -> protocol. Typically set
59 via parameter_defaults in the resource registry.
61 MonitoringSubscriptionCephExternal:
62 default: 'overcloud-ceph-external'
66 description: The default features enabled when creating a block device
67 image. Only applies to format 2 images. Set to '1' for Jewel
68 clients using older Ceph servers.
72 glance_multiple_locations:
75 - get_param: GlanceBackend
78 - get_param: NovaEnableRbdBackend
83 description: Role data for the Ceph External service.
85 service_name: ceph_external
86 monitoring_subscription: {get_param: MonitoringSubscriptionCephExternal}
88 tripleo::profile::base::ceph::ceph_mon_host: {get_param: CephExternalMonHost}
89 ceph::profile::params::fsid: {get_param: CephClusterFSID}
90 ceph::profile::params::rbd_default_features: {get_param: RbdDefaultFeatures}
91 ceph::profile::params::client_keys:
94 secret: {get_param: CephClientKey}
99 template: 'allow class-read object_prefix rbd_children, allow rwx pool=CINDER_POOL, allow rwx pool=CINDERBACKUP_POOL, allow rwx pool=NOVA_POOL, allow rwx pool=GLANCE_POOL, allow rwx pool=GNOCCHI_POOL'
101 NOVA_POOL: {get_param: NovaRbdPoolName}
102 CINDER_POOL: {get_param: CinderRbdPoolName}
103 CINDERBACKUP_POOL: {get_param: CinderBackupRbdPoolName}
104 GLANCE_POOL: {get_param: GlanceRbdPoolName}
105 GNOCCHI_POOL: {get_param: GnocchiRbdPoolName}
108 list_join: ['.', ['client', {get_param: CephClientUserName}]]
109 ceph::profile::params::manage_repo: false
110 # FIXME(gfidente): we should not have to list the packages explicitly in
111 # the templates, but this should stay until the following is fixed:
112 # https://bugs.launchpad.net/puppet-ceph/+bug/1629933
113 ceph::params::packages:
117 service_config_settings:
119 glance::api::show_multiple_locations: {if: [glance_multiple_locations, true, false]}
121 include ::tripleo::profile::base::ceph::client