

@atomic.action_timer('nova.pause_server')
def _pause_server(self, server):
    'Pause the live server.\n\n        Returns when the server is actually paused and is in the "PAUSED"\n        state.\n\n        :param server: Server object\n        '
    server.pause()
    time.sleep(CONF.benchmark.nova_server_pause_prepoll_delay)
    utils.wait_for(self, ready_statuses=['PAUSED'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_server_pause_timeout, check_interval=CONF.benchmark.nova_server_pause_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._pause_server/VarMisuse@43/120 `server`->`self`