aodh: add gnocchi_external_project_owner config

gnocchi_external_project_owner is to configure who creates resources and
metrics in Gnocchi (usually Ceilometer). So Aodh can create the right rbac rules.

So the project name is 'service' for tripleo. We can't use the default
set because puppet always uses 'services' and not 'service'.

Change-Id: I6f7acc3a4cab29bc566d7becdc93ba3393f5c8fe
This commit is contained in:
Mehdi Abaakouk 2017-07-18 16:16:51 +02:00 committed by Pradeep Kilambi
parent 7e4f7dd2b0
commit fe72598d9c

View File

@ -30,6 +30,10 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
GnocchiExternalProject:
default: 'service'
description: Project name of resources creator in Gnocchi.
type: string
MonitoringSubscriptionAodhApi:
default: 'overcloud-ceilometer-aodh-api'
type: string
@ -85,6 +89,7 @@ outputs:
aodh::wsgi::apache::wsgi_process_display_name: 'aodh_wsgi'
aodh::api::service_name: 'httpd'
aodh::api::enable_proxy_headers_parsing: true
aodh::api::gnocchi_external_project_owner: {get_param: GnocchiExternalProject}
aodh::policy::policies: {get_param: AodhApiPolicies}
tripleo.aodh_api.firewall_rules:
'128 aodh-api':