Update to the ceilometer publisher list
Template level changes to update endpoint list in ceilometer to support data dispatch to qdr running locally. Depends-On: I7bbac48f2dfa9ec532f56a814af25117e11511ea Depends-On: Ifd5c4bca8d1fc7bbfa9f03fc09250cce9dabd954 Change-Id: Ifb17e002d011a8618496a5af375ac75fd4112630
This commit is contained in:
parent
1761a3da0d
commit
e8f3436b6a
@ -38,6 +38,20 @@ parameters:
|
|||||||
description: The password for the ceilometer service account.
|
description: The password for the ceilometer service account.
|
||||||
type: string
|
type: string
|
||||||
hidden: true
|
hidden: true
|
||||||
|
AmqpRpcAddressPrefix:
|
||||||
|
default: ''
|
||||||
|
description: Address prefix for RPC addresses
|
||||||
|
type: string
|
||||||
|
AmqpNotifyAddressPrefix:
|
||||||
|
default: ''
|
||||||
|
description: Address prefix for Notification addresses
|
||||||
|
type: string
|
||||||
|
MetricsQdrPort:
|
||||||
|
default: '5666'
|
||||||
|
description: Service name or port number on which the qdrouterd will accept
|
||||||
|
connections. This argument must be string, even if the numeric
|
||||||
|
form is used.
|
||||||
|
type: string
|
||||||
ManageEventPipeline:
|
ManageEventPipeline:
|
||||||
default: true
|
default: true
|
||||||
description: Whether to manage event_pipeline.yaml.
|
description: Whether to manage event_pipeline.yaml.
|
||||||
@ -62,6 +76,10 @@ parameters:
|
|||||||
collector is used, override this with notifier:// publisher.
|
collector is used, override this with notifier:// publisher.
|
||||||
Set ManagePipeline to true for override to take effect.
|
Set ManagePipeline to true for override to take effect.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
|
CeilometerQdrPublish:
|
||||||
|
default: false
|
||||||
|
description: Whether to send telemetry data to Qdr.
|
||||||
|
type: boolean
|
||||||
ManagePolling:
|
ManagePolling:
|
||||||
default: false
|
default: false
|
||||||
description: Whether to manage polling.yaml.
|
description: Whether to manage polling.yaml.
|
||||||
@ -131,6 +149,7 @@ parameter_groups:
|
|||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
service_debug_unset: {equals : [{get_param: CeilometerDebug}, '']}
|
service_debug_unset: {equals : [{get_param: CeilometerDebug}, '']}
|
||||||
|
ceilometer_qdr_publish: {equals: [{get_param: CeilometerQdrPublish}, true]}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
@ -138,35 +157,48 @@ outputs:
|
|||||||
value:
|
value:
|
||||||
service_name: ceilometer_base
|
service_name: ceilometer_base
|
||||||
config_settings:
|
config_settings:
|
||||||
ceilometer::logging::debug:
|
map_merge:
|
||||||
if:
|
- ceilometer::logging::debug:
|
||||||
- service_debug_unset
|
if:
|
||||||
- {get_param: Debug }
|
- service_debug_unset
|
||||||
- {get_param: CeilometerDebug }
|
- {get_param: Debug }
|
||||||
ceilometer::keystone::authtoken::project_name: 'service'
|
- {get_param: CeilometerDebug }
|
||||||
ceilometer::keystone::authtoken::user_domain_name: 'Default'
|
ceilometer::keystone::authtoken::project_name: 'service'
|
||||||
ceilometer::keystone::authtoken::project_domain_name: 'Default'
|
ceilometer::keystone::authtoken::user_domain_name: 'Default'
|
||||||
ceilometer::keystone::authtoken::password: {get_param: CeilometerPassword}
|
ceilometer::keystone::authtoken::project_domain_name: 'Default'
|
||||||
ceilometer::keystone::authtoken::www_authenticate_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
ceilometer::keystone::authtoken::password: {get_param: CeilometerPassword}
|
||||||
ceilometer::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
ceilometer::keystone::authtoken::www_authenticate_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
||||||
ceilometer::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
ceilometer::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
||||||
ceilometer::agent::auth::auth_password: {get_param: CeilometerPassword}
|
ceilometer::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
||||||
ceilometer::agent::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
ceilometer::agent::auth::auth_password: {get_param: CeilometerPassword}
|
||||||
ceilometer::agent::notification::manage_event_pipeline: {get_param: ManageEventPipeline}
|
ceilometer::agent::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
|
||||||
ceilometer::agent::notification::event_pipeline_publishers: {get_param: EventPipelinePublishers}
|
ceilometer::agent::notification::manage_event_pipeline: {get_param: ManageEventPipeline}
|
||||||
ceilometer::agent::notification::manage_pipeline: {get_param: ManagePipeline}
|
ceilometer::agent::notification::manage_pipeline: {get_param: ManagePipeline}
|
||||||
ceilometer::agent::notification::pipeline_publishers: {get_param: PipelinePublishers}
|
ceilometer::agent::polling::manage_polling: {get_param: ManagePolling}
|
||||||
ceilometer::agent::polling::manage_polling: {get_param: ManagePolling}
|
ceilometer::agent::auth::auth_region: {get_param: KeystoneRegion}
|
||||||
ceilometer::agent::auth::auth_region: {get_param: KeystoneRegion}
|
ceilometer::agent::auth::auth_tenant_name: 'service'
|
||||||
ceilometer::agent::auth::auth_tenant_name: 'service'
|
ceilometer::agent::auth::auth_user_domain_name: 'Default'
|
||||||
ceilometer::agent::auth::auth_user_domain_name: 'Default'
|
ceilometer::agent::auth::auth_project_domain_name: 'Default'
|
||||||
ceilometer::agent::auth::auth_project_domain_name: 'Default'
|
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
|
||||||
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
|
ceilometer::notification_driver: {get_param: NotificationDriver}
|
||||||
ceilometer::notification_driver: {get_param: NotificationDriver}
|
ceilometer::amqp_rpc_address_prefix: {get_param: AmqpRpcAddressPrefix}
|
||||||
ceilometer::telemetry_secret: {get_param: CeilometerMeteringSecret}
|
ceilometer::amqp_notify_address_prefix: {get_param: AmqpNotifyAddressPrefix}
|
||||||
ceilometer::snmpd_readonly_username: {get_param: SnmpdReadonlyUserName}
|
ceilometer::telemetry_secret: {get_param: CeilometerMeteringSecret}
|
||||||
ceilometer::snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
|
ceilometer::snmpd_readonly_username: {get_param: SnmpdReadonlyUserName}
|
||||||
ceilometer::host: "%{hiera('fqdn_canonical')}"
|
ceilometer::snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
|
||||||
|
ceilometer::host: "%{hiera('fqdn_canonical')}"
|
||||||
|
tripleo::profile::base::ceilometer::event_pipeline_publishers: {get_param: EventPipelinePublishers}
|
||||||
|
tripleo::profile::base::ceilometer::pipeline_publishers: {get_param: PipelinePublishers}
|
||||||
|
- if: #Ceilometer connection to qdr
|
||||||
|
- ceilometer_qdr_publish
|
||||||
|
- tripleo::profile::base::ceilometer::notifier_host_addr:
|
||||||
|
str_replace:
|
||||||
|
template:
|
||||||
|
"%{hiera('$NETWORK')}"
|
||||||
|
params:
|
||||||
|
$NETWORK: {get_param: [ServiceNetMap, MetricsQdrNetwork]}
|
||||||
|
tripleo::profile::base::ceilometer::notifier_host_port: {get_param: MetricsQdrPort}
|
||||||
|
- {}
|
||||||
service_config_settings:
|
service_config_settings:
|
||||||
keystone:
|
keystone:
|
||||||
ceilometer_auth_enabled: true
|
ceilometer_auth_enabled: true
|
||||||
|
@ -65,14 +65,26 @@ parameters:
|
|||||||
default: []
|
default: []
|
||||||
description: Connectors configuration (array of hashes).
|
description: Connectors configuration (array of hashes).
|
||||||
type: json
|
type: json
|
||||||
|
MetricsQdrSSLProfiles:
|
||||||
|
default: []
|
||||||
|
description: SSL Profiles for the connectors (array of hashes).
|
||||||
|
type: json
|
||||||
MetricsQdrAddresses:
|
MetricsQdrAddresses:
|
||||||
default:
|
default:
|
||||||
- prefix: 'collectd/notify'
|
- prefix: 'collectd/notify'
|
||||||
distribution: multicast
|
distribution: multicast
|
||||||
- prefix: 'collectd/telemetry'
|
- prefix: 'collectd/telemetry'
|
||||||
distribution: multicast
|
distribution: multicast
|
||||||
|
- prefix: 'ceilometer/metering.sample'
|
||||||
|
distribution: multicast
|
||||||
|
- prefix: 'ceilometer/event.sample'
|
||||||
|
distribution: multicast
|
||||||
description: Addresses configuration (array of hashes).
|
description: Addresses configuration (array of hashes).
|
||||||
type: json
|
type: json
|
||||||
|
MetricsQdrAutoLinks:
|
||||||
|
default: []
|
||||||
|
description: AutoLinks for the Configured Addresses
|
||||||
|
type: json
|
||||||
MetricsQdrUseSSL:
|
MetricsQdrUseSSL:
|
||||||
default: false
|
default: false
|
||||||
description: Set to true if it is required to use SSL or TLS on
|
description: Set to true if it is required to use SSL or TLS on
|
||||||
@ -147,6 +159,7 @@ outputs:
|
|||||||
tripleo::profile::base::metrics::qdr::password: {get_param: MetricsQdrPassword}
|
tripleo::profile::base::metrics::qdr::password: {get_param: MetricsQdrPassword}
|
||||||
tripleo::profile::base::metrics::qdr::connectors: {get_param: MetricsQdrConnectors}
|
tripleo::profile::base::metrics::qdr::connectors: {get_param: MetricsQdrConnectors}
|
||||||
tripleo::profile::base::metrics::qdr::addresses: {get_param: MetricsQdrAddresses}
|
tripleo::profile::base::metrics::qdr::addresses: {get_param: MetricsQdrAddresses}
|
||||||
|
tripleo::profile::base::metrics::qdr::autolink_addresses: {get_param: MetricsQdrAutoLinks}
|
||||||
# ssl support
|
# ssl support
|
||||||
tripleo::profile::base::metrics::qdr::listener_require_ssl: {get_param: MetricsQdrUseSSL}
|
tripleo::profile::base::metrics::qdr::listener_require_ssl: {get_param: MetricsQdrUseSSL}
|
||||||
tripleo::profile::base::metrics::qdr::listener_require_encrypt: {get_param: MetricsQdrUseEncryption}
|
tripleo::profile::base::metrics::qdr::listener_require_encrypt: {get_param: MetricsQdrUseEncryption}
|
||||||
@ -157,6 +170,7 @@ outputs:
|
|||||||
tripleo::profile::base::metrics::qdr::listener_ssl_pw_file: {get_param: MetricsQdrSslPwFile}
|
tripleo::profile::base::metrics::qdr::listener_ssl_pw_file: {get_param: MetricsQdrSslPwFile}
|
||||||
tripleo::profile::base::metrics::qdr::listener_ssl_password: {get_param: MetricsQdrSslPassword}
|
tripleo::profile::base::metrics::qdr::listener_ssl_password: {get_param: MetricsQdrSslPassword}
|
||||||
tripleo::profile::base::metrics::qdr::listener_trusted_certs: {get_param: MetricsQdrTrustedCerts}
|
tripleo::profile::base::metrics::qdr::listener_trusted_certs: {get_param: MetricsQdrTrustedCerts}
|
||||||
|
tripleo::profile::base::metrics::qdr::ssl_profiles: {get_param: MetricsQdrSSLProfiles}
|
||||||
qdr::log_enable: 'info+'
|
qdr::log_enable: 'info+'
|
||||||
qdr::log_output: '/var/log/qdrouterd/metrics-qdr.log'
|
qdr::log_output: '/var/log/qdrouterd/metrics-qdr.log'
|
||||||
# BEGIN DOCKER SETTINGS
|
# BEGIN DOCKER SETTINGS
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
## This environment servers the purpose of enabling collectd to send metrics
|
## This environment servers the purpose of enabling collectd to send metrics
|
||||||
## through mesh of QPID dispatch routers. Each ovecloud node will have one local
|
## through mesh of QPID dispatch routers. Each overcloud node will have one local
|
||||||
## qdrouterd service running and collectd will send data to it.
|
## qdrouterd service running and collectd will send data to it.
|
||||||
|
|
||||||
|
|
||||||
@ -9,6 +9,7 @@ resource_registry:
|
|||||||
|
|
||||||
|
|
||||||
parameter_defaults:
|
parameter_defaults:
|
||||||
|
CeilometerQdrPublish: true
|
||||||
CollectdConnectionType: amqp1
|
CollectdConnectionType: amqp1
|
||||||
CollectdAmqpInstances:
|
CollectdAmqpInstances:
|
||||||
notify:
|
notify:
|
||||||
|
Loading…
Reference in New Issue
Block a user