Deprecate ceilometer-collector

Per https://review.openstack.org/#/c/413920/, the ceilometer-collector
service is now deprecated.
This commit removes the inventory group mappings to the
ceilometer-collector service/container. It also removes
the service from the bootstrap and testing inventory.
Gnocchi is now explicity used as a publisher in the
pipeline.

Partial-Bug: 1666238
Change-Id: I396b154d106c0afba44d57792ae6dad39b33a6f5
This commit is contained in:
Miguel Alex Cantu 2017-02-20 21:55:41 +00:00 committed by alextricity25
parent 02b28c47a4
commit 8784e73eec
9 changed files with 24 additions and 34 deletions

View File

@ -15,7 +15,6 @@ Ansible Role that installs and configures OpenStack Ceilometer.
This role will install the following:
* ceilometer-api
* ceilometer-agent-notification
* ceilometer-collector
* ceilometer-polling
* ceilometer-registry

View File

@ -105,7 +105,6 @@ ceilometer_service_in_ldap: false
## Ceilometer config
# If the following variables are unset in user_variables, the value set will be half the number of available VCPUs
# ceilometer_api_workers: 1
# ceilometer_collector_workers: 1
# ceilometer_notification_workers: 1
# Enable/Disable Ceilometer per service
@ -157,10 +156,6 @@ ceilometer_pip_packages:
## Service Name-Group Mapping
ceilometer_services:
ceilometer-collector:
group:
- ceilometer_collector
service_name: ceilometer-collector
ceilometer-agent-notification:
group:
- ceilometer_agent_notification

View File

@ -104,13 +104,9 @@ services:
- A notification agent (ceilometer-agent-notification): Runs on a
central management server(s) and consumes messages from the
message queue(s) to build event and metering data. Multiple
notification agents can be started to enable workload partitioning
(See HA section below).
- A collector (ceilometer-collector): Runs on central management
server(s) and dispatches data to a data store
or external consumer without modification.
message queue(s) to build event and metering data, then sends it
to one or more publishers. Multiple notification agents can be
started to enable workload partitioning (See HA section below).
- An API server (ceilometer-api): Runs on one or more central
management servers to provide data access from the data store.

View File

@ -0,0 +1,9 @@
---
features:
- |
Gnocchi is now used as the default publisher.
deprecations:
- |
Per https://review.openstack.org/#/c/413920/20, the ceilometer-collector
service is now deprecated and its respective container is no longer
deployed by default. Gnocchi is now used as the default publisher.

View File

@ -36,13 +36,6 @@ gnocchi_is_enabled = {{ ceilometer_gnocchi_enabled | bool }}
workers = {{ ceilometer_api_workers | default(workers) }}
port = 8777
[collector]
workers = {{ ceilometer_collector_workers | default(workers) }}
{% if ceilometer_gnocchi_enabled | bool %}
batch_size = 10
batch_timeout = 5
{% endif %}
[notification]
workers = {{ ceilometer_notification_workers | default(workers) }}
store_events = {{ not ceilometer_gnocchi_enabled | bool }}

View File

@ -39,7 +39,7 @@ sinks:
- name: meter_sink
transformers:
publishers:
- notifier://
- gnocchi://
- name: cpu_sink
transformers:
- name: "rate_of_change"
@ -50,7 +50,7 @@ sinks:
type: "gauge"
scale: "100.0 / (10**9 * (resource_metadata.cpu_number or 1))"
publishers:
- notifier://
- gnocchi://
- name: cpu_delta_sink
transformers:
- name: "delta"
@ -59,7 +59,7 @@ sinks:
name: "cpu.delta"
growth_only: True
publishers:
- notifier://
- gnocchi://
- name: disk_sink
transformers:
- name: "rate_of_change"
@ -74,7 +74,7 @@ sinks:
unit: "\\1/s"
type: "gauge"
publishers:
- notifier://
- gnocchi://
- name: network_sink
transformers:
- name: "rate_of_change"
@ -89,4 +89,4 @@ sinks:
unit: "\\1/s"
type: "gauge"
publishers:
- notifier://
- gnocchi://

View File

@ -35,9 +35,6 @@ infra1
[ceilometer_api]
ceilometer
[ceilometer_collector]
ceilometer
[ceilometer_agent_central]
ceilometer
@ -49,7 +46,6 @@ ceilometer
[ceilometer_all:children]
ceilometer_api
ceilometer_collector
ceilometer_agent_central
ceilometer_agent_notification
ceilometer_agent_compute

View File

@ -40,9 +40,6 @@ glance_registry
[ceilometer_api]
openstack1
[ceilometer_collector]
openstack1
[ceilometer_agent_central]
openstack1
@ -54,7 +51,6 @@ openstack1
[ceilometer_all:children]
ceilometer_api
ceilometer_collector
ceilometer_agent_central
ceilometer_agent_notification
ceilometer_agent_compute

View File

@ -47,7 +47,13 @@ swift_system_shell: /bin/false
swift_system_comment: swift test user
swift_system_home_folder: "/var/lib/{{ swift_system_user_name }}"
tempest_run: yes
# Without Panko, ceilometer doesn't have any functional tempest tests
# that can run against the telemetry system. The ceilometer API is
# deprecated in Pike, which causes the test_telemetry_notification_api
# test to fail. We set tempest_run to no until we have Panko integration
# TODO: (alextricity25) Look into enabling the autoscaling scenario
# once we have Panko integration.
tempest_run: no
tempest_venv_tag: "{{ tempest_git_install_branch }}"
tempest_venv_bin: "/opt/tempest_{{ tempest_venv_tag }}/bin"