1 heat_template_version: 2016-04-08
4 OpenStack Sahara 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.
22 description: The password for the sahara service account, used by sahara-api.
27 description: The number of workers for the sahara-api.
32 description: Keystone region for endpoint
33 MonitoringSubscriptionSaharaApi:
34 default: 'overcloud-sahara-api'
36 SaharaApiLoggingSource:
39 tag: openstack.sahara.api
40 path: /var/log/sahara/sahara-api.log
44 type: ./sahara-base.yaml
46 ServiceNetMap: {get_param: ServiceNetMap}
47 DefaultPasswords: {get_param: DefaultPasswords}
48 EndpointMap: {get_param: EndpointMap}
52 description: Role data for the Sahara API role.
54 service_name: sahara_api
55 monitoring_subscription: {get_param: MonitoringSubscriptionSaharaApi}
56 logging_source: {get_param: SaharaApiLoggingSource}
61 - get_attr: [SaharaBase, role_data, config_settings]
62 - sahara::port: {get_param: [EndpointMap, SaharaInternal, port]}
63 sahara::service::api::api_workers: {get_param: SaharaWorkers}
64 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
65 # for the given network; replacement examples (eg. for internal_api):
67 # internal_api_uri -> [IP]
68 # internal_api_subnet - > IP/CIDR
69 sahara::host: {get_param: [ServiceNetMap, SaharaApiNetwork]}
70 tripleo.sahara_api.firewall_rules:
76 include ::tripleo::profile::base::sahara::api
77 service_config_settings:
79 sahara::keystone::auth::tenant: 'service'
80 sahara::keystone::auth::public_url: {get_param: [EndpointMap, SaharaPublic, uri]}
81 sahara::keystone::auth::internal_url: {get_param: [EndpointMap, SaharaInternal, uri]}
82 sahara::keystone::auth::admin_url: {get_param: [EndpointMap, SaharaAdmin, uri]}
83 sahara::keystone::auth::password: {get_param: SaharaPassword }
84 sahara::keystone::auth::region: {get_param: KeystoneRegion}
86 sahara::db::mysql::password: {get_param: SaharaPassword}
87 sahara::db::mysql::user: sahara
88 sahara::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
89 sahara::db::mysql::dbname: sahara
90 sahara::db::mysql::allowed_hosts:
92 - "%{hiera('mysql_bind_host')}"