Temporary work around of functional test failure

Unset variables OS_PROJECT_DOMAIN_ID and OS_USER_DOMAIN_ID. These
variables are for keystone v3, but magnum is using v2 API.

Change-Id: I948e296f881033bd41f584dbbadd036cd9d29030
Partial-Bug: #1473600
This commit is contained in:
Hongbin Lu 2015-07-11 13:25:24 -04:00
parent de608c2773
commit 60c7b7e54c
1 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,12 @@ sudo chown -R jenkins:stack $MAGNUM_DIR
# Get admin credentials
pushd ../devstack
source openrc admin admin
# NOTE(hongbin): This is a temporary work around. These variables are for
# keystone v3, but magnum is using v2 API. Therefore, unset them to make the
# keystoneclient work.
# Bug: #1473600
unset OS_PROJECT_DOMAIN_ID
unset OS_USER_DOMAIN_ID
popd
# First we test Magnum's command line to see if we can stand up