ceilometer: deprecation cleanup

Gnocchi dispatcher options will be removed upstream very soon [1].

But the deprecated options are still used in puppet-ceilometer and tht.

I proposed the puppet-gnocchi deprecation here [2]

ceilometer::dispatcher::gnocchi::url have been removed two cycles ago in
Ceilometer and is already ignored
.
ceilometer::dispatcher::gnocchi::archive_policy/filter_project are
passed to the url directly now.

ceilometer::dispatcher::gnocchi::resources_definition_file was set to
the default. So remove it does not change anything.

[1] https://review.openstack.org/#/c/575368/
[2] https://review.openstack.org/#/c/577794/

Change-Id: Ie0ff6f40d81b2e748347bd4c0e532531960bdefb
This commit is contained in:
Mehdi Abaakouk 2018-06-25 13:47:03 +02:00
parent 7bc1a59483
commit a57f34f321
2 changed files with 18 additions and 7 deletions

View File

@ -43,7 +43,7 @@ parameters:
description: Whether to manage event_pipeline.yaml.
type: boolean
EventPipelinePublishers:
default: ['gnocchi://', 'panko://']
default: ['gnocchi://?filter_project=service&archive_policy=low', 'panko://']
description: >
A list of publishers to put in event_pipeline.yaml. When the
collector is used, override this with notifier:// publisher.
@ -56,7 +56,7 @@ parameters:
description: Whether to manage pipeline.yaml.
type: boolean
PipelinePublishers:
default: ['gnocchi://']
default: ['gnocchi://?filter_project=service&archive_policy=low']
description: >
A list of publishers to put in pipeline.yaml. When the
collector is used, override this with notifier:// publisher.
@ -97,7 +97,7 @@ parameters:
GnocchiArchivePolicy:
default: 'low'
type: string
description: archive policy to use with gnocchi backend
description: (DEPRECATED) archive policy to use with gnocchi backend
RpcPort:
default: 5672
description: The network port for messaging backend
@ -117,6 +117,16 @@ parameters:
an SSL connection to the messaging host.
type: string
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
conditions:
service_debug_unset: {equals : [{get_param: CeilometerDebug}, '']}
@ -150,10 +160,6 @@ outputs:
ceilometer::agent::auth::auth_user_domain_name: 'Default'
ceilometer::agent::auth::auth_project_domain_name: 'Default'
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
ceilometer::dispatcher::gnocchi::url: {get_param: [EndpointMap, GnocchiInternal, uri]}
ceilometer::dispatcher::gnocchi::filter_project: 'service'
ceilometer::dispatcher::gnocchi::archive_policy: {get_param: GnocchiArchivePolicy}
ceilometer::dispatcher::gnocchi::resources_definition_file: 'gnocchi_resources.yaml'
ceilometer::notification_driver: {get_param: NotificationDriver}
# TODO(ansmith): remove once p-t-o switches to oslo params
ceilometer::rabbit_userid: {get_param: RpcUserName}

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
GnocchiArchivePolicy is now deprecated. The archive policy have to be passed
through the PipelinePublishers/EventPipelinePublishers uris.