tripleo-common/healthcheck/nova-placement
Alex Schultz 94886c3b1f Fix nova-placement healthcheck
The correct url to check for the placement api service includes
/placement/.

Depends-On: I0cf206e8ceeecfca17dd99a83b8c2eaa50e66712
Change-Id: I5e0318e1da9a48a2dc6dcd6d8eb726c6f85e7d45
Closes-Bug: #1766375
2018-04-24 04:15:32 +00:00

7 lines
210 B
Bash
Executable File

#!/bin/sh
. ${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}/placement/