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 22:13:09 +0200
commit47e21b230cdc31bd2b5d5f8213485ed7665ab681 (patch)
treedec6b840d9eaf3b396c545f990ba4b5c1436fdd2
parent0cda1f539e2e465f013c1a7f492701e6eadebc72 (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> (cherry picked from commit ecc7bc215cdf47104d61ba7e23e5f8ec65ca03c4)
-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')