Skip to content

Instantly share code, notes, and snippets.

@stpierre
Created August 8, 2016 20:52
Show Gist options
  • Save stpierre/32ff36f44fc7fccad51e352f74924b0b to your computer and use it in GitHub Desktop.
Save stpierre/32ff36f44fc7fccad51e352f74924b0b to your computer and use it in GitHub Desktop.
{%- if storage.cinder_enabled and storage.cinder_driver != ['nfs'] %}
CinderVolumes.create_and_delete_snapshot:
{%- for storage_driver in storage.cinder_driver|reject("equalto", "nfs") %}
{%- for cinder_api in cinder_api_versions|default([{"version": 1, "service_type": "volume"}]) %}
- args:
force: false
context:
users:
tenants: {{smoke|default(2)}}
users_per_tenant: {{smoke|default(2)}}
volumes:
size: 1
type: {{ storage_driver }}
api_versions:
cinder:
version: {{cinder_api.version}}
service_type: {{cinder_api.service_type}}
runner:
concurrency: {{smoke|default(2)}}
times: {{smoke|default(3)}}
type: constant
sla:
failure_rate:
max: 0
{% endfor %}
{% endfor %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment