summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2017-01-23 10:42:01 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2017-01-23 10:42:01 -0800
commitd1a2befd94933284fcc045df4ff764b46f4fa920 (patch)
tree66235e69cd8690d646f8ab4b8c027645d492a1f1 /tests
parent0fa11c3ca480d11ca43f8accd94a2427742c7103 (diff)
auth_uri is required by keystonemiddleware
JIRA: MODELS-23 It was removed as no reference was found in tacker, but it is apparently used by keystonemiddleware, so restored and set to the keystone publicurl as noted by keystone in the tacker log. Change-Id: I333120805106cde9007f79a1b11a589b045cd3e9 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/utils/tacker-setup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils/tacker-setup.sh b/tests/utils/tacker-setup.sh
index da9e4a1..b06a983 100644
--- a/tests/utils/tacker-setup.sh
+++ b/tests/utils/tacker-setup.sh
@@ -250,8 +250,10 @@ function setup () {
# (not referenced) signing_dir = /var/cache/tacker
# (not referenced) cafile = /opt/stack/data/ca-bundle.pem
# (not referenced) auth_uri = http://15.184.66.78/identity
+ # auth_uri is required for keystonemiddleware.auth_token use of public identity endpoint
cat >>/usr/local/etc/tacker/tacker.conf <<EOF
[keystone_authtoken]
+auth_uri = $(openstack endpoint show keystone | awk "/ publicurl / { print \$4 }")
auth_url = $(openstack endpoint show keystone | awk "/ internalurl / { print \$4 }")
project_domain_name = Default
project_name = $service_project