rally/rally-jobs/rally-neutron-existing-users.yaml
cxhuawei a48810e082 create a new server in each iteration when making snapshots from a server
1. maxinum number of volumes per VM is 26 because of hard-coded limit
2. detaching will be blocked when large concurency

Closes-Bug: #1708160
Change-Id: Ice2126209abd1812d1d133f597660be9e6dd3e6c
2017-09-26 13:13:06 +00:00

129 lines
3.2 KiB
YAML

{% set flavor_name = "m1.tiny" %}
{% set image_name = "^cirros.*-disk$" %}
{% set cirros_image_url = "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img" %}
{% set smoke = 0 %}
---
version: 2
title: rally-neutron-existing-users.yaml
description: >
The task contains various scenarios that do not require admin user
subtasks:
-
title: Test main Cinder actions
workloads:
-
scenario:
CinderVolumes.create_volume:
size: 1
runner:
constant:
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
scenario:
CinderVolumes.create_volume:
size: 1
image:
name: {{image_name}}
runner:
constant:
times: 1
concurrency: 1
sla:
failure_rate:
max: 0
-
scenario:
CinderVolumes.create_snapshot_and_attach_volume:
volume_type: "lvmdriver-1"
size:
min: 1
max: 1
image:
name: {{image_name}}
flavor:
name: {{flavor_name}}
runner:
constant:
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
title: Test main Nova actions
workloads:
-
scenario:
NovaServers.boot_and_list_server:
flavor:
name: {{flavor_name}}
image:
name: {{image_name}}
detailed: True
runner:
constant:
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
title: Test main Glance actions
workloads:
-
scenario:
GlanceImages.create_and_delete_image:
image_location: "{{ cirros_image_url }}"
container_format: "bare"
disk_format: "qcow2"
runner:
constant:
times: 1
concurrency: 1
sla:
failure_rate:
max: 100
-
title: Test main Neutron actions
workloads:
-
scenario:
NeutronNetworks.create_and_list_networks:
network_create_args:
runner:
constant:
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
scenario:
NeutronNetworks.create_and_list_subnets:
subnet_cidr_start: "1.1.0.0/30"
subnets_per_network: 2
runner:
constant:
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
scenario:
NeutronNetworks.create_and_list_floating_ips:
floating_network: "public"
floating_ip_args: {}
runner:
constant:
times: 2
concurrency: 2
sla:
failure_rate:
max: 0