From a4024e43c35e2c319c73b5730c94f02d80145e90 Mon Sep 17 00:00:00 2001 From: Nikolas Hermanns Date: Wed, 11 Jan 2017 13:18:57 +0100 Subject: [FUNCTEST] Correct right ip is used for public endpoint At the moment it was done in a fishy way to grep for the public ip. This commit fixes it. Change-Id: If14488c18c67cd66e885a7376e1c50a3a28e17f7 Signed-off-by: Nikolas Hermanns --- functest/ci/check_os.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest') diff --git a/functest/ci/check_os.sh b/functest/ci/check_os.sh index 053796d9..e2471026 100755 --- a/functest/ci/check_os.sh +++ b/functest/ci/check_os.sh @@ -24,7 +24,7 @@ fi echo "Checking OpenStack endpoints:" -publicURL=$OS_AUTH_URL +publicURL=$(openstack catalog show identity |awk '/public/ {print $4}') publicIP=$(echo $publicURL|sed 's/^.*http\:\/\///'|sed 's/.[^:]*$//') publicPort=$(echo $publicURL|sed 's/^.*://'|sed 's/\/.*$//') echo ">>Verifying connectivity to the public endpoint $publicIP:$publicPort..." -- cgit 1.2.3-korg