Add healthcheck script for Nova metadata
This patch adds script for docker health check of Nova metadata API service. The script checks API service using curl. Existing script healthcheck/nova-metadata is also removed as this script is linked in nova_metadata_footer template block. This block does not exist (anymore?) and we have to have metadata check as part of nova-api check, because those two services share container image. Change-Id: I597efc57f9c564409b566c598d9d2467bb31d8cd
This commit is contained in:
@@ -399,12 +399,6 @@ RUN mkdir -p /openstack && \
|
||||
chmod a+rx /openstack/healthcheck
|
||||
{% endblock %}
|
||||
|
||||
{% block nova_metadata_footer %}
|
||||
RUN mkdir -p /openstack && \
|
||||
ln -s /usr/share/openstack-tripleo-common/healthcheck/nova-metadata /openstack/healthcheck && \
|
||||
chmod a+rx /openstack/healthcheck
|
||||
{% endblock %}
|
||||
|
||||
{% block nova_novncproxy_footer %}
|
||||
RUN mkdir -p /openstack && \
|
||||
ln -s /usr/share/openstack-tripleo-common/healthcheck/nova-vnc-proxy /openstack/healthcheck && \
|
||||
|
||||
Reference in New Issue
Block a user