Merge "Control Masakari monitors deploy"

This commit is contained in:
Zuul 2022-05-31 15:56:25 +00:00 committed by Gerrit Code Review
commit 84ece4de0d
4 changed files with 18 additions and 5 deletions

View File

@ -663,6 +663,8 @@ enable_manila_backend_cephfs_nfs: "no"
enable_manila_backend_glusterfs_nfs: "no"
enable_mariabackup: "no"
enable_masakari: "no"
enable_masakari_instancemonitor: "{{ enable_masakari | bool }}"
enable_masakari_hostmonitor: "{{ enable_masakari | bool }}"
enable_mistral: "no"
enable_monasca: "no"
enable_multipathd: "no"

View File

@ -28,7 +28,7 @@ masakari_services:
masakari-instancemonitor:
container_name: masakari_instancemonitor
group: masakari-instancemonitor
enabled: true
enabled: "{{ enable_masakari_instancemonitor | bool }}"
image: "{{ masakari_monitors_image_full }}"
volumes: "{{ masakari_instancemonitor_default_volumes + masakari_instancemonitor_extra_volumes }}"
privileged: True
@ -36,7 +36,7 @@ masakari_services:
masakari-hostmonitor:
container_name: masakari_hostmonitor
group: masakari-hostmonitor
enabled: true
enabled: "{{ enable_masakari_hostmonitor | bool }}"
ipc_mode: host
image: "{{ masakari_monitors_image_full }}"
volumes: "{{ masakari_hostmonitor_default_volumes + masakari_hostmonitor_extra_volumes }}"

View File

@ -13,6 +13,9 @@ KVM-based Virtual Machine(VM)s from failure events such as VM process down,
provisioning process down, and nova-compute host failure. Masakari also
provides an API service to manage and control the automated rescue mechanism.
Kolla deploys Masakari API, Masakari Engine and Masakari Instance Monitor
containers which are the main Masakari components only if ``enable_masakari``
is set in ``/etc/kolla/globals.yml``.
Kolla deploys Masakari API, Masakari Engine and Masakari Monitor containers
which are the main Masakari components only if ``enable_masakari`` is set in
``/etc/kolla/globals.yml``. By default, both the Masakari Host Monitor and
Masakari Instance Monitor containers are enabled. The deployment of each type
of monitors can be controlled individually via
``enable_masakari_instancemonitor`` and ``enable_masakari_hostmonitor``.

View File

@ -0,0 +1,8 @@
---
features:
- |
New switches added to control deployment of the Masakari monitors. The
deployment of each type of monitors can be controlled individually via
``enable_masakari_instancemonitor`` and ``enable_masakari_hostmonitor``.
By default, both are set to ``true`` when the deployment of the Masakari
is enabled via ``enable_masakari``.