diff options
-rwxr-xr-x | deploy/check_openstack_progress.sh | 4 | ||||
-rwxr-xr-x | deploy/check_os_progress.sh | 2 |
2 files changed, 6 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 diff --git a/deploy/check_os_progress.sh b/deploy/check_os_progress.sh index e742467c..fe452503 100755 --- a/deploy/check_os_progress.sh +++ b/deploy/check_os_progress.sh @@ -62,6 +62,8 @@ while true; do break elif [ $os_install_failed -gt 0 ]; then echo "os installing have failed..." + echo "this is the daisy api log" + cat /var/log/daisy/api.log |grep -v wsgi exit 1 else progress=`daisy host-list --cluster-id $cluster_id |grep DISCOVERY_SUCCESSFUL |awk -F "|" '{print $7}'|sed s/[[:space:]]//g|sed ':a;N;$ s/\n/ /g;ba'` |