Fix tls startup in devstack plugin
In [1] the definition of start_tls_proxy was changed, we need to have a service name as the first parameter now. Also set the correct protocol when tls-proxy is enabled. [1] Ifcba410f5969521e8b3d30f02795541c1661f83a Change-Id: I64e6f9aefcc8da5b9988fb7bff894d9a4205f871
This commit is contained in:
parent
1f237406a0
commit
8291126e4e
@ -312,7 +312,7 @@ function start_designate {
|
||||
|
||||
# Start proxies if enabled
|
||||
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 &
|
||||
start_tls_proxy designate-api '*' $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
|
||||
|
@ -27,6 +27,11 @@ DESIGNATE_ENABLED_EXTENSIONS_V1=${DESIGNATE_ENABLED_EXTENSIONS_V1:-"quotas"}
|
||||
DESIGNATE_ENABLED_EXTENSIONS_V2=${DESIGNATE_ENABLED_EXTENSIONS_V2:-""}
|
||||
DESIGNATE_ENABLED_EXTENSIONS_ADMIN=${DESIGNATE_ENABLED_EXTENSIONS_ADMIN:-"quotas"}
|
||||
|
||||
# Public facing bits
|
||||
if is_service_enabled tls-proxy; then
|
||||
DESIGNATE_SERVICE_PROTOCOL="https"
|
||||
fi
|
||||
|
||||
# Default IP/port settings
|
||||
DESIGNATE_SERVICE_PROTOCOL=${DESIGNATE_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
||||
DESIGNATE_SERVICE_HOST=${DESIGNATE_SERVICE_HOST:-$SERVICE_HOST}
|
||||
|
Loading…
x
Reference in New Issue
Block a user