Add healthcheck for nova-virtlogd container

This change sets healthcheck command for nova-virtlogd container,
which is added in tripleo-common repo in change [1].

[1] I9c76855169448a125541c94d480a4afd49ff6d0e

Depends-On: https://review.opendev.org/#/c/693674/
Change-Id: I787edced7c14d04b2fe2342c4b3c830a329dbaf9
This commit is contained in:
Rajesh Tailor 2019-11-11 11:05:33 +05:30
parent fb0dbebf9b
commit 730ae4a784
1 changed files with 3 additions and 1 deletions

View File

@ -645,6 +645,8 @@ outputs:
security_opt: label=disable
privileged: true
restart: always
healthcheck:
test: '/openstack/healthcheck virtlogd'
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
@ -681,7 +683,7 @@ outputs:
depends_on:
- tripleo_nova_virtlogd
healthcheck:
test: /openstack/healthcheck
test: '/openstack/healthcheck libvirtd'
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}