commit d540903463aa9b0cf69cefac7cc60e5b70e40a1c
Author: Matt Riedemann <email address hidden>
Date: Fri Jun 28 16:19:49 2019 -0400
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.
Reviewed: https:/ /review. opendev. org/668243 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d540903463a a9b0cf69cefac7c c60e5b70e40a1c
Committed: https:/
Submitter: Zuul
Branch: master
commit d540903463aa9b0 cf69cefac7cc60e 5b70e40a1c
Author: Matt Riedemann <email address hidden>
Date: Fri Jun 28 16:19:49 2019 -0400
Init HostState. failed_ builds
If _update_ from_compute_ node returns early and the HostState is eWeigher because the failed_builds attribute is not
not filtered out we can hit an AttributeError in the
BuildFailur
set. This simply initializes the attribute like the other stats
fields.
Change-Id: I5f8e4d32c6a1d6 b61396b4fa11c5d 776f432df0c
Closes-Bug: #1834691