

@atomic.action_timer('cinder.create_backup')
def _create_backup(self, volume_id, **kwargs):
    'Create a volume backup of the given volume.\n\n        :param volume_id: The ID of the volume to backup.\n        :param kwargs: Other optional parameters\n        '
    backup = self.clients('cinder').backups.create(volume_id, **kwargs)
    return bench_utils.wait_for(backup, ready_statuses=['available'], update_resource=bench_utils.get_from_manager(), timeout=CONF.benchmark.cinder_volume_create_timeout, check_interval=CONF.benchmark.cinder_volume_create_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/cinder/utils.py CinderScenario._create_backup/original