diff --git a/rally_openstack/scenarios/nova/hypervisors.py b/rally_openstack/scenarios/nova/hypervisors.py index 9c03879b..c76882bc 100644 --- a/rally_openstack/scenarios/nova/hypervisors.py +++ b/rally_openstack/scenarios/nova/hypervisors.py @@ -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])