1 heat_template_version: ocata
4 Openstack Heat 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 Heat service.
26 description: The password for the Heat service and db account, used by the Heat services.
32 description: Keystone region for endpoint
33 MonitoringSubscriptionHeatApi:
34 default: 'overcloud-heat-api'
39 tag: openstack.heat.api
40 path: /var/log/heat/heat-api.log
44 type: ./heat-base.yaml
46 ServiceNetMap: {get_param: ServiceNetMap}
47 DefaultPasswords: {get_param: DefaultPasswords}
48 EndpointMap: {get_param: EndpointMap}
52 description: Role data for the Heat API role.
54 service_name: heat_api
55 monitoring_subscription: {get_param: MonitoringSubscriptionHeatApi}
56 logging_source: {get_param: HeatApiLoggingSource}
61 - get_attr: [HeatBase, role_data, config_settings]
62 - heat::api::workers: {get_param: HeatWorkers}
63 tripleo.heat_api.firewall_rules:
68 # NOTE: bind IP is found in Heat replacing the network name with the
69 # local node IP for the given network; replacement examples
70 # (eg. for internal_api):
72 # internal_api_uri -> [IP]
73 # internal_api_subnet - > IP/CIDR
74 heat::api::bind_host: {get_param: [ServiceNetMap, HeatApiNetwork]}
76 include ::tripleo::profile::base::heat::api
77 service_config_settings:
80 - get_attr: [HeatBase, role_data, service_config_settings, keystone]
81 - heat::keystone::auth::tenant: 'service'
82 heat::keystone::auth::public_url: {get_param: [EndpointMap, HeatPublic, uri]}
83 heat::keystone::auth::internal_url: {get_param: [EndpointMap, HeatInternal, uri]}
84 heat::keystone::auth::admin_url: {get_param: [EndpointMap, HeatAdmin, uri]}
85 heat::keystone::auth::password: {get_param: HeatPassword}
86 heat::keystone::auth::region: {get_param: KeystoneRegion}
88 - name: "PreUpgrade step0,validation: Check service openstack-heat-api is running"
89 shell: /usr/bin/systemctl show 'openstack-heat-api' --property ActiveState | grep '\bactive\b'
90 tags: step0,validation
91 - name: Stop heat_api service
93 service: name=openstack-heat-api state=stopped