Skip to content
Permalink
Browse files

Add nova resize scenario

Change-Id: I7bcaaba563957df03d52737a2a20d1cc58036f01
  • Loading branch information...
asyedham committed May 14, 2019
1 parent 2b930e6 commit 126399086190fd7cf6cf515b925218b4325b287f
Showing with 59 additions and 0 deletions.
  1. +6 −0 browbeat-complete.yaml
  2. +6 −0 browbeat-config.yaml
  3. +47 −0 rally/nova/nova-boot-from-volume-and-resize.yml
@@ -209,6 +209,12 @@ workloads:
image_name: cirros
file: rally/nova/nova-lock-unlock-cc.yml
flavor_name: m1.xtiny
- name: boot_server_from_volume_and_resize
enabled: true
image_name: cirros
file: rally/nova/nova-boot-from-volume-and-resize.yml
initial_flavor_name: m1.tiny
final_flavor_name: m1.small
- name: glance
enabled: true
type: rally
@@ -193,6 +193,12 @@ workloads:
image_name: cirros
file: rally/nova/nova-lock-unlock-cc.yml
flavor_name: m1.xtiny
- name: boot_server_from_volume_and_resize
enabled: true
image_name: cirros
file: rally/nova/nova-boot-from-volume-and-resize.yml
initial_flavor_name: m1.tiny
final_flavor_name: m1.small

- name: glance
enabled: true
@@ -0,0 +1,47 @@
{% set image_name = image_name or "centos7" %}
{% set flavor = initial_flavor_name or "m1.tiny" %}
{% set final_flavor_name = final_flavor_name or "m1.small" %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
NovaServers.boot_server_from_volume_and_resize:
-
args:
flavor:
name: "{{initial_flavor_name}}"
image:
name: "{{image_name}}"
to_flavor:
name: "{{final_flavor_name}}"
confirm: true
volume_size: 1
force_delete: false
do_delete: true
boot_server_kwargs: {}
create_volume_kwargs: {}
runner:
type: "constant"
times: {{times}}
concurrency: {{concurrency}}
context:
network:
start_cidr: "10.0.0.0/16"
networks_per_tenant: 1
users:
tenants: 3
users_per_tenant: 2
quotas:
neutron:
network: -1
port: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

0 comments on commit 1263990

Please sign in to comment.
You can’t perform that action at this time.