From 9ac0a0910e5c6521b86a2af36c818ee8c575510b Mon Sep 17 00:00:00 2001 From: Jeremy Liu Date: Wed, 19 Apr 2017 22:10:58 +0800 Subject: [PATCH] Fix gate devstack A recent patch in devstack [1] forces the use of path access instead of port for Keystone authentication, leading to connection error when launching the devstack. [1] https://review.openstack.org/#/c/456344/ Change-Id: I47b8035782bf27ee47227063381bc7dc041944b3 --- etc/barbican/barbican-functional.conf | 2 +- functionaltests/common/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/barbican/barbican-functional.conf b/etc/barbican/barbican-functional.conf index b9ce2bcfb..a8f17109e 100644 --- a/etc/barbican/barbican-functional.conf +++ b/etc/barbican/barbican-functional.conf @@ -2,7 +2,7 @@ [identity] # Replace these with values that represent your identity configuration -uri=http://localhost:5000/v3 +uri=http://localhost/identity/v3 version=v3 # Default user credentials diff --git a/functionaltests/common/config.py b/functionaltests/common/config.py index a83458b7d..4722fc30f 100644 --- a/functionaltests/common/config.py +++ b/functionaltests/common/config.py @@ -26,7 +26,7 @@ def setup_config(config_file=''): identity_group = cfg.OptGroup(name='identity') identity_options = [ - cfg.StrOpt('uri', default='http://localhost:5000/v3'), + cfg.StrOpt('uri', default='http://localhost/identity/v3'), cfg.StrOpt('version', default='v3'), cfg.StrOpt('username', default='admin'), cfg.StrOpt('password', default='secretadmin', secret=True),