summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-07-22 02:41:29 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-22 02:41:29 +0000
commit66f4a30987f870d5a6416b2c46c7dfb95130b4d9 (patch)
treeb3a74e79b5e145379dbe3995a71bce65847e22bc /lib
parent605514ba7d4d1d251aaae7018589629cd6e2a1c7 (diff)
parent58f428fdf5b0688fc5a8c5348154da62e087f769 (diff)
Merge "Adding tacker support"
Diffstat (limited to 'lib')
-rwxr-xr-xlib/overcloud-deploy-functions.sh4
-rwxr-xr-xlib/post-install-functions.sh5
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 0c3f9d44..14c37247 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -199,6 +199,10 @@ if [ "$debug" == 'TRUE' ]; then
LIBGUESTFS_BACKEND=direct virt-customize -a overcloud-full.qcow2 --root-password password:opnfvapex
fi
+if [ "${deploy_options_array['tacker']}" == 'True' ]; then
+ sed -i '/EnableTacker/\\c EnableTacker: true' opnfv-environment.yaml
+fi
+
source stackrc
set -o errexit
# Workaround for APEX-207 where sometimes swift proxy is down
diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh
index 8ccd896f..af72d8f9 100755
--- a/lib/post-install-functions.sh
+++ b/lib/post-install-functions.sh
@@ -158,6 +158,11 @@ if [ "$debug" == "TRUE" ]; then
echo "---------------------------"
echo "----------END LOG----------"
echo "---------------------------"
+
+ ssh -T ${SSH_OPTIONS[@]} "heat-admin@\$node" <<EOF
+echo "$node"
+sudo openstack-status
+EOF
fi
ssh -T ${SSH_OPTIONS[@]} "heat-admin@\$node" <<EOF
sudo rm -f /home/heat-admin/messages.log