1 heat_template_version: 2016-04-08
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.
31 description: Number of workers for Glance service.
33 MonitoringSubscriptionGlanceRegistry:
34 default: 'overcloud-glance-registry'
36 GlanceRegistryLoggingSource:
39 tag: openstack.glance.registry
40 path: /var/log/glance/registry.log
44 description: Role data for the Glance Registry role.
46 service_name: glance_registry
47 monitoring_subscription: {get_param: MonitoringSubscriptionGlanceRegistry}
48 logging_source: {get_param: GlanceRegistryLoggingSource}
52 glance::registry::database_connection:
55 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
57 - {get_param: GlancePassword}
59 - {get_param: [EndpointMap, MysqlInternal, host]}
61 glance::registry::authtoken::password: {get_param: GlancePassword}
62 glance::registry::authtoken::project_name: 'service'
63 glance::registry::pipeline: 'keystone'
64 glance::registry::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
65 glance::registry::authtoken::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
66 glance::registry::debug: {get_param: Debug}
67 glance::registry::workers: {get_param: GlanceWorkers}
68 glance::db::mysql::user: glance
69 glance::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
70 glance::db::mysql::dbname: glance
71 glance::db::mysql::allowed_hosts:
73 - "%{hiera('mysql_bind_host')}"
74 glance::registry::db::database_db_max_retries: -1
75 glance::registry::db::database_max_retries: -1
76 tripleo.glance_registry.firewall_rules:
77 '112 glance_registry':
80 # NOTE: bind IP is found in Heat replacing the network name with the
81 # local node IP for the given network; replacement examples
82 # (eg. for internal_api):
84 # internal_api_uri -> [IP]
85 # internal_api_subnet - > IP/CIDR
86 glance::registry::bind_host: {get_param: [ServiceNetMap, GlanceRegistryNetwork]}
88 include ::tripleo::profile::base::glance::registry