uptime hypervisor
would be failed if some hosts downed
Change-Id: I80637622d1e9987da60e207a55839b5df0df9a44
This commit is contained in:
parent
13c21f2972
commit
e74eeef83b
@ -97,7 +97,8 @@ class ListAndGetUptimeHypervisors(utils.NovaScenario):
|
||||
hypervisors = self._list_hypervisors(detailed)
|
||||
|
||||
for hypervisor in hypervisors:
|
||||
self._uptime_hypervisor(hypervisor)
|
||||
if hypervisor.state == "up":
|
||||
self._uptime_hypervisor(hypervisor)
|
||||
|
||||
|
||||
@validation.add("required_services", services=[consts.Service.NOVA])
|
||||
|
Loading…
x
Reference in New Issue
Block a user