nova/nova/scheduler
Matt Riedemann 9bc9567532 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)
(cherry picked from commit 725b37f515)
(cherry picked from commit 5acbea506a)
2019-07-03 14:01:27 +00:00
..
client Disable limits if force_hosts or force_nodes is set 2018-07-29 00:58:30 +08:00
filters Added ability to configure default architecture for ImagePropertiesFilter 2018-05-15 12:28:43 +00:00
weights Change consecutive build failure limit to a weigher 2018-06-07 07:17:51 -07: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 Modify select_destinations() to return objects and alts 2017-12-07 15:01:13 +00:00
filter_scheduler.py Fix WeighedHost logging regression 2019-03-06 08:50:09 -05:00
host_manager.py Init HostState.failed_builds 2019-07-03 14:01:27 +00:00
ironic_host_manager.py [Stable Only] Initialise failed_builds in IronicNodeState 2018-06-14 05:41:14 +00:00
manager.py Skip placement on rebuild in same host 2018-04-12 19:16:31 +00:00
rpcapi.py Modify select_destinations() to return objects and alts 2017-12-07 15:01:13 +00:00
utils.py Make scheduler.utils.setup_instance_group query all cells 2018-09-05 16:36:22 +00:00