Enable neutron-sriov-agent health check

This patch enables health check execution for neutron-sriov-agent docker container.

Change-Id: I96e93c2eade261f3a3f44f5b8ffd4c1d75274c15
Depends-On: Ief543580e6b717bb9dba62b19ffe12aff5395ff9
Depends-On: Id5dc7d169301e45cb0abab7cecae67457db9fd96
This commit is contained in:
Martin Mágr 2018-03-22 13:26:40 +01:00 committed by Martin Magr
parent 81b2f888a1
commit 9473817a09

View File

@ -97,6 +97,15 @@ outputs:
pid: host
privileged: true
restart: always
healthcheck:
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_attr: [NeutronSriovAgentBase, role_data, config_settings, 'neutron::rabbit_port']}
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}