b39a0f805a
The Monasca Log API has been removed and in this change we switch to using the unified API. If dedicated log APIs are required then this can be supported through configuration. Out of the box the Monasca API is used for both logs and metrics which is envisaged to work for most use cases. In order to use the unified API for logs, we need to disable the legacy Kafka client. We also rename the Monasca API config file to remove a warning about using the old style name. Depends-On: https://review.opendev.org/#/c/728638 Change-Id: I9b6bf5b6690f4b4b3445e7d15a40e45dd42d2e84
20 lines
490 B
YAML
20 lines
490 B
YAML
---
|
|
# TODO(dszumski): Remove this in the V cycle once all old containers have been
|
|
# stopped.
|
|
- name: Stopping old monasca-log-api containers
|
|
become: true
|
|
kolla_docker:
|
|
action: "stop_and_remove_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "monasca_log_api"
|
|
|
|
- include_tasks: config.yml
|
|
|
|
- include_tasks: register.yml
|
|
when: inventory_hostname in groups['monasca-api']
|
|
|
|
- include_tasks: bootstrap_service.yml
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|