diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-01-25 11:17:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-25 11:17:06 +0000 |
commit | 6b16114388d9b8d82b841156e0e31c83ac3ab59f (patch) | |
tree | a83832fe3cb1183e490fe0a70a923b19bb9c8a12 /utils | |
parent | d7b0f96d7cf41f2e3b147a067101b848009bb7c2 (diff) | |
parent | 1ca0202d3ed851840415ec66c910adf7d99ba518 (diff) |
Merge "[Fuel] [Functest] Change AUTH_URL to use v3 in the RC file"
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/fetch_os_creds.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh index 856f69a27..c1e21f316 100755 --- a/utils/fetch_os_creds.sh +++ b/utils/fetch_os_creds.sh @@ -121,6 +121,14 @@ if [ "$installer_type" == "fuel" ]; then # but sometimes the output of endpoint-list is like this: http://172.30.9.70:8004/v1/%(tenant_id)s # Fuel virtual need a fix + #convert to v3 URL + auth_url=$(cat $dest_path|grep AUTH_URL) + if [[ -z `echo $auth_url |grep v3` ]]; then + auth_url=$(echo $auth_url |sed "s|'$|v3&|") + fi + sed -i '/AUTH_URL/d' $dest_path + echo $auth_url >> $dest_path + elif [ "$installer_type" == "apex" ]; then verify_connectivity $installer_ip |