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.
15 description: Mapping of service endpoint -> protocol. Typically set
16 via parameter_defaults in the resource registry.
23 description: Set to True to enable debugging on all services.
25 GlanceNotifierStrategy:
26 description: Strategy to use for Glance notification queue
30 description: The filepath of the file to use for logging messages from Glance.
34 description: The password for the glance service and db account, used by the glance services.
39 description: The short name of the Glance backend to use. Should be one
40 of swift, rbd, or file
43 - allowed_values: ['swift', 'file', 'rbd']
46 description: Number of workers for Glance service.
52 description: The password for RabbitMQ
57 description: The username for RabbitMQ
61 description: Set rabbit subscriber port, change this if using SSL
66 Rabbit client subscriber parameter to specify
67 an SSL connection to the RabbitMQ host.
72 description: Keystone region for endpoint
76 description: Role data for the Glance API role.
78 service_name: glance_api
80 glance::api::database_connection:
83 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
85 - {get_param: GlancePassword}
87 - {get_param: [EndpointMap, MysqlInternal, host]}
89 glance::api::bind_port: {get_param: [EndpointMap, GlanceInternal, port]}
90 glance::api::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
91 glance::api::identity_uri: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
92 glance::api::registry_host:
94 template: "'REGISTRY_HOST'"
96 REGISTRY_HOST: {get_param: [EndpointMap, GlanceRegistryInternal, host]}
97 glance::api::keystone_password: {get_param: GlancePassword}
98 glance::api::enable_proxy_headers_parsing: true
99 glance::api::debug: {get_param: Debug}
100 glance::api::workers: {get_param: GlanceWorkers}
101 glance_notifier_strategy: {get_param: GlanceNotifierStrategy}
102 glance_log_file: {get_param: GlanceLogFile}
103 glance::backend::swift::swift_store_auth_address: {get_param: [EndpointMap, KeystoneInternal, uri] }
104 glance::backend::swift::swift_store_user: service:glance
105 glance::backend::swift::swift_store_key: {get_param: GlancePassword}
106 glance::backend::swift::swift_store_create_container_on_put: true
107 glance::backend::rbd::rbd_store_pool: {get_param: GlanceRbdPoolName}
108 glance::backend::rbd::rbd_store_user: {get_param: CephClientUserName}
109 glance_backend: {get_param: GlanceBackend}
110 glance::db::mysql::password: {get_param: GlancePassword}
111 glance::notify::rabbitmq::rabbit_userid: {get_param: RabbitUserName}
112 glance::notify::rabbitmq::rabbit_port: {get_param: RabbitClientPort}
113 glance::notify::rabbitmq::rabbit_password: {get_param: RabbitPassword}
114 glance::notify::rabbitmq::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
115 glance::keystone::auth::public_url: {get_param: [EndpointMap, GlancePublic, uri]}
116 glance::keystone::auth::internal_url: {get_param: [EndpointMap, GlanceInternal, uri]}
117 glance::keystone::auth::admin_url: {get_param: [EndpointMap, GlanceAdmin, uri]}
118 glance::keystone::auth::password: {get_param: GlancePassword }
119 glance::keystone::auth::region: {get_param: KeystoneRegion}
120 glance::registry::db::database_db_max_retries: -1
121 glance::registry::db::database_max_retries: -1
122 tripleo.glance_api.firewall_rules:
127 glance::keystone::auth::tenant: 'service'
128 glance::api::keystone_tenant: 'service'
129 glance::api::pipeline: 'keystone'
130 glance::api::show_image_direct_url: true
133 include ::tripleo::profile::base::glance::api