Merge "uptime hypervisor would be failed if some hosts downed"

This commit is contained in:
Zuul 2019-10-16 11:24:20 +00:00 committed by Gerrit Code Review
commit bc54ed8ad8

View File

@ -97,6 +97,7 @@ class ListAndGetUptimeHypervisors(utils.NovaScenario):
hypervisors = self._list_hypervisors(detailed)
for hypervisor in hypervisors:
if hypervisor.state == "up":
self._uptime_hypervisor(hypervisor)