Fix OpenSearch Dashboards health check

The OpenSearch Dashboards container does not have a health
check defined when created. This causes the container to always
restart when reconfigured, even if no change has been made.

Change-Id: I0b437a77aeb61bc5ae9238f900a1fa00cbc34e18
Partial-Bug: #2028362
This commit is contained in:
Doug Szumski 2023-07-21 16:45:37 +01:00
parent 49d891e85f
commit bacd6c7f4f
2 changed files with 7 additions and 0 deletions

View File

@ -29,5 +29,6 @@
image: "{{ service.image }}" image: "{{ service.image }}"
name: "{{ service.container_name }}" name: "{{ service.container_name }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
healthcheck: "{{ service.healthcheck | default(omit) }}"
when: when:
- kolla_action != "config" - kolla_action != "config"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue where a Docker health check wasn't configured for
the OpenSearch Dashboards container. See bug `2028362
<https://bugs.launchpad.net/kolla-ansible/+bug/2028362>`__.