

@atomic.action_timer('nova.rescue_server')
def _rescue_server(self, server):
    'Rescue the given server.\n\n        Returns when the server is actually rescue and is in the "Rescue"\n        state.\n\n        :param server: Server object\n        '
    server.rescue()
    time.sleep(CONF.benchmark.nova_server_rescue_prepoll_delay)
    utils.wait_for(server, ready_statuses=['RESCUE'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_server_rescue_timeout, check_interval=CONF.benchmark.nova_server_rescue_poll_interval)

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