Fixes control/compute node detection 75/19675/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 15:35:48 +0000 (11:35 -0400)
commit38a4ac1614905066b24071c682170736e4779e79
treeae51dcdfe4aaf86b127f0c8fba6f5257755f137e
parentf52438b36ea567ae6d9564de72ee6b5054396ae1
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>
lib/overcloud-deploy-functions.sh