diff options
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/check_os.sh')
-rwxr-xr-x | testcases/VIM/OpenStack/CI/libraries/check_os.sh | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/check_os.sh b/testcases/VIM/OpenStack/CI/libraries/check_os.sh index 560205261..63d4ea696 100755 --- a/testcases/VIM/OpenStack/CI/libraries/check_os.sh +++ b/testcases/VIM/OpenStack/CI/libraries/check_os.sh @@ -31,7 +31,7 @@ echo ">>Verifying connectivity to the public endpoint $publicIP:$publicPort..." verify_connectivity $publicIP $publicPort RETVAL=$? if [ $RETVAL -ne 0 ]; then - echo "ERROR: Cannot talk to the public endpoint publicIP:$publicPort ." + echo "ERROR: Cannot talk to the public endpoint $publicIP:$publicPort ." echo "OS_AUTH_URL=$OS_AUTH_URL" exit 1 fi @@ -44,8 +44,8 @@ echo ">>Verifying connectivity to the admin endpoint $adminIP:$adminPort..." verify_connectivity $adminIP $adminPort RETVAL=$? if [ $RETVAL -ne 0 ]; then - echo "ERROR: Cannot talk to the admin endpoint adminIP:$adminPort ." - echo "adminURL" + echo "ERROR: Cannot talk to the admin endpoint $adminIP:$adminPort ." + echo "$adminURL" exit 1 fi echo " ...OK" @@ -88,4 +88,26 @@ if [ $is_external == "False" ]; then exit 1 fi + +# Temporary output information +# To see the initial OpenStack defaults +# in case we delete something later on. +# This is to be removed for the release +echo "nova list:" +nova list +echo "cinder list" +cinder list +echo "nova floating-ip-list:" +nova floating-ip-list +echo "neutron net-list:" +neutron net-list +echo "neutron router-list:" +neutron router-list +echo "neutron security-group-list:" +neutron security-group-list +echo "keystone tenant-list:" +keystone tenant-list +echo "keystone user-list:" +keystone user-list + exit 0 |