diff options
author | root <zhou.ya@zte.com.cn> | 2017-07-24 15:20:29 +0800 |
---|---|---|
committer | root <zhou.ya@zte.com.cn> | 2017-07-24 15:20:41 +0800 |
commit | 7ac1730803aac27f1c9bbc2e83f158fbb77ffab6 (patch) | |
tree | 11e46d80e9560056543ead041b0dcc6566c5e600 /deploy/check_openstack_progress.sh | |
parent | 31f3c22980904fbdbe01c85be1c7d9d5f06b8c7f (diff) |
when deploy have failed print the api log
Change-Id: I6047340f7f0d2c7b6b175335bdbf836a2a8d0a9c
Signed-off-by: root <zhou.ya@zte.com.cn>
Diffstat (limited to 'deploy/check_openstack_progress.sh')
-rwxr-xr-x | deploy/check_openstack_progress.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/check_openstack_progress.sh b/deploy/check_openstack_progress.sh index 15dbcdda..7fa16524 100755 --- a/deploy/check_openstack_progress.sh +++ b/deploy/check_openstack_progress.sh @@ -52,6 +52,10 @@ while true; do break elif [ $openstack_install_failed -gt 0 ]; then echo "openstack installing have failed..." + echo "this is the daisy api log" + cat /var/log/daisy/api.log |grep -v wsgi + echo "----------------------------------------------------" + echo "this is the kolla install log" tail -n 200 /var/log/daisy/kolla_$cluster_id* exit 1 else |