From 9afd7790cf0004a2b7f9c4f238fcc94f92742113 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Sun, 20 Dec 2015 17:22:58 -0500 Subject: [PATCH] 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 --- magnum/tests/contrib/post_test_hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/magnum/tests/contrib/post_test_hook.sh b/magnum/tests/contrib/post_test_hook.sh index 75f8180336..e1b2ef4f12 100755 --- a/magnum/tests/contrib/post_test_hook.sh +++ b/magnum/tests/contrib/post_test_hook.sh @@ -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