nova/nova/scheduler
Matt Riedemann 725b37f515 Init HostState.failed_builds
If _update_from_compute_node returns early and the HostState is
not filtered out we can hit an AttributeError in the
BuildFailureWeigher because the failed_builds attribute is not
set. This simply initializes the attribute like the other stats
fields.

Change-Id: I5f8e4d32c6a1d6b61396b4fa11c5d776f432df0c
Closes-Bug: #1834691
(cherry picked from commit d540903463)
2019-06-29 02:36:21 +00:00
..
client Change a log level for overwriting allocation 2019-04-16 13:34:47 +00: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 Init HostState.failed_builds 2019-06-29 02:36:21 +00: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 Disable limit if affinity(anti)/same(different)host is requested 2019-05-22 14:30:57 -04:00