From d0bd61e46cfaa7090ff7f5bea5dfbaad2591aad0 Mon Sep 17 00:00:00 2001 From: Thomas Herve Date: Thu, 23 Feb 2017 16:38:23 -0500 Subject: [PATCH] Try to fix local.conf creation in tests Change-Id: Ieda609a16d9721f1eb3462212eeb0c46c1474049 --- heat_integrationtests/pre_test_hook.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/heat_integrationtests/pre_test_hook.sh b/heat_integrationtests/pre_test_hook.sh index 486818a5b0..e6782eb333 100755 --- a/heat_integrationtests/pre_test_hook.sh +++ b/heat_integrationtests/pre_test_hook.sh @@ -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