1 heat_template_version: ocata
4 OpenStack Aodh 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.
21 MonitoringSubscriptionAodhApi:
22 default: 'overcloud-ceilometer-aodh-api'
29 A hash of policies to configure for Aodh API.
30 e.g. { aodh-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
36 type: ./aodh-base.yaml
38 ServiceNetMap: {get_param: ServiceNetMap}
39 DefaultPasswords: {get_param: DefaultPasswords}
40 EndpointMap: {get_param: EndpointMap}
45 ServiceNetMap: {get_param: ServiceNetMap}
46 DefaultPasswords: {get_param: DefaultPasswords}
47 EndpointMap: {get_param: EndpointMap}
48 EnableInternalTLS: {get_param: EnableInternalTLS}
52 description: Role data for the Aodh API service.
54 service_name: aodh_api
55 monitoring_subscription: {get_param: MonitoringSubscriptionAodhApi}
58 - get_attr: [AodhBase, role_data, config_settings]
59 - get_attr: [ApacheServiceBase, role_data, config_settings]
60 - aodh::wsgi::apache::ssl: {get_param: EnableInternalTLS}
61 aodh::wsgi::apache::servername:
64 "%{hiera('fqdn_$NETWORK')}"
66 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
67 aodh::wsgi::apache::wsgi_process_display_name: 'aodh_wsgi'
68 aodh::api::service_name: 'httpd'
69 aodh::api::enable_proxy_headers_parsing: true
70 aodh::policy::policies: {get_param: AodhApiPolicies}
71 tripleo.aodh_api.firewall_rules:
79 "%{hiera('fqdn_$NETWORK')}"
81 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
82 # NOTE: bind IP is found in Heat replacing the network name with the
83 # local node IP for the given network; replacement examples
84 # (eg. for internal_api):
86 # internal_api_uri -> [IP]
87 # internal_api_subnet - > IP/CIDR
88 aodh::wsgi::apache::bind_host: {get_param: [ServiceNetMap, AodhApiNetwork]}
89 service_config_settings:
90 get_attr: [AodhBase, role_data, service_config_settings]
92 include tripleo::profile::base::aodh::api
94 get_attr: [ApacheServiceBase, role_data, metadata_settings]
97 expression: $.data.apache_upgrade + $.data.aodh_api_upgrade
100 get_attr: [ApacheServiceBase, role_data, upgrade_tasks]
102 - name: Stop aodh_api service (running under httpd)
104 service: name=httpd state=stopped