nova/nova/scheduler
mb 6a5be4ae25 Fix bug preventing forbidden traits from working
Modifies _clean_empties function to take forbidden traits into account
in addition to required traits.

Added unit test test_resources_from_request_spec_flavor_forbidden_trait
to test that a single forbidden trait doesn't get lost in the
resources_from_request_spec function.

Also updated the functional test
test_flavor_forbidden_traits_based_scheduling to do the right thing.

Change-Id: I491b10c9c202baae4a37034848147f910a50eebf
Closes-Bug: #1821824
(cherry picked from commit c088856c8c)
2019-04-03 07:55:26 -05:00
..
client Ensure that bandwidth and VF are from the same PF 2019-03-05 17:48:29 +01:00
filters Remove the CachingScheduler 2018-10-18 17:55:36 -04:00
weights Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
__init__.py Improve hacking rule to avoid author markers 2014-05-05 14:35:20 +02:00
driver.py Remove the CachingScheduler 2018-10-18 17:55:36 -04:00
filter_scheduler.py Fix WeighedHost logging regression 2019-03-05 17:16:23 -05:00
host_manager.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
manager.py Rip the report client out of SchedulerClient 2019-01-16 18:35:24 +00:00
request_filter.py Honor availability_zone hint via placement 2018-05-22 08:56:50 -07:00
rpcapi.py Use long_rpc_timeout in select_destinations RPC call 2018-11-20 09:03:53 -05:00
utils.py Fix bug preventing forbidden traits from working 2019-04-03 07:55:26 -05:00