placement: Add missing healthcheck for extracted service
Change-Id: I637b5af8c2ad4c2744d8ac65f198717cbba1cb6a
This commit is contained in:
parent
b98d1ac1f1
commit
27d7c6bd17
@ -549,6 +549,12 @@ RUN mkdir -p /openstack && \
|
||||
chmod a+rx /openstack/healthcheck
|
||||
{% endblock %}
|
||||
|
||||
{% block placement_api_footer %}
|
||||
RUN mkdir -p /openstack && \
|
||||
ln -s /usr/share/openstack-tripleo-common/healthcheck/placement-api /openstack/healthcheck && \
|
||||
chmod a+rx /openstack/healthcheck
|
||||
{% endblock %}
|
||||
|
||||
{% block rabbitmq_install_plugins %}
|
||||
# External rabbitmq plugins installation is disabled
|
||||
{% endblock %}
|
||||
|
6
healthcheck/placement-api
Executable file
6
healthcheck/placement-api
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
||||
|
||||
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-placement_wsgi.conf)
|
||||
healthcheck_curl ${check_url}
|
Loading…
Reference in New Issue
Block a user