From 2622e8417a9fca67fb0cac480410cf9c5912725a Mon Sep 17 00:00:00 2001 From: jhinman1 Date: Fri, 14 Jul 2017 20:28:14 -0400 Subject: Adds Barometer service Adds Barometer service as a deploy option to Compute nodes by specifying barometer as true in deploy settings. Barometer packages are installed only for x86_64. Adds scenarios os-nosdn-bar-ha and os-nosdn-bar-noha. Add scenarios to opnfv-apex-common.spec. Temporarily remove references to snmp packages. apex-tripleo-heat-templates: I397d2557639c87ab8afacd076a5b9fd7c056dce7 apex-puppet-tripleo: I878ff8d1e0a8b96f3380bb77f168cd5a4c3f6543 Puppet module is at: https://github.com/johnhinman/puppet-barometer. Change-Id: Ic087c2052f7849ee2cf6c63224558c2b36a8ca1f Signed-off-by: jhinman1 --- lib/overcloud-deploy-functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/overcloud-deploy-functions.sh') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index d2ae027a..e8f19238 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -94,7 +94,12 @@ function overcloud_deploy { DEPLOY_OPTIONS+=" -e /home/stack/enable_rt_kvm.yaml" fi - # Make sure the correct overcloud image is available + # Enable Barometer service + if [ "${deploy_options_array['barometer']}" == 'True' ]; then + DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/enable_barometer.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." echo "Please install the opnfv-apex package to provide this overcloud image for deployment.${reset}" -- cgit 1.2.3-korg