1 heat_template_version: 2016-04-08
4 Ceph base service. Shared by all Ceph services.
7 # NOTE(gfidente): needs a default to cope with external Ceph deployments were we don't pass (and need) an Admin key
10 description: The Ceph admin client key. Can be created with ceph-authtool --gen-print-key.
14 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.
22 description: The Ceph cluster FSID. Must be a UUID.
29 CinderBackupRbdPoolName:
43 description: Mapping of service_name -> network name. Typically set
44 via parameter_defaults in the resource registry. This
45 mapping overrides those in ServiceNetMapDefaults.
52 description: Mapping of service endpoint -> protocol. Typically set
53 via parameter_defaults in the resource registry.
55 # DEPRECATED options for compatibility with overcloud.yaml
56 # This should be removed and manipulation of the ControllerServices list
57 # used instead, but we need client support for that first
58 ControllerEnableCephStorage:
60 description: Whether to deploy Ceph Storage (OSD) on the Controller
65 description: Do not use deprecated params, they will be removed.
67 - ControllerEnableCephStorage
71 description: Role data for the Ceph base service.
73 service_name: ceph_base
75 tripleo::profile::base::ceph::ceph_ipv6: {get_param: CephIPv6}
76 tripleo::profile::base::ceph::enable_ceph_storage: {get_param: ControllerEnableCephStorage}
77 ceph::profile::params::osd_pool_default_min_size: 1
78 ceph::profile::params::osds: {/srv/data: {}}
79 ceph::profile::params::manage_repo: false
80 ceph::profile::params::authentication_type: cephx
81 ceph::profile::params::fsid: {get_param: CephClusterFSID}
82 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
83 # for the given network; replacement examples (eg. for internal_api):
85 # internal_api_uri -> [IP]
86 # internal_api_subnet - > IP/CIDR
87 ceph::profile::params::cluster_network:
89 template: "NETWORK_subnet"
91 NETWORK: {get_param: [ServiceNetMap, CephClusterNetwork]}
92 ceph::profile::params::public_network:
94 template: "NETWORK_subnet"
96 NETWORK: {get_param: [ServiceNetMap, CephPublicNetwork]}
97 ceph::profile::params::public_addr: {get_param: [ServiceNetMap, CephPublicNetwork]}
98 ceph::profile::params::client_keys:
108 client.bootstrap-osd: {
110 keyring_path: '/var/lib/ceph/bootstrap-osd/ceph.keyring',
111 cap_mon: 'allow profile bootstrap-osd'
113 client.CLIENT_USER: {
114 secret: 'CLIENT_KEY',
117 cap_osd: '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'
121 CLIENT_USER: {get_param: CephClientUserName}
122 CLIENT_KEY: {get_param: CephClientKey}
123 ADMIN_KEY: {get_param: CephAdminKey}
124 NOVA_POOL: {get_param: NovaRbdPoolName}
125 CINDER_POOL: {get_param: CinderRbdPoolName}
126 CINDERBACKUP_POOL: {get_param: CinderBackupRbdPoolName}
127 GLANCE_POOL: {get_param: GlanceRbdPoolName}
128 GNOCCHI_POOL: {get_param: GnocchiRbdPoolName}