Try to fix local.conf creation in tests
Change-Id: Ieda609a16d9721f1eb3462212eeb0c46c1474049
This commit is contained in:
parent
592346eacb
commit
d0bd61e46c
@ -16,12 +16,8 @@
|
||||
|
||||
set -x
|
||||
|
||||
localrc_path=$BASE/new/devstack/localrc
|
||||
localconf=$BASE/new/devstack/local.conf
|
||||
|
||||
echo "CEILOMETER_PIPELINE_INTERVAL=60" >> $localrc_path
|
||||
echo "HEAT_ENABLE_ADOPT_ABANDON=True" >> $localrc_path
|
||||
|
||||
echo -e '[[post-config|$HEAT_CONF]]\n[DEFAULT]\n' >> $localconf
|
||||
|
||||
if [ "$DISABLE_CONVERGENCE" == "true" ] ; then
|
||||
@ -44,9 +40,13 @@ echo -e '[cache]\nenabled=True\n' >> $localconf
|
||||
|
||||
echo -e '[eventlet_opts]\nclient_socket_timeout=120\n' >> $localconf
|
||||
|
||||
|
||||
echo "[[local|localrc]]" >> $localconf
|
||||
echo "CEILOMETER_PIPELINE_INTERVAL=60" >> $localconf
|
||||
echo "HEAT_ENABLE_ADOPT_ABANDON=True" >> $localconf
|
||||
# Use the lbaas v2 namespace driver for devstack integration testing since
|
||||
# octavia uses nested vms.
|
||||
if [[ $OVERRIDE_ENABLED_SERVICES =~ "q-lbaasv2" ]]
|
||||
then
|
||||
echo "NEUTRON_LBAAS_SERVICE_PROVIDERV2=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default" >> $localrc_path
|
||||
echo "NEUTRON_LBAAS_SERVICE_PROVIDERV2=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default" >> $localconf
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user