

@atomic.action_timer('nova.detach_volume')
def _detach_volume(self, server, volume):
    server_id = server.id
    volume_id = volume.id
    self.clients('nova').volumes.delete_server_volume(server_id, volume_id)
    utils.wait_for(volume, ready_statuses=['available'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_detach_volume_timeout, check_interval=CONF.benchmark.nova_detach_volume_poll_interval)

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