2021-03-25 16:52:04 +05:30
|
|
|
heat_template_version: wallaby
|
2016-06-23 16:09:14 -04:00
|
|
|
|
|
|
|
description: >
|
|
|
|
OpenStack Ceilometer service configured with Puppet
|
|
|
|
|
|
|
|
parameters:
|
2017-06-22 17:25:03 +02:00
|
|
|
ServiceData:
|
|
|
|
default: {}
|
|
|
|
description: Dictionary packing service data
|
|
|
|
type: json
|
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
|
2017-02-24 06:27:58 -05:00
|
|
|
RoleName:
|
|
|
|
default: ''
|
|
|
|
description: Role name on which the service is applied
|
|
|
|
type: string
|
|
|
|
RoleParameters:
|
|
|
|
default: {}
|
|
|
|
description: Parameters specific to the role
|
|
|
|
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
|
|
|
|
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
|
2018-12-10 11:20:08 +00:00
|
|
|
AmqpRpcAddressPrefix:
|
|
|
|
default: ''
|
|
|
|
description: Address prefix for RPC addresses
|
|
|
|
type: string
|
|
|
|
AmqpNotifyAddressPrefix:
|
|
|
|
default: ''
|
|
|
|
description: Address prefix for Notification addresses
|
|
|
|
type: string
|
2017-11-27 09:59:17 -05:00
|
|
|
ManagePolling:
|
|
|
|
default: false
|
|
|
|
description: Whether to manage polling.yaml.
|
|
|
|
type: boolean
|
2016-08-11 09:15:40 -04:00
|
|
|
Debug:
|
2017-09-27 13:04:49 -04:00
|
|
|
default: false
|
2016-08-11 09:15:40 -04:00
|
|
|
description: Set to True to enable debugging on all services.
|
2017-09-27 13:04:49 -04:00
|
|
|
type: boolean
|
Ability to enable/disable debug mode per OpenStack service
Add ServiceDebug parameters for each services that will allow operators
to enable/disable Debug for specific services.
We keep the Debug parameters for backward compatibility.
Operators want to enable Debug everywhere:
Debug: true
Operators want to disable Debug everywhere:
Debug: false
Operators want to disable Debug everywhere except Glance:
GlanceDebug: true
Operators want to enable Debug everywhere except Glance:
Debug: true
GlanceDebug: false
New parameters: AodhDebug, BarbicanDebug, CeilometerDebug, CinderDebug,
CongressDebug, GlanceDebug, GnocchiDebug, HeatDebug, HorizonDebug,
IronicDebug, KeystoneDebug, ManilaDebug, MistralDebug, NeutronDebug,
NovaDebug, OctaviaDebug, PankoDebug, SaharaDebug, TackerDebug,
ZaqarDebug.
Note: for backward compatibility in Horizon, HorizonDebug is set to
false, so we maintain previous behavior.
Change-Id: Icbf4a38afcdbd8471d1afc11743df9705451db52
Implement-blueprint: composable-debug
Closes-Bug: #1634567
2017-05-24 13:42:07 -04:00
|
|
|
CeilometerDebug:
|
2021-03-19 11:50:48 +05:30
|
|
|
default: false
|
Ability to enable/disable debug mode per OpenStack service
Add ServiceDebug parameters for each services that will allow operators
to enable/disable Debug for specific services.
We keep the Debug parameters for backward compatibility.
Operators want to enable Debug everywhere:
Debug: true
Operators want to disable Debug everywhere:
Debug: false
Operators want to disable Debug everywhere except Glance:
GlanceDebug: true
Operators want to enable Debug everywhere except Glance:
Debug: true
GlanceDebug: false
New parameters: AodhDebug, BarbicanDebug, CeilometerDebug, CinderDebug,
CongressDebug, GlanceDebug, GnocchiDebug, HeatDebug, HorizonDebug,
IronicDebug, KeystoneDebug, ManilaDebug, MistralDebug, NeutronDebug,
NovaDebug, OctaviaDebug, PankoDebug, SaharaDebug, TackerDebug,
ZaqarDebug.
Note: for backward compatibility in Horizon, HorizonDebug is set to
false, so we maintain previous behavior.
Change-Id: Icbf4a38afcdbd8471d1afc11743df9705451db52
Implement-blueprint: composable-debug
Closes-Bug: #1634567
2017-05-24 13:42:07 -04:00
|
|
|
description: Set to True to enable debugging Ceilometer services.
|
2021-03-19 11:50:48 +05:30
|
|
|
type: boolean
|
2016-06-23 16:09:14 -04:00
|
|
|
KeystoneRegion:
|
|
|
|
type: string
|
|
|
|
default: 'regionOne'
|
|
|
|
description: Keystone region for endpoint
|
2017-05-03 13:16:56 -04:00
|
|
|
SnmpdReadonlyUserName:
|
|
|
|
default: ro_snmp_user
|
|
|
|
description: The user name for SNMPd with readonly rights running on all Overcloud nodes
|
|
|
|
type: string
|
|
|
|
SnmpdReadonlyUserPassword:
|
|
|
|
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
|
|
|
|
type: string
|
|
|
|
hidden: true
|
2017-07-07 11:35:28 -07:00
|
|
|
NotificationDriver:
|
2019-11-07 11:48:49 +01:00
|
|
|
type: comma_delimited_list
|
2020-03-27 20:00:48 +09:00
|
|
|
default: 'noop'
|
2017-07-07 11:35:28 -07:00
|
|
|
description: Driver or drivers to handle sending notifications.
|
2020-11-05 14:48:53 +01:00
|
|
|
MemcachedTLS:
|
|
|
|
default: false
|
|
|
|
description: Set to True to enable TLS on Memcached service.
|
|
|
|
Because not all services support Memcached TLS, during the
|
|
|
|
migration period, Memcached will listen on 2 ports - on the
|
|
|
|
port set with MemcachedPort parameter (above) and on 11211,
|
|
|
|
without TLS.
|
|
|
|
type: boolean
|
2017-08-23 10:34:46 -04:00
|
|
|
GnocchiArchivePolicy:
|
2018-09-19 07:51:20 +02:00
|
|
|
default: 'ceilometer-low-rate'
|
2017-08-23 10:34:46 -04:00
|
|
|
type: string
|
2018-06-25 13:47:03 +02:00
|
|
|
description: (DEPRECATED) archive policy to use with gnocchi backend
|
2016-06-23 16:09:14 -04:00
|
|
|
|
2018-06-25 13:47:03 +02:00
|
|
|
parameter_groups:
|
|
|
|
- label: deprecated
|
|
|
|
description: |
|
|
|
|
The following parameters are deprecated and will be removed. They should not
|
|
|
|
be relied on for new deployments. If you have concerns regarding deprecated
|
|
|
|
parameters, please contact the TripleO development team on IRC or the
|
|
|
|
OpenStack mailing list.
|
|
|
|
parameters:
|
|
|
|
- GnocchiArchivePolicy
|
|
|
|
|
Ability to enable/disable debug mode per OpenStack service
Add ServiceDebug parameters for each services that will allow operators
to enable/disable Debug for specific services.
We keep the Debug parameters for backward compatibility.
Operators want to enable Debug everywhere:
Debug: true
Operators want to disable Debug everywhere:
Debug: false
Operators want to disable Debug everywhere except Glance:
GlanceDebug: true
Operators want to enable Debug everywhere except Glance:
Debug: true
GlanceDebug: false
New parameters: AodhDebug, BarbicanDebug, CeilometerDebug, CinderDebug,
CongressDebug, GlanceDebug, GnocchiDebug, HeatDebug, HorizonDebug,
IronicDebug, KeystoneDebug, ManilaDebug, MistralDebug, NeutronDebug,
NovaDebug, OctaviaDebug, PankoDebug, SaharaDebug, TackerDebug,
ZaqarDebug.
Note: for backward compatibility in Horizon, HorizonDebug is set to
false, so we maintain previous behavior.
Change-Id: Icbf4a38afcdbd8471d1afc11743df9705451db52
Implement-blueprint: composable-debug
Closes-Bug: #1634567
2017-05-24 13:42:07 -04:00
|
|
|
conditions:
|
2018-12-10 11:20:08 +00:00
|
|
|
ceilometer_qdr_publish: {equals: [{get_param: CeilometerQdrPublish}, true]}
|
Ability to enable/disable debug mode per OpenStack service
Add ServiceDebug parameters for each services that will allow operators
to enable/disable Debug for specific services.
We keep the Debug parameters for backward compatibility.
Operators want to enable Debug everywhere:
Debug: true
Operators want to disable Debug everywhere:
Debug: false
Operators want to disable Debug everywhere except Glance:
GlanceDebug: true
Operators want to enable Debug everywhere except Glance:
Debug: true
GlanceDebug: false
New parameters: AodhDebug, BarbicanDebug, CeilometerDebug, CinderDebug,
CongressDebug, GlanceDebug, GnocchiDebug, HeatDebug, HorizonDebug,
IronicDebug, KeystoneDebug, ManilaDebug, MistralDebug, NeutronDebug,
NovaDebug, OctaviaDebug, PankoDebug, SaharaDebug, TackerDebug,
ZaqarDebug.
Note: for backward compatibility in Horizon, HorizonDebug is set to
false, so we maintain previous behavior.
Change-Id: Icbf4a38afcdbd8471d1afc11743df9705451db52
Implement-blueprint: composable-debug
Closes-Bug: #1634567
2017-05-24 13:42:07 -04:00
|
|
|
|
2016-06-23 16:09:14 -04:00
|
|
|
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:
|
2018-12-10 11:20:08 +00:00
|
|
|
map_merge:
|
|
|
|
- ceilometer::logging::debug:
|
|
|
|
if:
|
|
|
|
- {get_param: CeilometerDebug }
|
2021-03-19 11:50:48 +05:30
|
|
|
- true
|
|
|
|
- {get_param: Debug }
|
2018-12-10 11:20:08 +00:00
|
|
|
ceilometer::agent::auth::auth_password: {get_param: CeilometerPassword}
|
|
|
|
ceilometer::agent::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
|
|
|
ceilometer::agent::polling::manage_polling: {get_param: ManagePolling}
|
|
|
|
ceilometer::agent::auth::auth_region: {get_param: KeystoneRegion}
|
|
|
|
ceilometer::agent::auth::auth_tenant_name: 'service'
|
|
|
|
ceilometer::agent::auth::auth_user_domain_name: 'Default'
|
|
|
|
ceilometer::agent::auth::auth_project_domain_name: 'Default'
|
|
|
|
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
|
|
|
|
ceilometer::notification_driver: {get_param: NotificationDriver}
|
|
|
|
ceilometer::amqp_rpc_address_prefix: {get_param: AmqpRpcAddressPrefix}
|
|
|
|
ceilometer::amqp_notify_address_prefix: {get_param: AmqpNotifyAddressPrefix}
|
|
|
|
ceilometer::telemetry_secret: {get_param: CeilometerMeteringSecret}
|
|
|
|
ceilometer::snmpd_readonly_username: {get_param: SnmpdReadonlyUserName}
|
|
|
|
ceilometer::snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
|
|
|
|
ceilometer::host: "%{hiera('fqdn_canonical')}"
|
2020-11-05 14:48:53 +01:00
|
|
|
- if:
|
2021-03-19 15:59:02 +05:30
|
|
|
- {get_param: MemcachedTLS}
|
2020-11-05 14:48:53 +01:00
|
|
|
- ceilometer::cache_backend: 'dogpile.cache.pymemcache'
|
|
|
|
ceilometer::cache_tls_enabled: true
|
|
|
|
- {}
|
2016-09-15 09:19:15 +02:00
|
|
|
service_config_settings:
|
|
|
|
keystone:
|
2017-11-01 12:03:58 +00:00
|
|
|
# Enable default notification queue
|
|
|
|
tripleo::profile::base::keystone::ceilometer_notification_topics: ["notifications"]
|