Enable ceilometer-agent-compute health check

This patch enables health check execution for ceilometer-agent-compute
docker container.

Change-Id: I9041c817c18ce68bf1fa9bb72c6bc7429d50cb25
Depends-On: I4a193d7ce1c455da2865498470ed3b98160df112
Depends-On: Id5dc7d169301e45cb0abab7cecae67457db9fd96
This commit is contained in:
Martin Mágr 2018-03-13 13:15:43 +01:00
parent 8928159316
commit ebf0db0d73

View File

@ -87,6 +87,15 @@ outputs:
net: host
privileged: false
restart: always
healthcheck:
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_attr: [CeilometerAgentComputeBase, role_data, config_settings, 'ceilometer::rabbit_port']}
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}