Fixes control/compute node detection 77/19677/1
authorTim Rozet <trozet@redhat.com>
Sat, 27 Aug 2016 15:35:48 +0000 (11:35 -0400)
committerTim Rozet <trozet@redhat.com>
Sat, 27 Aug 2016 20:40:49 +0000 (16:40 -0400)
commit6de39f5473101ff55c74099bf7f5e6ebef2e175f
treecd36473f40b4cc61f59616059ad4b9db53ccdf03
parent47830fb8a82e96deb3f2b6d521ee11a44db734c9
Fixes control/compute node detection

Previous behavior was detecting the total number of nodes in the
inventory file and defining number of compute nodes as total nodes,
minus 1 or 3 control nodes (depending on HA flag).  This patch changes
the behavior to look explicitly for number of compute/control
nodes in the inventory file.

JIRA: APEX-244

Change-Id: I0191bb88e7dc5bebb5f7bfed39661f8047dbd476
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 38a4ac1614905066b24071c682170736e4779e79)
lib/overcloud-deploy-functions.sh