summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chapman <woppin@gmail.com>2016-02-08 14:55:39 +1100
committerMichael Chapman <woppin@gmail.com>2016-02-12 13:58:15 +1100
commit9a1ad598d448df0e1cf4523f55eed28716ad2468 (patch)
treefecbf880588e42981be0113dab558d96b4865a19
parent0a3395de7c689f7849cf672da6e2d52067343982 (diff)
Display overcloud dashboard URL after deploy
JIRA: APEX-82 Change-Id: I0f2164a67b425ae5c99cd6bfee2182b23867b4cf (cherry picked from commit 82e32f63fd821baeddbe369d194d8c69f1cef358)
-rwxr-xr-xci/deploy.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index a7d803d8..ad7d0d1b 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() {