Browse Source

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
changes/65/197865/1
Eli Qiao 6 years ago
parent
commit
d200a816d8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      devstack/lib/magnum

+ 2
- 0
devstack/lib/magnum View File

@ -135,6 +135,8 @@ function create_magnum_conf {
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
# magnum defaults to /usr/local/bin, but fedora and suse pip like to
# install things in /usr/bin


Loading…
Cancel
Save