From: Tim Rozet Date: Mon, 18 Jul 2016 21:34:59 +0000 (-0400) Subject: Makes flavor consistent in virtual/baremetal deploys X-Git-Tag: colorado.1.0~116^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F17099%2F1;p=apex.git Makes flavor consistent in virtual/baremetal deploys Changes include: - Fixes bug where baremetal control nodes would deploy to ironic nodes labeled 'compute', and cause deployment failure - Makes virtual deployments also use flavor types when deploying JIRA: APEX-205 Change-Id: I84e1a6d1e2ccc3391ad2b4e34ea6ca62d480d64f Signed-off-by: Tim Rozet --- diff --git a/build/opnfv-environment.yaml b/build/opnfv-environment.yaml index 7a3ae739..fe37aba8 100644 --- a/build/opnfv-environment.yaml +++ b/build/opnfv-environment.yaml @@ -3,7 +3,8 @@ parameters: controllerImage: overcloud-full - OvercloudControlFlavor: baremetal + OvercloudControlFlavor: control + OvercloudComputeFlavor: compute ControllerEnableSwiftStorage: false EnableSahara: false ExtraConfig: diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index 992d22af..36522402 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -183,9 +183,8 @@ EOI DEPLOY_OPTIONS+=" --ntp-server $ntp_server" fi - if [[ ! "$virtual" == "TRUE" ]]; then - DEPLOY_OPTIONS+=" --control-flavor control --compute-flavor compute" - else + DEPLOY_OPTIONS+=" --control-flavor control --compute-flavor compute" + if [[ "$virtual" == "TRUE" ]]; then DEPLOY_OPTIONS+=" -e virtual-environment.yaml" fi