@@ -375,9 +375,6 @@ XENAPI_CONNECTION_URL=http://${DEVSTACK_GATE_XENAPI_DOM0_IP}
375375VNCSERVER_PROXYCLIENT_ADDRESS=${DEVSTACK_GATE_XENAPI_DOM0_IP}
376376VIRT_DRIVER=xenserver
377377
378- # A separate xapi network is created with this name-label
379- FLAT_NETWORK_BRIDGE=vmnet
380-
381378# A separate xapi network on eth4 serves the purpose of the public network.
382379# This interface is added in Citrix's XenServer environment as an internal
383380# interface
@@ -406,6 +403,14 @@ VOLUME_BACKING_DEVICE=/dev/xvdb
406403# Set multi-host config
407404MULTI_HOST=1
408405EOF
406+
407+ # neutron network will set FLAT_NETWORK_BRIDGE in pre_test_hook
408+ if [[ $DEVSTACK_GATE_NEUTRON -ne " 1" ]]; then
409+ cat >> " $localrc_file " << EOF
410+ # A separate xapi network is created with this name-label
411+ FLAT_NETWORK_BRIDGE=vmnet
412+ EOF
413+ fi
409414 fi
410415
411416 if [[ " $DEVSTACK_GATE_TEMPEST " -eq " 1" ]]; then
@@ -609,13 +614,13 @@ else
609614 echo " ... this takes 10 - 15 minutes (logs in logs/devstacklog.txt.gz)"
610615 start=$( date +%s)
611616 $ANSIBLE primary -f 5 -i " $WORKSPACE /inventory" -m shell \
612- -a " cd '$BASE /new/devstack' && sudo -H -u stack FORCE=yes stdbuf -oL -eL ./stack.sh executable=/bin/bash" \
617+ -a " cd '$BASE /new/devstack' && sudo -H -u stack stdbuf -oL -eL ./stack.sh executable=/bin/bash" \
613618 & > " $WORKSPACE /logs/devstack-early.txt"
614619 # Run non controller setup after controller is up. This is necessary
615620 # because services like nova apparently expect to have the controller in
616621 # place before anything else.
617622 $ANSIBLE subnodes -f 5 -i " $WORKSPACE /inventory" -m shell \
618- -a " cd '$BASE /new/devstack' && sudo -H -u stack FORCE=yes stdbuf -oL -eL ./stack.sh executable=/bin/bash" \
623+ -a " cd '$BASE /new/devstack' && sudo -H -u stack stdbuf -oL -eL ./stack.sh executable=/bin/bash" \
619624 & > " $WORKSPACE /logs/devstack-subnodes-early.txt"
620625 end=$( date +%s)
621626 took=$(( ($end - $start ) / 60 ))
0 commit comments