Merge "Disable Monasca Log Metrics service by default"

This commit is contained in:
Zuul 2021-03-24 18:32:17 +00:00 committed by Gerrit Code Review
commit f9a9a9f327
3 changed files with 22 additions and 2 deletions

View File

@ -39,7 +39,7 @@ monasca_services:
monasca-log-metrics:
container_name: monasca_log_metrics
group: monasca-log-metrics
enabled: true
enabled: "{{ monasca_enable_log_metrics_service | bool }}"
image: "{{ monasca_logstash_image_full }}"
volumes: "{{ monasca_log_metrics_default_volumes + monasca_log_metrics_extra_volumes }}"
dimensions: "{{ monasca_log_metrics_dimensions }}"
@ -125,6 +125,11 @@ monasca_influxdb_retention_policy:
####################
# Monasca
####################
# NOTE(dszumski): This can be removed in the Xena cycle when the
# log metrics service is removed
monasca_enable_log_metrics_service: False
monasca_kafka_servers: "{% for host in groups['kafka'] %}{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ kafka_port }}{% if not loop.last %},{% endif %}{% endfor %}"
monasca_zookeeper_servers: "{% for host in groups['zookeeper'] %}{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ zookeeper_client_port }}{% if not loop.last %},{% endif %}{% endfor %}"
monasca_memcached_servers: "{% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}"

View File

@ -329,6 +329,11 @@ which you must run the cleanup command is given below:
- Upgrading from Victoria to Wallaby to remove the unused Monasca Log
Transformer service
- Upgrading from Victoria to Wallaby to remove the Monasca Log Metrics
service, unless the option to disable it by default has been overridden in
Wallaby.
- Upgrading from Wallaby to Xena to remove the Monasca Log Metrics service
if the option to disable it by default was overridden in Wallaby.
The cleanup command can be invoked from the Kolla Ansible CLI, for example:
@ -371,7 +376,7 @@ Monasca will deploy the following Docker containers:
* Monasca Agent Statsd
* Monasca API
* Monasca Log API
* Monasca Log Metrics (Logstash)
* Monasca Log Metrics (Logstash, optional, deprecated)
* Monasca Log Persister (Logstash)
* Monasca Notification
* Monasca Persister

View File

@ -0,0 +1,10 @@
---
upgrade:
- |
The Monasca Log Metrics service has been deprecated and is now
disabled by default. If you wish to enable it, you can set
`monasca_enable_log_metrics_service` to `True` in `globals.yml`.
deprecations:
- |
The Monasca Log Metrics service has been deprecated and will be
removed in the Xena release.