Fix grenade upgrade API check URL path
Previously, the grenade API started check during the upgrade was checking if the root of the web server was functioning. In this job that is testing the horizon endpoint and not the designate API. This patch fixes this to have the check run against the designate endpoint under apache. This prevents false failures when horizon has an issue. Change-Id: Idbfec1adca2024cd5f352017a7c9319dcec65d42
This commit is contained in:
parent
beb75cc529
commit
b0e83084c2
@ -88,7 +88,7 @@ if is_service_enabled designate-api && is_service_enabled tls-proxy; then
|
||||
start_tls_proxy '*' $DESIGNATE_SERVICE_PORT $DESIGNATE_SERVICE_HOST $DESIGNATE_SERVICE_PORT_INT &
|
||||
fi
|
||||
|
||||
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- $DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT; do sleep 1; done"; then
|
||||
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- $DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/dns; do sleep 1; done"; then
|
||||
die $LINENO "Designate did not start"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user