diff options
author | Tim Rozet <trozet@redhat.com> | 2016-02-12 14:50:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-12 14:50:05 +0000 |
commit | 3a2e589d3055cabf417072c18b3d53ce72643bde (patch) | |
tree | 118ffbe18084f21b60517aac90f84b82bc5092ae /ci | |
parent | 8ba5f69c28340c89276a14d34007b97f0d06d25c (diff) | |
parent | 9a1ad598d448df0e1cf4523f55eed28716ad2468 (diff) |
Merge "Display overcloud dashboard URL after deploy" into stable/brahmaputra
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 092f5c14..39f76c03 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -999,7 +999,7 @@ for node in \$(nova list | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"); do sudo chown heat-admin /home/heat-admin/messages.log EOF scp ${SSH_OPTIONS[@]} heat-admin@\$node:/home/heat-admin/messages.log ~/deploy_logs/\$node.messages.log -if [ \$debug == "TRUE" ]; then +if [ "\$debug" == "TRUE" ]; then nova list --ip \$node echo "---------------------------" echo "-----/var/log/messages-----" @@ -1014,6 +1014,12 @@ fi EOF done EOI + + # Print out the dashboard URL + source stackrc + publicvip=$(heat output-show overcloud PublicVip | sed 's/"//g') + echo "Overcloud dashboard available at http://$publicvip/dashboard" + } display_usage() { |