Enable zaqar healthchecks
Depends-On: I0d5ea0ba630714f7ec3ca4f1361e3235320e52d7 Change-Id: I6f53fdaa56871298416ebbba31106d31058517e1
This commit is contained in:
parent
62ffd0683d
commit
66beffe151
@ -304,6 +304,8 @@ outputs:
|
|||||||
# NOTE(mandre) kolla image changes the user to 'zaqar', we need it
|
# NOTE(mandre) kolla image changes the user to 'zaqar', we need it
|
||||||
# to be root to run httpd
|
# to be root to run httpd
|
||||||
user: root
|
user: root
|
||||||
|
healthcheck:
|
||||||
|
test: /usr/share/openstack-tripleo-common/healthcheck/zaqar-api
|
||||||
volumes:
|
volumes:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
@ -329,6 +331,12 @@ outputs:
|
|||||||
net: host
|
net: host
|
||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
list_join:
|
||||||
|
- ' '
|
||||||
|
- - '/usr/share/openstack-tripleo-common/healthcheck/zaqar-api'
|
||||||
|
- {get_param: [EndpointMap, ZaqarWebSocketInternal, port]}
|
||||||
volumes:
|
volumes:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
|
Loading…
Reference in New Issue
Block a user