tripleo-heat-templates/deployment/ceilometer/ceilometer-base-container-puppet.yaml

137 lines
5.2 KiB
YAML

heat_template_version: wallaby
description: >
OpenStack Ceilometer service configured with Puppet
parameters:
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. Use
parameter_merge_strategies to merge it with the defaults.
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
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
AmqpRpcAddressPrefix:
default: ''
description: Address prefix for RPC addresses
type: string
AmqpNotifyAddressPrefix:
default: ''
description: Address prefix for Notification addresses
type: string
ManagePolling:
default: false
description: Whether to manage polling.yaml.
type: boolean
Debug:
default: false
description: Set to True to enable debugging on all services.
type: boolean
CeilometerDebug:
default: false
description: Set to True to enable debugging Ceilometer services.
type: boolean
KeystoneRegion:
type: string
default: 'regionOne'
description: Keystone region for endpoint
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
NotificationDriver:
type: comma_delimited_list
default: 'noop'
description: Driver or drivers to handle sending notifications.
CeilometerRpcResponseTimeout:
default: 60
description: Ceilometer's RPC response timeout, in seconds.
type: number
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
GnocchiArchivePolicy:
default: 'ceilometer-low-rate'
type: string
description: (DEPRECATED) archive policy to use with gnocchi backend
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
outputs:
role_data:
description: Role data for the Ceilometer role.
value:
service_name: ceilometer_base
config_settings:
map_merge:
- ceilometer::logging::debug:
if:
- {get_param: CeilometerDebug }
- true
- {get_param: Debug }
ceilometer::agent::polling::manage_polling: {get_param: ManagePolling}
ceilometer::agent::service_credentials::password: {get_param: CeilometerPassword}
ceilometer::agent::service_credentials::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
ceilometer::agent::service_credentials::region_name: {get_param: KeystoneRegion}
ceilometer::agent::service_credentials::project_name: 'service'
ceilometer::agent::service_credentials::user_domain_name: 'Default'
ceilometer::agent::service_credentials::auth_project_domain_name: 'Default'
ceilometer::agent::service_credentials::interface: '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')}"
ceilometer::rpc_response_timeout: {get_param: CeilometerRpcResponseTimeout}
- if:
- {get_param: MemcachedTLS}
- ceilometer::cache_backend: 'dogpile.cache.pymemcache'
ceilometer::cache_tls_enabled: true
service_config_settings:
keystone:
# Enable default notification queue
tripleo::profile::base::keystone::ceilometer_notification_topics: ["notifications"]