1 heat_template_version: ocata
4 OpenStack Nova Placement 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.
23 description: Number of workers for Nova Placement API service.
26 description: The password for the nova service and db account, used by nova-placement.
32 description: Keystone region for endpoint
33 MonitoringSubscriptionNovaPlacement:
34 default: 'overcloud-nova-placement'
36 NovaPlacementLoggingSource:
39 tag: openstack.nova.placement
40 path: /var/log/httpd/nova_placement_wsgi_error_ssl.log
46 nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}
52 ServiceNetMap: {get_param: ServiceNetMap}
53 DefaultPasswords: {get_param: DefaultPasswords}
54 EndpointMap: {get_param: EndpointMap}
55 EnableInternalTLS: {get_param: EnableInternalTLS}
58 type: ./nova-base.yaml
60 ServiceNetMap: {get_param: ServiceNetMap}
61 DefaultPasswords: {get_param: DefaultPasswords}
62 EndpointMap: {get_param: EndpointMap}
66 description: Role data for the Nova Placement API service.
68 service_name: nova_placement
69 monitoring_subscription: {get_param: MonitoringSubscriptionNovaPlacement}
70 logging_source: {get_param: NovaPlacementLoggingSource}
75 - get_attr: [NovaBase, role_data, config_settings]
76 - get_attr: [ApacheServiceBase, role_data, config_settings]
77 - tripleo.nova_placement.firewall_rules:
82 nova::placement::project_name: 'service'
83 nova::placement::password: {get_param: NovaPassword}
84 nova::placement::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
85 nova::placement::os_region_name: {get_param: KeystoneRegion}
86 nova::wsgi::apache_placement::api_port: '8778'
87 nova::wsgi::apache_placement::ssl: {get_param: EnableInternalTLS}
88 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
89 # for the given network; replacement examples (eg. for internal_api):
91 # internal_api_uri -> [IP]
92 # internal_api_subnet - > IP/CIDR
93 nova::wsgi::apache_placement::bind_host: {get_param: [ServiceNetMap, NovaApiNetwork]}
94 nova::wsgi::apache_placement::servername:
97 "%{hiera('fqdn_$NETWORK')}"
99 $NETWORK: {get_param: [ServiceNetMap, NovaApiNetwork]}
104 - nova::wsgi::apache_placement::workers: {get_param: NovaWorkers}
106 include tripleo::profile::base::nova::placement
107 service_config_settings:
109 nova::keystone::auth_placement::tenant: 'service'
110 nova::keystone::auth_placement::public_url: {get_param: [EndpointMap, NovaPlacementPublic, uri]}
111 nova::keystone::auth_placement::internal_url: {get_param: [EndpointMap, NovaPlacementInternal, uri]}
112 nova::keystone::auth_placement::admin_url: {get_param: [EndpointMap, NovaPlacementAdmin, uri]}
113 nova::keystone::auth_placement::password: {get_param: NovaPassword}
114 nova::keystone::auth_placement::region: {get_param: KeystoneRegion}
117 - {get_attr: [NovaBase, role_data, service_config_settings, mysql]}
118 - nova::db::mysql_placement::password: {get_param: NovaPassword}
119 nova::db::mysql_placement::user: nova_placement
120 nova::db::mysql_placement::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
121 nova::db::mysql_placement::dbname: nova_placement
122 nova::db::mysql_placement::allowed_hosts:
124 - "%{hiera('mysql_bind_host')}"