diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-22 19:52:15 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-22 22:13:29 +0200 |
commit | e809cee193519f8e8ff35608a202c8e7206fc3ae (patch) | |
tree | 95ab9ff61959a8a68b0f824cfa933eb98d0742c5 | |
parent | 5d992a68f5392b873936b47509a7be28fa7d9446 (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.py | 6 |
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') |