Fixing conditional for setting compute count 79/14879/2
authorDan Radez <dradez@redhat.com>
Tue, 31 May 2016 14:26:36 +0000 (10:26 -0400)
committerDan Radez <dradez@redhat.com>
Tue, 31 May 2016 14:35:27 +0000 (10:35 -0400)
- also removing no-ha option, python update
  to deploy settings do longer honor this param

Change-Id: I52b84c946b3d5d774a001a18230c591060041eb2
Signed-off-by: Dan Radez <dradez@redhat.com>
ci/deploy.sh

index b99a569..36be93c 100755 (executable)
@@ -502,7 +502,7 @@ function setup_virtual_baremetal {
 EOF
 
   # next create the virtual machines and add their definitions to the file
-  if [ ha_enabled != "FALSE" && "$ha_enabled" != "false" ]; then
+  if [ ha_enabled == "False" ]; then
       # 1 controller + computes
       # zero based so just pass compute count
       vm_index=$VM_COMPUTES
@@ -1065,7 +1065,6 @@ display_usage() {
   echo -e "   -n|--net-settings : Full path to network settings file. Optional."
   echo -e "   -p|--ping-site : site to use to verify IP connectivity. Optional. Defaults to 8.8.8.8"
   echo -e "   -v|--virtual : Virtualize overcloud nodes instead of using baremetal."
-  echo -e "   --no-ha : disable High Availability deployment scheme, this assumes a single controller and single compute node"
   echo -e "   --flat : disable Network Isolation and use a single flat network for the underlay network."
   echo -e "   --no-post-config : disable Post Install configuration."
   echo -e "   --debug : enable debug output."
@@ -1113,11 +1112,6 @@ parse_cmdline() {
                 echo "Executing a Virtual Deployment"
                 shift 1
             ;;
-        --no-ha )
-                ha_enabled="False"
-                echo "HA Deployment Disabled"
-                shift 1
-            ;;
         --flat )
                 net_isolation_enabled="FALSE"
                 echo "Underlay Network Isolation Disabled: using flat configuration"