Swith auth_uri to use v2.0

When using admin creds in periodic task, the auth_uri is not correct.

Partial-Implements: blueprint add-periodic-task
Change-Id: I9febdc5831c8ab1c684268fa0d7b64f23b7ba238
This commit is contained in:
Eli Qiao 2015-07-02 15:26:03 +08:00
parent eb7abda967
commit d200a816d8
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ function create_magnum_conf {
configure_auth_token_middleware $MAGNUM_CONF magnum $MAGNUM_AUTH_CACHE_DIR configure_auth_token_middleware $MAGNUM_CONF magnum $MAGNUM_AUTH_CACHE_DIR
iniset $MAGNUM_CONF keystone_authtoken auth_uri $KEYSTONE_SERVICE_URI/v2.0
if is_fedora || is_suse; then if is_fedora || is_suse; then
# magnum defaults to /usr/local/bin, but fedora and suse pip like to # magnum defaults to /usr/local/bin, but fedora and suse pip like to
# install things in /usr/bin # install things in /usr/bin