Override tempest nova scheduler filters

In Rocky and Queens tempest contains a default value for nova scheduler
filters equal to all, which results in the mentioned bug when tests which
are meant to be executed against specific filters are not enabled in the
system.

Overriding filters in tempest to only those which are available in the system
will skip the tests which are meant for different filters.

Change-Id: I98532113d3ad1339fdc4869686ad875b304f094e
Closes-bug: 1857365
This commit is contained in:
Martin Kopec 2020-01-06 13:43:02 +00:00
parent 0de40307b8
commit 91f8ed6386
1 changed files with 3 additions and 0 deletions

View File

@ -180,6 +180,9 @@ $TEMPESTCONF --out etc/tempest.conf \
auth.use_dynamic_credentials true \
network-feature-enabled.port_security true \
{% endif %}
{% if release in ['queens', 'rocky'] %}
compute-feature-enabled.scheduler_available_filters RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter \
{% endif %}
{% if release in ['newton', 'ocata', 'pike', 'queens'] %}
compute-feature-enabled.attach_encrypted_volume False \
compute-feature-enabled.console_output true \