1 heat_template_version: pike
4 OpenStack Aodh API service configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
33 GnocchiExternalProject:
35 description: Project name of resources creator in Gnocchi.
37 MonitoringSubscriptionAodhApi:
38 default: 'overcloud-ceilometer-aodh-api'
45 A hash of policies to configure for Aodh API.
46 e.g. { aodh-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
52 type: ./aodh-base.yaml
54 ServiceData: {get_param: ServiceData}
55 ServiceNetMap: {get_param: ServiceNetMap}
56 DefaultPasswords: {get_param: DefaultPasswords}
57 EndpointMap: {get_param: EndpointMap}
58 RoleName: {get_param: RoleName}
59 RoleParameters: {get_param: RoleParameters}
64 ServiceData: {get_param: ServiceData}
65 ServiceNetMap: {get_param: ServiceNetMap}
66 DefaultPasswords: {get_param: DefaultPasswords}
67 EndpointMap: {get_param: EndpointMap}
68 RoleName: {get_param: RoleName}
69 RoleParameters: {get_param: RoleParameters}
70 EnableInternalTLS: {get_param: EnableInternalTLS}
74 description: Role data for the Aodh API service.
76 service_name: aodh_api
77 monitoring_subscription: {get_param: MonitoringSubscriptionAodhApi}
80 - get_attr: [AodhBase, role_data, config_settings]
81 - get_attr: [ApacheServiceBase, role_data, config_settings]
82 - aodh::wsgi::apache::ssl: {get_param: EnableInternalTLS}
83 aodh::wsgi::apache::servername:
86 "%{hiera('fqdn_$NETWORK')}"
88 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
89 aodh::wsgi::apache::wsgi_process_display_name: 'aodh_wsgi'
90 aodh::api::service_name: 'httpd'
91 aodh::api::enable_proxy_headers_parsing: true
92 aodh::api::gnocchi_external_project_owner: {get_param: GnocchiExternalProject}
93 aodh::policy::policies: {get_param: AodhApiPolicies}
94 tripleo.aodh_api.firewall_rules:
102 "%{hiera('fqdn_$NETWORK')}"
104 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
105 # NOTE: bind IP is found in Heat replacing the network name with the
106 # local node IP for the given network; replacement examples
107 # (eg. for internal_api):
109 # internal_api_uri -> [IP]
110 # internal_api_subnet - > IP/CIDR
111 aodh::wsgi::apache::bind_host: {get_param: [ServiceNetMap, AodhApiNetwork]}
112 service_config_settings:
113 get_attr: [AodhBase, role_data, service_config_settings]
115 include tripleo::profile::base::aodh::api
117 get_attr: [ApacheServiceBase, role_data, metadata_settings]
120 expression: $.data.apache_upgrade + $.data.aodh_api_upgrade
123 get_attr: [ApacheServiceBase, role_data, upgrade_tasks]
125 - name: Stop aodh_api service (running under httpd)
127 service: name=httpd state=stopped