summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-06-30 11:59:28 -0400
committerDan Radez <dradez@redhat.com>2016-07-20 15:28:34 -0400
commit58f428fdf5b0688fc5a8c5348154da62e087f769 (patch)
tree73183a3fa5990ea1fd461faae95ae16fed4b1c69 /lib
parente255c4e1bfc2ab88a8bf0636cd7ca43d30ffb52c (diff)
Adding tacker support
opnfv-tht-pr: 34 opnfv-puppet-tripleo-pr: 4 JIRA: APEX-126 Change-Id: I050e7ae2e94779c1886f670841aa4e2dec4aa8d2 Signed-off-by: Dan Radez <dradez@redhat.com>
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 a08739ab..b0354227 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -197,6 +197,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
echo "Uploading overcloud glance images"
diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh
index ec2ca89f..d0f4da44 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