nova/nova/scheduler
Matt Riedemann 31b74bfa40 Fix WeighedHost logging regression
Change I8666e0af3f057314f6b06939a108411b8a88d64b in Pike
refactored some code in the FilterScheduler which accidentally
changed how the list of weighed hosts are logged, which caused
the wrapped HostState objects to be logged rather than the
WeighedHost objects, which contain the actual "weight" attribute
which is useful for debugging weigher configuration and
scheduling decisions.

This fixes the regression by logging the weighed hosts before
stripping off the WeighedHost wrapper and adds a simple wrinkle
to an existing test to assert we are logging the correct object.

Change-Id: I528794b4b6f0007efc1238ad28dc402456664f86
Closes-Bug: #1816360
(cherry picked from commit 84533f5eb3)
2019-03-06 13:48:30 +00:00
..
client Use long_rpc_timeout in select_destinations RPC call 2018-11-26 12:52:39 -05:00
filters scheduler: Start utilizing RequestSpec.network_metadata 2018-07-24 15:05:07 -04:00
weights Change deprecated policies to policy 2018-07-27 02:20:30 +00:00
__init__.py Improve hacking rule to avoid author markers 2014-05-05 14:35:20 +02:00
caching_scheduler.py Mark Chance and Caching schedulers as deprecated 2017-08-09 10:53:53 -07:00
chance.py Modify select_destinations() to return objects and alts 2017-12-07 15:01:13 +00:00
driver.py Remove [scheduler]/host_manager config option 2018-05-03 09:39:26 -04:00
filter_scheduler.py Fix WeighedHost logging regression 2019-03-06 13:48:30 +00:00
host_manager.py Revert "Make host_aggregate_map dictionary case-insensitive" 2018-09-25 19:08:15 -04:00
manager.py Use INFO for logging no allocation candidates 2018-09-27 11:06:45 -04: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-26 12:52:39 -05:00
utils.py Use long_rpc_timeout in select_destinations RPC call 2018-11-26 12:52:39 -05:00