1 heat_template_version: 2016-04-08
4 OpenStack Glance API 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.
26 description: Set to True to enable debugging on all services.
28 GlanceNotifierStrategy:
29 description: Strategy to use for Glance notification queue
33 description: The filepath of the file to use for logging messages from Glance.
37 description: The password for the glance service and db account, used by the glance services.
42 description: The short name of the Glance backend to use. Should be one
43 of swift, rbd, or file
46 - allowed_values: ['swift', 'file', 'rbd']
49 description: Number of workers for Glance service.
55 description: The password for RabbitMQ
60 description: The username for RabbitMQ
64 description: Set rabbit subscriber port, change this if using SSL
69 Rabbit client subscriber parameter to specify
70 an SSL connection to the RabbitMQ host.
75 description: Keystone region for endpoint
79 description: Role data for the Glance API role.
81 service_name: glance_api
83 glance::api::database_connection:
86 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
88 - {get_param: GlancePassword}
90 - {get_param: [EndpointMap, MysqlInternal, host]}
92 glance::api::bind_port: {get_param: [EndpointMap, GlanceInternal, port]}
93 glance::api::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
94 glance::api::identity_uri: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
95 glance::api::registry_host:
97 template: "'REGISTRY_HOST'"
99 REGISTRY_HOST: {get_param: [EndpointMap, GlanceRegistryInternal, host]}
100 glance::api::keystone_password: {get_param: GlancePassword}
101 glance::api::enable_proxy_headers_parsing: true
102 glance::api::debug: {get_param: Debug}
103 glance::api::workers: {get_param: GlanceWorkers}
104 glance_notifier_strategy: {get_param: GlanceNotifierStrategy}
105 glance_log_file: {get_param: GlanceLogFile}
106 glance::backend::swift::swift_store_auth_address: {get_param: [EndpointMap, KeystoneInternal, uri] }
107 glance::backend::swift::swift_store_user: service:glance
108 glance::backend::swift::swift_store_key: {get_param: GlancePassword}
109 glance::backend::swift::swift_store_create_container_on_put: true
110 glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
111 glance::backend::rbd::rbd_store_user: {get_param: CephClientUserName}
112 glance_backend: {get_param: GlanceBackend}
113 glance::db::mysql::password: {get_param: GlancePassword}
114 glance::notify::rabbitmq::rabbit_userid: {get_param: RabbitUserName}
115 glance::notify::rabbitmq::rabbit_port: {get_param: RabbitClientPort}
116 glance::notify::rabbitmq::rabbit_password: {get_param: RabbitPassword}
117 glance::notify::rabbitmq::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
118 glance::keystone::auth::public_url: {get_param: [EndpointMap, GlancePublic, uri]}
119 glance::keystone::auth::internal_url: {get_param: [EndpointMap, GlanceInternal, uri]}
120 glance::keystone::auth::admin_url: {get_param: [EndpointMap, GlanceAdmin, uri]}
121 glance::keystone::auth::password: {get_param: GlancePassword }
122 glance::keystone::auth::region: {get_param: KeystoneRegion}
123 glance::registry::db::database_db_max_retries: -1
124 glance::registry::db::database_max_retries: -1
125 tripleo.glance_api.firewall_rules:
130 glance::keystone::auth::tenant: 'service'
131 glance::api::keystone_tenant: 'service'
132 glance::api::pipeline: 'keystone'
133 glance::api::show_image_direct_url: true
134 # NOTE: bind IP is found in Heat replacing the network name with the
135 # local node IP for the given network; replacement examples
136 # (eg. for internal_api):
138 # internal_api_uri -> [IP]
139 # internal_api_subnet - > IP/CIDR
140 glance::api::bind_host: {get_param: [ServiceNetMap, GlanceApiNetwork]}
142 include ::tripleo::profile::base::glance::api