Update auth_uri option to www_authenticate_uri
Option auth_uri from group keystone_authtoken is deprecated[1]. Use option www_authenticate_uri from group keystone_authtoken. [1]https://review.openstack.org/#/c/508522/ Change-Id: Ieff5b69018e3824074b5a528a7b9d2a00dd7fb2e
This commit is contained in:
parent
b4c395c79a
commit
7b8776e483
@ -247,8 +247,8 @@ function start_zaqar {
|
|||||||
run_process zaqar-websocket "$ZAQAR_BIN_DIR/zaqar-server --config-file $ZAQAR_CONF"
|
run_process zaqar-websocket "$ZAQAR_BIN_DIR/zaqar-server --config-file $ZAQAR_CONF"
|
||||||
|
|
||||||
echo "Waiting for Zaqar to start..."
|
echo "Waiting for Zaqar to start..."
|
||||||
local auth_uri=http://${ZAQAR_SERVICE_HOST}/identity
|
local www_authenticate_uri=http://${ZAQAR_SERVICE_HOST}/identity
|
||||||
token=$(openstack token issue -c id -f value --os-auth-url ${auth_uri})
|
token=$(openstack token issue -c id -f value --os-auth-url ${www_authenticate_uri})
|
||||||
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q --header=\"Client-ID:$(uuidgen)\" --header=\"X-Auth-Token:$token\" -O- $ZAQAR_SERVICE_PROTOCOL://$ZAQAR_SERVICE_HOST:$ZAQAR_SERVICE_PORT/v2/ping; do sleep 1; done"; then
|
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q --header=\"Client-ID:$(uuidgen)\" --header=\"X-Auth-Token:$token\" -O- $ZAQAR_SERVICE_PROTOCOL://$ZAQAR_SERVICE_HOST:$ZAQAR_SERVICE_PORT/v2/ping; do sleep 1; done"; then
|
||||||
die $LINENO "Zaqar did not start"
|
die $LINENO "Zaqar did not start"
|
||||||
fi
|
fi
|
||||||
|
@ -65,8 +65,8 @@ source $ZAQAR_DEVSTACK_DIR/plugin.sh
|
|||||||
set -o xtrace
|
set -o xtrace
|
||||||
|
|
||||||
function wait_for_keystone {
|
function wait_for_keystone {
|
||||||
local auth_uri=http://${ZAQAR_SERVICE_HOST}/identity
|
local www_authenticate_uri=http://${ZAQAR_SERVICE_HOST}/identity
|
||||||
if ! wait_for_service $SERVICE_TIMEOUT ${auth_uri}/v$IDENTITY_API_VERSION/; then
|
if ! wait_for_service $SERVICE_TIMEOUT ${www_authenticate_uri}/v$IDENTITY_API_VERSION/; then
|
||||||
die $LINENO "keystone did not start"
|
die $LINENO "keystone did not start"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -393,7 +393,7 @@ Install and configure ``memcached``, ``uWSGI`` and Messaging on the web server
|
|||||||
password = ZAQARIDENTITYPASSWORD
|
password = ZAQARIDENTITYPASSWORD
|
||||||
# Complete public Identity API endpoint (HTTPS protocol is more preferable
|
# Complete public Identity API endpoint (HTTPS protocol is more preferable
|
||||||
# than HTTP).
|
# than HTTP).
|
||||||
auth_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:5000
|
www_authenticate_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:5000
|
||||||
# Complete admin Identity API endpoint (HTTPS protocol is more preferable
|
# Complete admin Identity API endpoint (HTTPS protocol is more preferable
|
||||||
# than HTTP).
|
# than HTTP).
|
||||||
auth_url = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:35357
|
auth_url = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:35357
|
||||||
|
@ -393,7 +393,7 @@ Install and configure ``memcached``, ``uWSGI`` and Messaging on the web server
|
|||||||
password = ZAQARIDENTITYPASSWORD
|
password = ZAQARIDENTITYPASSWORD
|
||||||
# Complete public Identity API endpoint (HTTPS protocol is more preferable
|
# Complete public Identity API endpoint (HTTPS protocol is more preferable
|
||||||
# than HTTP).
|
# than HTTP).
|
||||||
auth_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:5000
|
www_authenticate_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:5000
|
||||||
# Complete admin Identity API endpoint (HTTPS protocol is more preferable
|
# Complete admin Identity API endpoint (HTTPS protocol is more preferable
|
||||||
# than HTTP).
|
# than HTTP).
|
||||||
identity_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:35357
|
identity_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:35357
|
||||||
|
@ -381,7 +381,7 @@ Install and configure ``memcached``, ``uWSGI`` and Messaging on the web server
|
|||||||
password = ZAQARIDENTITYPASSWORD
|
password = ZAQARIDENTITYPASSWORD
|
||||||
# Complete public Identity API endpoint (HTTPS protocol is more preferable
|
# Complete public Identity API endpoint (HTTPS protocol is more preferable
|
||||||
# than HTTP).
|
# than HTTP).
|
||||||
auth_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:5000
|
www_authenticate_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:5000
|
||||||
# Complete admin Identity API endpoint (HTTPS protocol is more preferable
|
# Complete admin Identity API endpoint (HTTPS protocol is more preferable
|
||||||
# than HTTP).
|
# than HTTP).
|
||||||
identity_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:35357
|
identity_uri = HTTPS://IDENTITY.EXAMPLE-MESSAGES.NET:35357
|
||||||
|
Loading…
Reference in New Issue
Block a user