diff --git a/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh b/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh index b1d352a9..072ce0e1 100755 --- a/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh +++ b/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh @@ -109,7 +109,9 @@ if [ $? -eq 0 ]; then else - if grep 'Flavor' otc_tools.log > /dev/null; then + if grep '401 Unauthorized' otc_tools.log > /dev/null; then + echo "### API username or password is incorrect" + elif grep 'Flavor' otc_tools.log > /dev/null; then echo "### Specified ECS Flavor not found" elif grep 'No image found by name' otc_tools.log > /dev/null; then echo "### Specified Image not found"