Enable health check for OVN containers
This patch enables container health check execution for ovn_controller and ovn_dbs_bundle containers. Change-Id: Ie519e9684dc527cc384e11fb8f32b532dd2da1d7 Depends-On: Ie724b155fa071da9f1baee193cf79e2ecdc2ff30
This commit is contained in:
parent
8928159316
commit
e44d9deef0
@ -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
|
||||
|
@ -179,6 +179,8 @@ outputs:
|
||||
net: host
|
||||
privileged: false
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: /openstack/healthcheck
|
||||
volumes:
|
||||
list_concat:
|
||||
- {get_attr: [ContainersCommon, volumes]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user