cinder/rally-jobs/cinder.yaml
Brian Rosmaita e05b261af7 Remove Block Storage API v2
In this patch:
- adjusted VersionsController to return only v3
- removed cinder.api.v2.router
- adjustments to cinder.tests.unit.api.contrib to use /v3 only
- moved cinder.api.v2.snapshot_metadata (and tests) to cinder.api.v3
- moved cinder.api.v2.types (and view, tests) to cinder.api.v3
- updated versions response in api-ref
- removed unnecessary config option
- updated various sample config files
- removed experimental tempest-cinder-v2-api job
- updated some docs
- updated non-voting rally job config

Some cinder.api.v2 modules are left because the v3 classes depend on
them, but with the v2 router removed, these are unreachable via the
/v2 path.

Depends-on: https://review.opendev.org/c/openstack/rally-openstack/+/794891
(changes rally to use Block Storage API v3)
Depends-on: https://review.opendev.org/c/openstack/requirements/+/794894
(corrects regression in upper-constraint on Sphinx)

Change-Id: I2093d77db9beec7543c7524d2cd273e79dd5fd5d
2021-06-04 17:21:28 -04:00

453 lines
11 KiB
YAML

{% set image_name = "^(cirros.*-disk|TestVM)$" %}
---
version: 2
title: Rally task for cinder-rally-task check job (non-voting)
subtasks:
-
title: Validate cinder client
scenario:
Authenticate.validate_cinder:
repetitions: 2
runner:
constant:
times: 10
concurrency: 5
contexts:
users:
tenants: 3
users_per_tenant: 5
-
title: Update and delete cinder Quotas
scenario:
Quotas.cinder_update_and_delete:
max_quota: 1024
runner:
constant:
times: 4
concurrency: 1
contexts:
users:
tenants: 3
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Update cinder Quotas
scenario:
Quotas.cinder_update:
max_quota: 1024
runner:
constant:
times: 10
concurrency: 2
contexts:
users:
tenants: 3
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and Delete Volume
workloads:
-
scenario:
CinderVolumes.create_and_delete_volume:
size: 1
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_and_delete_volume:
size: 1
image:
name: {{image_name}}
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_and_delete_volume:
size:
min: 1
max: 3
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and List Volume
workloads:
-
scenario:
CinderVolumes.create_and_list_volume:
size: 1
detailed: True
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_and_list_volume:
size:
min: 1
max: 3
detailed: True
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_and_list_volume:
size: 1
detailed: True
image:
name: {{image_name}}
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: List volumes
scenario:
CinderVolumes.list_volumes:
detailed: True
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 1
volumes:
size: 1
volumes_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create volume
workloads:
-
scenario:
CinderVolumes.create_volume:
size: 1
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_volume:
size:
min: 1
max: 3
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_volume:
size: 1
image:
name: {{image_name}}
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and Extend volume
workloads:
-
scenario:
CinderVolumes.create_and_extend_volume:
size: 1
new_size: 2
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_and_extend_volume:
size:
min: 1
max: 2
new_size:
min: 3
max: 4
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and attach volume
scenario:
CinderVolumes.create_and_attach_volume:
size: 1
image:
name: {{image_name}}
flavor:
name: "m1.tiny"
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create volume and snapshot attach and detach volume and delete them
workloads:
-
scenario:
CinderVolumes.create_snapshot_and_attach_volume:
image:
name: {{image_name}}
flavor:
name: "m1.tiny"
size:
min: 1
max: 1
volume_type: "test"
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
volume_types:
- "test"
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_snapshot_and_attach_volume:
image:
name: {{image_name}}
flavor:
name: "m1.tiny"
volume_type: "test"
size:
min: 1
max: 1
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
volume_types:
- "test"
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create volume from volume and then delete it
workloads:
-
scenario:
CinderVolumes.create_from_volume_and_delete_volume:
size: 1
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
volumes:
size: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
scenario:
CinderVolumes.create_from_volume_and_delete_volume:
size:
min: 1
max: 2
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
volumes:
size: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and delete snapshot
scenario:
CinderVolumes.create_and_delete_snapshot:
force: false
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
volumes:
size: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and list snapshots
scenario:
CinderVolumes.create_and_list_snapshots:
force: False
detailed: True
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
volumes:
size: 1
api_versions:
cinder:
version: 3
service_name: cinderv3
-
title: Create and upload a volume to image
scenario:
CinderVolumes.create_and_upload_volume_to_image:
size: 1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
api_versions:
cinder:
version: 3
service_name: cinderv3