Gate: Fixed an empty service catalog error

After python-novaclient upgrade from 2.X to 3.X, the gate started
failing with the error below:

nova keypair-add --pub-key /home/jenkins/.ssh/id_rsa.pub default
ERROR (EmptyCatalog): The service catalog is empty.

This commit temporarily works around it by unseting OS_AUTH_TYPE
variable.

See: https://bugs.launchpad.net/python-keystoneclient/+bug/1519624

Change-Id: Ie194c5b4e3555572eba61767621e53b0b06b9ece
Closes-Bug: #1528059
This commit is contained in:
Hongbin Lu 2015-12-20 17:22:58 -05:00
parent aa82107e7b
commit 9afd7790cf
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ source openrc admin admin
# Bug: #1473600
unset OS_PROJECT_DOMAIN_ID
unset OS_USER_DOMAIN_ID
unset OS_AUTH_TYPE
popd
# First we test Magnum's command line to see if we can stand up