From 9e03d4f71c02a6256eed8ad0b5265db3c80f1370 Mon Sep 17 00:00:00 2001 From: Bharat Kumar Kobagana Date: Wed, 19 Aug 2015 16:57:57 +0530 Subject: [PATCH] Manila-GlusterFS: Fix Neutron config setting in pre_test_hook This patch modifies the pre_test_hook.sh script to set ENABLE_ISOLATED_METADATA in localrc for Neutron configuration. Closes-Bug: #1486550 Change-Id: I7708c29998e5c0f46770c54e0c7d184aed388821 --- devstack/pre_test_hook.sh | 4 +--- manila/pre_test_hook.sh | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/devstack/pre_test_hook.sh b/devstack/pre_test_hook.sh index c3e35fb..50b8a28 100755 --- a/devstack/pre_test_hook.sh +++ b/devstack/pre_test_hook.sh @@ -33,9 +33,7 @@ fi # Tempest creates isolated networks and created vm's in scenario tests don't # have access to Nova Metadata service. This leads to unavailability of # created vm's in scenario tests. -echo '[[post-config|$Q_DHCP_CONF_FILE]]' >> $localrc_path -echo '[DEFAULT]' >> $localrc_path -echo "enable_isolated_metadata=True" >> $localrc_path +echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path # Go to Tempest dir and checkout stable commit to avoid possible # incompatibilities for plugin stored in Manila repo. diff --git a/manila/pre_test_hook.sh b/manila/pre_test_hook.sh index c3e35fb..50b8a28 100755 --- a/manila/pre_test_hook.sh +++ b/manila/pre_test_hook.sh @@ -33,9 +33,7 @@ fi # Tempest creates isolated networks and created vm's in scenario tests don't # have access to Nova Metadata service. This leads to unavailability of # created vm's in scenario tests. -echo '[[post-config|$Q_DHCP_CONF_FILE]]' >> $localrc_path -echo '[DEFAULT]' >> $localrc_path -echo "enable_isolated_metadata=True" >> $localrc_path +echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path # Go to Tempest dir and checkout stable commit to avoid possible # incompatibilities for plugin stored in Manila repo.