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'
39 description: Role data for the Glance Registry role.
41 service_name: glance_registry
42 monitoring_subscription: {get_param: MonitoringSubscriptionGlanceRegistry}
44 glance::registry::database_connection:
47 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
49 - {get_param: GlancePassword}
51 - {get_param: [EndpointMap, MysqlInternal, host]}
53 glance::registry::authtoken::password: {get_param: GlancePassword}
54 glance::registry::authtoken::project_name: 'service'
55 glance::registry::pipeline: 'keystone'
56 glance::registry::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
57 glance::registry::authtoken::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
58 glance::registry::debug: {get_param: Debug}
59 glance::registry::workers: {get_param: GlanceWorkers}
60 glance::db::mysql::user: glance
61 glance::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
62 glance::db::mysql::dbname: glance
63 glance::db::mysql::allowed_hosts:
65 - "%{hiera('mysql_bind_host')}"
66 glance::registry::db::database_db_max_retries: -1
67 glance::registry::db::database_max_retries: -1
68 tripleo.glance_registry.firewall_rules:
69 '112 glance_registry':
72 # NOTE: bind IP is found in Heat replacing the network name with the
73 # local node IP for the given network; replacement examples
74 # (eg. for internal_api):
76 # internal_api_uri -> [IP]
77 # internal_api_subnet - > IP/CIDR
78 glance::registry::bind_host: {get_param: [ServiceNetMap, GlanceRegistryNetwork]}
80 include ::tripleo::profile::base::glance::registry