From e1a633529c06a63f9c710317f25e63b8bd574812 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 9 Jan 2017 14:23:37 -0500 Subject: Adding congress support back into Danube opnfv-tht-pr: 97 opnfv-puppet-tripleo-pr: 10 Change-Id: Idfc109fc984f20b096a23d12864a027146a9c74c Signed-off-by: Dan Radez --- lib/overcloud-deploy-functions.sh | 5 +++++ lib/post-install-functions.sh | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index c28c7b0b..60aadd6c 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -58,6 +58,11 @@ function overcloud_deploy { DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/enable_tacker.yaml" fi + # Enable Congress + if [ "${deploy_options_array['congress']}" == 'True' ]; then + DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/enable_congress.yaml" + fi + # Make sure the correct overcloud image is available if [ ! -f $IMAGES/overcloud-full-${SDN_IMAGE}.qcow2 ]; then echo "${red} $IMAGES/overcloud-full-${SDN_IMAGE}.qcow2 is required to execute your deployment." diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh index b7235952..22d7c20d 100755 --- a/lib/post-install-functions.sh +++ b/lib/post-install-functions.sh @@ -129,9 +129,7 @@ if [ "${deploy_options_array['dataplane']}" == 'fdio' ] || [ "${deploy_options_a done fi -# TODO: Change this back to True once everything is back in -# place with tht and puppet-congress for deployment -if [ "${deploy_options_array['congress']}" == 'NeverTrue' ]; then +if [ "${deploy_options_array['congress']}" == 'True' ]; then ds_configs="--config username=\$OS_USERNAME --config tenant_name=\$OS_TENANT_NAME --config password=\$OS_PASSWORD @@ -268,8 +266,6 @@ if [[ "$ha_enabled" == 'True' ]]; then echo "${blue}\nChecking pacemaker service status\n${reset}" fi overcloud_connect "controller0" "for i in \$(sudo pcs status | grep '^* ' | cut -d ' ' -f 2 | cut -d '_' -f 1 | uniq); do echo \"WARNING: Service: \$i not running\"; done" - # trozet disable congress in HA until congress bugs are fixed - overcloud_connect "controller0" "sudo pcs resource ban openstack-congress overcloud-controller-1; sudo pcs resource ban openstack-congress overcloud-controller-2; sudo systemctl restart openstack-congress" fi if [ "${deploy_options_array['vpn']}" == 'True' ]; then -- cgit 1.2.3-korg