Enable zaqar healthchecks

Depends-On: I0d5ea0ba630714f7ec3ca4f1361e3235320e52d7
Change-Id: I6f53fdaa56871298416ebbba31106d31058517e1
(cherry picked from commit 66beffe151)
This commit is contained in:
Cédric Jeanneret 2019-04-26 15:25:25 +02:00
parent c9bc2894e3
commit 835b862c98
1 changed files with 8 additions and 0 deletions

View File

@ -304,6 +304,8 @@ outputs:
# NOTE(mandre) kolla image changes the user to 'zaqar', we need it
# to be root to run httpd
user: root
healthcheck:
test: /usr/share/openstack-tripleo-common/healthcheck/zaqar-api
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
@ -329,6 +331,12 @@ outputs:
net: host
privileged: false
restart: always
healthcheck:
test:
list_join:
- ' '
- - '/usr/share/openstack-tripleo-common/healthcheck/zaqar-api'
- {get_param: [EndpointMap, ZaqarWebSocketInternal, port]}
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}