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