Fix VPP deploy failures 33/18433/1
authorFeng Pan <fpan@redhat.com>
Thu, 11 Aug 2016 13:47:27 +0000 (09:47 -0400)
committerFeng Pan <fpan@redhat.com>
Thu, 11 Aug 2016 13:47:27 +0000 (09:47 -0400)
- Move deploy option parsing to before network settings parsing,
  as performance options are needed during networking setting
  parsing.
- Fix numa fdio_enabled option setting
- Add numa to controller hiera hierarchy in tht

opnfv-tht-pr: 53

Change-Id: I0a87c557c8bf653d5a86eccdbb3172733c06716a
Signed-off-by: Feng Pan <fpan@redhat.com>
ci/PR_revision.log
ci/deploy.sh
lib/overcloud-deploy-functions.sh

index 5edb97e..718652e 100644 (file)
@@ -20,3 +20,4 @@
 41,Add pcs cleanup exec
 50,Fix rabbitmq ipv6 config
 52,Add notifier topic to ceilometer
+53,Add numa to controller hiera hierarchy
\ No newline at end of file
index 432499a..7143368 100755 (executable)
@@ -213,16 +213,16 @@ parse_cmdline() {
 
 main() {
   parse_cmdline "$@"
+  if [ -n "$DEPLOY_SETTINGS_FILE" ]; then
+    echo -e "${blue}INFO: Parsing deploy settings file...${reset}"
+    parse_deploy_settings
+  fi
   echo -e "${blue}INFO: Parsing network settings file...${reset}"
   parse_network_settings
   if ! configure_deps; then
     echo -e "${red}Dependency Validation Failed, Exiting.${reset}"
     exit 1
   fi
-  if [ -n "$DEPLOY_SETTINGS_FILE" ]; then
-    echo -e "${blue}INFO: Parsing deploy settings file...${reset}"
-    parse_deploy_settings
-  fi
   setup_undercloud_vm
   if [ "$virtual" == "TRUE" ]; then
     setup_virtual_baremetal $VM_CPUS $VM_RAM
index 2d35232..ef07ec0 100755 (executable)
@@ -93,7 +93,7 @@ EOF
                                                -a overcloud-full.qcow2
 
       if [ "${deploy_options_array['dataplane']}" == 'fdio' ]; then
-        sed -i '/FdioEnabled:/c\  FdioEnabled: true' opnfv-environment.yaml
+        sudo sed -i '/FdioEnabled:/c\  FdioEnabled: true' /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
       else
         LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum install -y /root/dpdk_rpms/*" \
                                                  -a overcloud-full.qcow2