2016-12-23 11:43:39 +00:00
|
|
|
heat_template_version: ocata
|
2016-06-23 16:09:14 -04:00
|
|
|
|
|
|
|
description: >
|
|
|
|
OpenStack Ceilometer service configured with Puppet
|
|
|
|
|
|
|
|
parameters:
|
2016-08-11 23:07:46 +02:00
|
|
|
ServiceNetMap:
|
|
|
|
default: {}
|
|
|
|
description: Mapping of service_name -> network name. Typically set
|
|
|
|
via parameter_defaults in the resource registry. This
|
|
|
|
mapping overrides those in ServiceNetMapDefaults.
|
|
|
|
type: json
|
2016-08-17 09:26:05 -04:00
|
|
|
DefaultPasswords:
|
|
|
|
default: {}
|
|
|
|
type: json
|
2016-06-23 16:09:14 -04:00
|
|
|
EndpointMap:
|
|
|
|
default: {}
|
|
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
|
|
via parameter_defaults in the resource registry.
|
|
|
|
type: json
|
|
|
|
CeilometerBackend:
|
|
|
|
default: 'mongodb'
|
|
|
|
description: The ceilometer backend type.
|
|
|
|
type: string
|
|
|
|
CeilometerMeteringSecret:
|
|
|
|
description: Secret shared by the ceilometer services.
|
|
|
|
type: string
|
|
|
|
hidden: true
|
|
|
|
CeilometerPassword:
|
|
|
|
description: The password for the ceilometer service account.
|
|
|
|
type: string
|
|
|
|
hidden: true
|
|
|
|
CeilometerMeterDispatcher:
|
2016-11-30 12:54:50 -05:00
|
|
|
default: ['gnocchi']
|
|
|
|
description: Comma-seperated list of Dispatcher to process meter data
|
|
|
|
type: comma_delimited_list
|
2016-06-23 16:09:14 -04:00
|
|
|
constraints:
|
|
|
|
- allowed_values: ['gnocchi', 'database']
|
2016-11-10 18:34:40 -05:00
|
|
|
CeilometerEventDispatcher:
|
|
|
|
default: ['gnocchi']
|
|
|
|
description: Comma-separated list of Dispatchers to process events data
|
|
|
|
type: comma_delimited_list
|
|
|
|
constraints:
|
|
|
|
- allowed_values: ['panko', 'gnocchi', 'database']
|
2016-06-23 16:09:14 -04:00
|
|
|
CeilometerWorkers:
|
|
|
|
default: 0
|
|
|
|
description: Number of workers for Ceilometer service.
|
|
|
|
type: number
|
2016-12-12 16:17:49 -05:00
|
|
|
EventPipelinePublishers:
|
|
|
|
default: ['notifier://?topic=alarm.all']
|
|
|
|
description: A list of publishers to put in event_pipeline.yaml.
|
|
|
|
type: comma_delimited_list
|
2016-08-11 09:15:40 -04:00
|
|
|
Debug:
|
|
|
|
default: ''
|
|
|
|
description: Set to True to enable debugging on all services.
|
|
|
|
type: string
|
2016-06-23 16:09:14 -04:00
|
|
|
KeystoneRegion:
|
|
|
|
type: string
|
|
|
|
default: 'regionOne'
|
|
|
|
description: Keystone region for endpoint
|
|
|
|
RabbitPassword:
|
|
|
|
description: The password for RabbitMQ
|
|
|
|
type: string
|
|
|
|
hidden: true
|
|
|
|
RabbitUserName:
|
|
|
|
default: guest
|
|
|
|
description: The username for RabbitMQ
|
|
|
|
type: string
|
|
|
|
RabbitClientUseSSL:
|
|
|
|
default: false
|
|
|
|
description: >
|
|
|
|
Rabbit client subscriber parameter to specify
|
|
|
|
an SSL connection to the RabbitMQ host.
|
|
|
|
type: string
|
|
|
|
RabbitClientPort:
|
|
|
|
default: 5672
|
|
|
|
description: Set rabbit subscriber port, change this if using SSL
|
|
|
|
type: number
|
|
|
|
|
|
|
|
outputs:
|
|
|
|
role_data:
|
|
|
|
description: Role data for the Ceilometer role.
|
|
|
|
value:
|
2016-07-28 10:30:10 +01:00
|
|
|
service_name: ceilometer_base
|
2016-06-23 16:09:14 -04:00
|
|
|
config_settings:
|
2016-08-11 09:15:40 -04:00
|
|
|
ceilometer::debug: {get_param: Debug}
|
2016-06-23 16:09:14 -04:00
|
|
|
ceilometer::db::database_connection:
|
|
|
|
list_join:
|
|
|
|
- ''
|
|
|
|
- - {get_param: [EndpointMap, MysqlInternal, protocol]}
|
|
|
|
- - '://ceilometer:'
|
|
|
|
- {get_param: CeilometerPassword}
|
|
|
|
- '@'
|
|
|
|
- {get_param: [EndpointMap, MysqlInternal, host]}
|
|
|
|
- '/ceilometer'
|
2017-02-09 11:14:03 +01:00
|
|
|
- '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo'
|
2016-06-23 16:09:14 -04:00
|
|
|
ceilometer_backend: {get_param: CeilometerBackend}
|
|
|
|
# we include db_sync class in puppet-tripleo
|
|
|
|
ceilometer::db::sync_db: false
|
2016-08-23 16:09:03 -04:00
|
|
|
ceilometer::keystone::authtoken::project_name: 'service'
|
2017-03-10 12:09:04 -05:00
|
|
|
ceilometer::keystone::authtoken::user_domain_name: 'Default'
|
|
|
|
ceilometer::keystone::authtoken::project_domain_name: 'Default'
|
2016-08-23 16:09:03 -04:00
|
|
|
ceilometer::keystone::authtoken::password: {get_param: CeilometerPassword}
|
2017-03-10 12:09:04 -05:00
|
|
|
ceilometer::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
2017-02-10 20:47:13 +02:00
|
|
|
ceilometer::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
2016-06-23 16:09:14 -04:00
|
|
|
ceilometer::agent::auth::auth_password: {get_param: CeilometerPassword}
|
|
|
|
ceilometer::agent::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
2016-12-12 16:17:49 -05:00
|
|
|
ceilometer::agent::notification::event_pipeline_publishers: {get_param: EventPipelinePublishers}
|
2016-08-03 15:01:57 +01:00
|
|
|
ceilometer::agent::auth::auth_region: {get_param: KeystoneRegion}
|
2016-07-13 11:29:43 -04:00
|
|
|
ceilometer::agent::auth::auth_tenant_name: 'service'
|
2017-03-10 12:09:04 -05:00
|
|
|
ceilometer::agent::auth::auth_user_domain_name: 'Default'
|
|
|
|
ceilometer::agent::auth::auth_project_domain_name: 'Default'
|
2016-07-13 11:29:43 -04:00
|
|
|
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
|
2016-06-23 16:09:14 -04:00
|
|
|
ceilometer::collector::meter_dispatcher: {get_param: CeilometerMeterDispatcher}
|
2016-11-10 18:34:40 -05:00
|
|
|
ceilometer::collector::event_dispatcher: {get_param: CeilometerEventDispatcher}
|
2016-06-23 16:09:14 -04:00
|
|
|
ceilometer::dispatcher::gnocchi::url: {get_param: [EndpointMap, GnocchiInternal, uri]}
|
|
|
|
ceilometer::dispatcher::gnocchi::filter_project: 'service'
|
|
|
|
ceilometer::dispatcher::gnocchi::archive_policy: 'low'
|
|
|
|
ceilometer::dispatcher::gnocchi::resources_definition_file: 'gnocchi_resources.yaml'
|
|
|
|
ceilometer::rabbit_userid: {get_param: RabbitUserName}
|
|
|
|
ceilometer::rabbit_password: {get_param: RabbitPassword}
|
|
|
|
ceilometer::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
|
|
|
|
ceilometer::rabbit_port: {get_param: RabbitClientPort}
|
2016-07-13 11:29:43 -04:00
|
|
|
ceilometer::rabbit_heartbeat_timeout_threshold: 60
|
2016-07-29 11:46:40 +02:00
|
|
|
ceilometer::db::database_db_max_retries: -1
|
|
|
|
ceilometer::db::database_max_retries: -1
|
2016-08-11 09:15:40 -04:00
|
|
|
ceilometer::telemetry_secret: {get_param: CeilometerMeteringSecret}
|
2016-09-15 09:19:15 +02:00
|
|
|
service_config_settings:
|
|
|
|
keystone:
|
|
|
|
ceilometer::keystone::auth::public_url: {get_param: [EndpointMap, CeilometerPublic, uri]}
|
|
|
|
ceilometer::keystone::auth::internal_url: {get_param: [EndpointMap, CeilometerInternal, uri]}
|
|
|
|
ceilometer::keystone::auth::admin_url: {get_param: [EndpointMap, CeilometerAdmin, uri]}
|
|
|
|
ceilometer::keystone::auth::password: {get_param: CeilometerPassword}
|
|
|
|
ceilometer::keystone::auth::region: {get_param: KeystoneRegion}
|
|
|
|
ceilometer::keystone::auth::tenant: 'service'
|
2016-09-26 13:52:46 -04:00
|
|
|
mysql:
|
|
|
|
ceilometer::db::mysql::password: {get_param: CeilometerPassword}
|
|
|
|
ceilometer::db::mysql::user: ceilometer
|
|
|
|
ceilometer::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
|
|
|
|
ceilometer::db::mysql::dbname: ceilometer
|
|
|
|
ceilometer::db::mysql::allowed_hosts:
|
|
|
|
- '%'
|
|
|
|
- "%{hiera('mysql_bind_host')}"
|