rally-openstack/rally-jobs/rally-neutron-existing-users.yaml
Andrey Kurilin b8539510cd [ci] Test openstack deployment without admin
* Use rally-neutron-existing-users job for testing scenarios which doesn't
  require admin user.
* port task config to V2 format
* Put fake object into task validation in test_jobs.py to print task path
  in logs.

Change-Id: I2615d55ff896f37c46daee962edfa853342f974c
2017-06-15 09:07:25 +03:00

132 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:
-
name: CinderVolumes.create_volume
args:
size: 1
runner:
type: "constant"
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
name: CinderVolumes.create_volume
args:
size: 1
image:
name: {{image_name}}
runner:
type: "constant"
times: 1
concurrency: 1
sla:
failure_rate:
max: 0
-
name: CinderVolumes.create_snapshot_and_attach_volume
args:
volume_type: "lvmdriver-1"
size:
min: 1
max: 1
runner:
type: "constant"
times: 2
concurrency: 2
context:
servers:
image:
name: {{image_name}}
flavor:
name: {{flavor_name}}
servers_per_tenant: 1
sla:
failure_rate:
max: 0
-
title: Test main Nova actions
workloads:
-
name: NovaServers.boot_and_list_server
args:
flavor:
name: {{flavor_name}}
image:
name: {{image_name}}
detailed: True
runner:
type: "constant"
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
title: Test main Glance actions
workloads:
-
name: GlanceImages.create_and_delete_image
args:
image_location: "{{ cirros_image_url }}"
container_format: "bare"
disk_format: "qcow2"
runner:
type: "constant"
times: 1
concurrency: 1
sla:
failure_rate:
max: 0
-
title: Test main Neutron actions
workloads:
-
name: NeutronNetworks.create_and_list_networks
args:
network_create_args:
runner:
type: "constant"
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
name: NeutronNetworks.create_and_list_subnets
args:
subnet_cidr_start: "1.1.0.0/30"
subnets_per_network: 2
runner:
type: "constant"
times: 2
concurrency: 2
sla:
failure_rate:
max: 0
-
name: NeutronNetworks.create_and_list_floating_ips
args:
floating_network: "public"
floating_ip_args: {}
runner:
type: "constant"
times: 2
concurrency: 2
sla:
failure_rate:
max: 0