

@atomic.action_timer('nova.resume_server')
def _resume_server(self, server):
    'Resumes the suspended server.\n\n        Returns when the server is actually resumed and is in the "ACTIVE"\n        state.\n\n        :param server: Server object\n        '
    server.resume()
    time.sleep(CONF.benchmark.nova_server_resume_prepoll_delay)
    utils.wait_for(server, ready_statuses=['ACTIVE'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_server_resume_timeout, check_interval=CONF.benchmark.nova_server_resume_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._resume_server/original