036fb56ab3
Any enabled placement request filters are processed during scheduling here: https://github.com/openstack/nova/blob/d78055/nova/scheduler/manager.py#L127 But then if we're doing a rebuild, or the driver.USES_ALLOCATION_CANDIDATES is False, we don't call placement: https://github.com/openstack/nova/blob/d78055/nova/scheduler/manager.py#L132 https://github.com/openstack/nova/blob/d78055/nova/scheduler/manager.py#L135 So we're unnecessarily processing the request spec filters (like querying the aggregates table) in those conditions. Change-Id: I8ed019c2208c28bb733aac961e855ce77f332a1e Closes-bug: #1772523 |
||
---|---|---|
.. | ||
functional | ||
live_migration/hooks | ||
unit | ||
__init__.py | ||
fixtures.py | ||
json_ref.py | ||
uuidsentinel.py |