ceilometer: Use new archive policies

Ceilometer now creates it own archive policies.

This change ensures we use the new one.

Change-Id: I23d678a4b2c92ad2e913594b0b8844605fe36355
This commit is contained in:
Mehdi Abaakouk 2018-09-19 07:51:20 +02:00
parent 860c9a33f7
commit 7b71a4c073
3 changed files with 17 additions and 15 deletions

View File

@ -105,17 +105,18 @@ parameter_defaults:
nova::compute::libvirt::services::libvirt_virt_type: qemu nova::compute::libvirt::services::libvirt_virt_type: qemu
nova::compute::libvirt::libvirt_virt_type: qemu nova::compute::libvirt::libvirt_virt_type: qemu
# NOTE(sileht): To decrease the time test_telemetry_integration takes We # NOTE(sileht): To decrease the time test_telemetry_integration takes We
# configure Ceilometer to poll more, We configure the 'high' Gnocchi # configure Ceilometer to poll more, We configure the
# archive policy to keep 1 point every 60s. The test will take 2 minutes # 'ceilometer-high-rate' Gnocchi archive policy to keep 1 point every 60s.
# instead of 10 minutes. Note that tempest telemetry.alarm_granularity must # The test will take 2 minutes instead of 10 minutes. Note that tempest
# in sync with the archive policy, 60s too. # telemetry.alarm_granularity must in sync with the archive policy, 60s
# too.
ceilometer::agent::polling::polling_interval: 15 ceilometer::agent::polling::polling_interval: 15
ManagePolling: true ManagePolling: true
ManagePipeline: true ManagePipeline: true
PipelinePublishers: PipelinePublishers:
- gnocchi://?archive_policy=high - gnocchi://?archive_policy=ceilometer-high-rate
EventPipelinePublishers: EventPipelinePublishers:
- gnocchi://?archive_policy=high - gnocchi://?archive_policy=ceilometer-high-rate
- panko:// - panko://
Debug: true Debug: true
@ -154,7 +155,7 @@ parameter_defaults:
GlanceBackend: rbd GlanceBackend: rbd
GnocchiBackend: rbd GnocchiBackend: rbd
CinderEnableIscsiBackend: false CinderEnableIscsiBackend: false
GnocchiArchivePolicy: 'high' GnocchiArchivePolicy: 'ceilometer-high-rate'
BannerText: | BannerText: |
****************************************************************** ******************************************************************
* This system is for the use of authorized users only. Usage of * * This system is for the use of authorized users only. Usage of *

View File

@ -93,19 +93,20 @@ parameter_defaults:
nova::compute::libvirt::services::libvirt_virt_type: qemu nova::compute::libvirt::services::libvirt_virt_type: qemu
nova::compute::libvirt::libvirt_virt_type: qemu nova::compute::libvirt::libvirt_virt_type: qemu
# NOTE(sileht): To decrease the time test_telemetry_integration takes We # NOTE(sileht): To decrease the time test_telemetry_integration takes We
# configure Ceilometer to poll more, We configure the 'high' Gnocchi # configure Ceilometer to poll more, We configure the
# archive policy to keep 1 point every 60s. The test will take 2 minutes # 'ceilometer-high-rate' Gnocchi archive policy to keep 1 point every 60s.
# instead of 10 minutes. Note that tempest telemetry.alarm_granularity must # The test will take 2 minutes instead of 10 minutes. Note that tempest
# in sync with the archive policy, 60s too. # telemetry.alarm_granularity must in sync with the archive policy, 60s
# too.
ceilometer::agent::polling::polling_interval: 15 ceilometer::agent::polling::polling_interval: 15
ManagePolling: true ManagePolling: true
ManagePipeline: true ManagePipeline: true
PipelinePublishers: PipelinePublishers:
- gnocchi://?archive_policy=high - gnocchi://?archive_policy=ceilometer-high-rate
EventPipelinePublishers: EventPipelinePublishers:
- gnocchi://?archive_policy=high - gnocchi://?archive_policy=ceilometer-high-rate
- panko:// - panko://
GnocchiArchivePolicy: 'high' GnocchiArchivePolicy: 'ceilometer-high-rate'
Debug: true Debug: true
DockerPuppetDebug: True DockerPuppetDebug: True
ZaqarMessageStore: 'swift' ZaqarMessageStore: 'swift'

View File

@ -95,7 +95,7 @@ parameters:
constraints: constraints:
- allowed_values: [ 'messagingv2', 'noop' ] - allowed_values: [ 'messagingv2', 'noop' ]
GnocchiArchivePolicy: GnocchiArchivePolicy:
default: 'low' default: 'ceilometer-low-rate'
type: string type: string
description: (DEPRECATED) archive policy to use with gnocchi backend description: (DEPRECATED) archive policy to use with gnocchi backend
RpcPort: RpcPort: