if openstack_metric_name == "cpu":
log.debug("No metric %s found for instance %s: %s", openstack_metric_name, resource_id, e)
log.info("Retrying to get metric %s for instance %s without aggregation",
if openstack_metric_name == "cpu":
log.debug("No metric %s found for instance %s: %s", openstack_metric_name, resource_id, e)
log.info("Retrying to get metric %s for instance %s without aggregation",