Browse Source

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
Bharat Kumar Kobagana 3 years ago
parent
commit
9e03d4f71c
2 changed files with 2 additions and 6 deletions
  1. 1
    3
      devstack/pre_test_hook.sh
  2. 1
    3
      manila/pre_test_hook.sh

+ 1
- 3
devstack/pre_test_hook.sh View File

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

+ 1
- 3
manila/pre_test_hook.sh View File

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

Loading…
Cancel
Save