nova/nova/scheduler/client
xulei ab1fd87ed9 Disable limits if force_hosts or force_nodes is set
Setting max_placement_results will make force_host invaild sometimes,
especially in large-scale enviroment.
Disable limit param in GET /allocation_candidates if force_hosts
or force_nodes is set.

NOTE(xulei): There are differences from the original change because
I496e8d64907fdcb0e2da255725aed1fc529725f2 was not in stable/queens,
so we transplant code to get_allocation_candidates in this backport.

Change-Id: Iff1b49fe7e6347e3c2bb5992494b2450809719a2
Closes-Bug: #1777591
(cherry picked from commit 1d91811ad4)
2018-07-29 00:58:30 +08:00
..
__init__.py [placement] Add sending global request ID in delete (3) 2018-01-22 02:23:12 +00:00
query.py Modify select_destinations() to return objects and alts 2017-12-07 15:01:13 +00:00
report.py Disable limits if force_hosts or force_nodes is set 2018-07-29 00:58:30 +08:00