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
This commit is contained in:
Bharat Kumar Kobagana 2015-08-19 16:57:57 +05:30
parent d223cc154b
commit 9e03d4f71c
2 changed files with 2 additions and 6 deletions

View File

@ -33,9 +33,7 @@ fi
# Tempest creates isolated networks and created vm's in scenario tests don't # Tempest creates isolated networks and created vm's in scenario tests don't
# have access to Nova Metadata service. This leads to unavailability of # have access to Nova Metadata service. This leads to unavailability of
# created vm's in scenario tests. # created vm's in scenario tests.
echo '[[post-config|$Q_DHCP_CONF_FILE]]' >> $localrc_path echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path
echo '[DEFAULT]' >> $localrc_path
echo "enable_isolated_metadata=True" >> $localrc_path
# Go to Tempest dir and checkout stable commit to avoid possible # Go to Tempest dir and checkout stable commit to avoid possible
# incompatibilities for plugin stored in Manila repo. # incompatibilities for plugin stored in Manila repo.

View File

@ -33,9 +33,7 @@ fi
# Tempest creates isolated networks and created vm's in scenario tests don't # Tempest creates isolated networks and created vm's in scenario tests don't
# have access to Nova Metadata service. This leads to unavailability of # have access to Nova Metadata service. This leads to unavailability of
# created vm's in scenario tests. # created vm's in scenario tests.
echo '[[post-config|$Q_DHCP_CONF_FILE]]' >> $localrc_path echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path
echo '[DEFAULT]' >> $localrc_path
echo "enable_isolated_metadata=True" >> $localrc_path
# Go to Tempest dir and checkout stable commit to avoid possible # Go to Tempest dir and checkout stable commit to avoid possible
# incompatibilities for plugin stored in Manila repo. # incompatibilities for plugin stored in Manila repo.