diff options
| author | Martin André <m.andre@redhat.com> | 2015-12-11 16:41:57 +0900 |
|---|---|---|
| committer | Martin André <m.andre@redhat.com> | 2015-12-11 16:48:14 +0900 |
| commit | 6190411d199b8c2e03c3a8d684a219ea99782737 (patch) | |
| tree | 62d95c62d923235dec067624b66aaf56554707ba | |
| parent | a98628453b0c1fc72692376abd873cbccb5a35a9 (diff) | |
| download | kolla-6190411d199b8c2e03c3a8d684a219ea99782737.tar.gz kolla-6190411d199b8c2e03c3a8d684a219ea99782737.zip | |
Improve ansible deployment failure reporting
Change-Id: I73395afa2a2d8f3dc835e010e3b1959ec725da2a
Closes-Bug: #1525102
Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
| -rwxr-xr-x | tests/deploy_aio.sh | 4 |
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 } |
