1 heat_template_version: ocata
4 OpenStack Glance Registry service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 description: Set to True to enable debugging on all services.
26 description: The password for the glance service and db account, used by the glance services.
32 Number of worker processes for glance registry. If left unset (empty
33 string), the default value will result in the configuration being left
34 unset and a system-dependent default value will be chosen (e.g.: number of
35 processors). Please note that this will create a large number of processes
36 on systems with a large number of CPUs resulting in excess memory
37 consumption. It is recommended that a suitable non-default value be
38 selected on such systems.
40 MonitoringSubscriptionGlanceRegistry:
41 default: 'overcloud-glance-registry'
43 GlanceRegistryLoggingSource:
46 tag: openstack.glance.registry
47 path: /var/log/glance/registry.log
51 type: ./glance-base.yaml
53 ServiceNetMap: {get_param: ServiceNetMap}
54 DefaultPasswords: {get_param: DefaultPasswords}
55 EndpointMap: {get_param: EndpointMap}
59 description: Role data for the Glance Registry role.
61 service_name: glance_registry
62 monitoring_subscription: {get_param: MonitoringSubscriptionGlanceRegistry}
63 logging_source: {get_param: GlanceRegistryLoggingSource}
68 - get_attr: [GlanceBase, role_data, config_settings]
70 - glance::registry::database_connection:
73 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
75 - {get_param: GlancePassword}
77 - {get_param: [EndpointMap, MysqlInternal, host]}
80 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
81 glance::registry::authtoken::password: {get_param: GlancePassword}
82 glance::registry::authtoken::project_name: 'service'
83 glance::registry::pipeline: 'keystone'
84 glance::registry::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
85 glance::registry::authtoken::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
86 glance::registry::debug: {get_param: Debug}
87 glance::registry::workers: {get_param: GlanceWorkers}
88 tripleo.glance_registry.firewall_rules:
89 '112 glance_registry':
92 # NOTE: bind IP is found in Heat replacing the network name with the
93 # local node IP for the given network; replacement examples
94 # (eg. for internal_api):
96 # internal_api_uri -> [IP]
97 # internal_api_subnet - > IP/CIDR
98 glance::registry::bind_host: {get_param: [ServiceNetMap, GlanceRegistryNetwork]}
100 include ::tripleo::profile::base::glance::registry
101 service_config_settings:
102 get_attr: [GlanceBase, role_data, config_settings]