summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorrandyl <r.levensalor@cablelabs.com>2016-03-22 16:02:04 -0600
committerDan Radez <dradez@redhat.com>2016-03-23 14:37:02 -0400
commit4b5e79294eecf7e10bfb1459c55f9186312c32bf (patch)
tree817a6bbc7621715140a528485ca152ce8ea69555 /ci
parenta90fc16a988cd5eb53de383d0830648f758edaff (diff)
Allow 2+ compute node for none HA installs APEX-117
Changed the number of compute nodes to no longer be hard coded to 1 and now calculate to be total_nodes -1 for non-HA deployments. Rebased to new build. Change-Id: I8dc135876a8b436714806b79d4193d225761534d Signed-off-by: randyl <r.levensalor@cablelabs.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 504fd507..f08ce524 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -892,7 +892,7 @@ function undercloud_prep_overcloud_deploy {
compute_nodes=$((total_nodes - 3))
DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml"
else
- compute_nodes=1
+ compute_nodes=$((total_nodes - 1))
fi
if [ "$compute_nodes" -le 0 ]; then