Merge "placement: Add missing healthcheck for extracted service"
This commit is contained in:
commit
bb71524988
@ -548,6 +548,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…
x
Reference in New Issue
Block a user