From 9c776d55e9f69de416823acff52017e9ea6ca5a8 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Thu, 18 Aug 2016 13:13:54 -0400 Subject: correcting the virtual baremetal defaults Defaults for virtual deployments was not correct, there were three baremetal nodes being created by default for a noha deployment. JIRA: APEX-221 Change-Id: I8b13ffb620d8ebaed4308725edbc7e84279872dd Signed-off-by: Dan Radez --- lib/overcloud-deploy-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/overcloud-deploy-functions.sh') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index df17750b..ab8086b5 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -180,7 +180,7 @@ EOI DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" # scale compute nodes according to inventory - total_nodes=$(ssh -T ${SSH_OPTIONS[@]} "root@$UNDERCLOUD" "cat /home/stack/instackenv.json | grep -c memory") + total_nodes=$(ssh -T ${SSH_OPTIONS[@]} "root@$UNDERCLOUD" "grep -c memory /home/stack/instackenv.json") # check if HA is enabled if [[ "$ha_enabled" == "True" ]]; then -- cgit 1.2.3-korg