summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-22 19:52:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-22 19:52:15 +0200
commitecc7bc215cdf47104d61ba7e23e5f8ec65ca03c4 (patch)
tree6ce94e81589b520e6da7d68e808138d8f21b13ae
parentd4e60af2b8f544d774223b16c193dc40bd5dce38 (diff)
List all sheduler filters instead of all
It doesn't work as expected as highlighted in [1]. [1] https://review.openstack.org/#/c/570207/ Change-Id: Iaf64345c40e8d62349cd50a6861c1191d25c40b9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index d779d633f..d31e45f37 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -195,8 +195,12 @@ def configure_tempest_update_params(
rconfig.set('compute', 'min_compute_nodes', compute_cnt)
rconfig.set('compute-feature-enabled', 'live_migration', True)
rconfig.set('compute-feature-enabled', 'shelve', False)
+ filters = ['RetryFilter', 'AvailabilityZoneFilter', 'ComputeFilter',
+ 'ComputeCapabilitiesFilter', 'ImagePropertiesFilter',
+ 'ServerGroupAntiAffinityFilter', 'ServerGroupAffinityFilter']
rconfig.set(
- 'compute-feature-enabled', 'scheduler_available_filters', 'all')
+ 'compute-feature-enabled', 'scheduler_available_filters',
+ convert_list_to_ini(filters))
if os.environ.get('OS_REGION_NAME'):
rconfig.set('identity', 'region', os.environ.get('OS_REGION_NAME'))
identity_api_version = os.environ.get("OS_IDENTITY_API_VERSION", '3')