aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-11 18:20:11 +0000
committerGerrit Code Review <review@openstack.org>2015-12-11 18:20:11 +0000
commitb2ba81bbdb4e43aaf03c761752d3ae13e36fa41d (patch)
tree50ab1a48825a81488a5a7cacdb710ef2433c8f51
parent395dce522a2b02e3eddca647a4c985b66eb62795 (diff)
parent6190411d199b8c2e03c3a8d684a219ea99782737 (diff)
downloadkolla-b2ba81bbdb4e43aaf03c761752d3ae13e36fa41d.tar.gz
kolla-b2ba81bbdb4e43aaf03c761752d3ae13e36fa41d.zip
Merge "Improve ansible deployment failure reporting"
-rwxr-xr-xtests/deploy_aio.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/deploy_aio.sh b/tests/deploy_aio.sh
index 2d76aca8d..e82bb5233 100755
--- a/tests/deploy_aio.sh
+++ b/tests/deploy_aio.sh
@@ -7,7 +7,9 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
function print_failure {
docker ps -a
- docker logs bootstrap_keystone
+ for failed in $(docker ps -a --format "{{.Names}}" --filter status=exited); do
+ docker logs --tail=all $failed
+ done
echo "FAILED"
exit 1
}