diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2020-03-19 12:23:41 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2020-03-19 12:24:59 +0100 |
| commit | b2d45e5b87632205c848ab50b3629405ed90207a (patch) | |
| tree | dc0c3493e31f825fa40647752c9b1aa48d851645 /tests | |
| parent | 31fe3c06510312b4f6dc946d6d830ed415b9e1ac (diff) | |
| download | kolla-ansible-b2d45e5b87632205c848ab50b3629405ed90207a.tar.gz kolla-ansible-b2d45e5b87632205c848ab50b3629405ed90207a.zip | |
CI: Add instance console log to test-core-openstack.sh
Sometimes ping & ssh to the instance are failing - outputting instance console
log can help in the case when there are metadata access issues (or other
issues).
Change-Id: I8437300d621448782e964d877b2614ca606f5849
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test-core-openstack.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-core-openstack.sh b/tests/test-core-openstack.sh index 7208c4a7c..01c83aa80 100755 --- a/tests/test-core-openstack.sh +++ b/tests/test-core-openstack.sh @@ -82,6 +82,8 @@ function test_instance_boot { break elif [[ $i -eq ${attempts} ]]; then echo "Failed to access server via SSH after ${attempts} attempts" + echo "Console log:" + openstack console log show kolla_boot_test return 1 else echo "Cannot access server - retrying" |
