Merge "Enable health check for OVN containers" into stable/rocky

This commit is contained in:
Zuul 2019-01-17 01:06:28 +00:00 committed by Gerrit Code Review
commit c51320ac95
2 changed files with 11 additions and 0 deletions

View File

@ -108,6 +108,15 @@ outputs:
privileged: true
user: root
restart: always
healthcheck:
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_attr: [OvnControllerBase, role_data, config_settings, 'ovn::southbound::port']}
volumes:
- /var/lib/kolla/config_files/ovn_controller.json:/var/lib/kolla/config_files/config.json:ro
- /lib/modules:/lib/modules:ro

View File

@ -179,6 +179,8 @@ outputs:
net: host
privileged: false
restart: always
healthcheck:
test: /openstack/healthcheck
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}