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