diff --git a/browbeat-complete.yaml b/browbeat-complete.yaml index 55567769e..52a1ad23b 100644 --- a/browbeat-complete.yaml +++ b/browbeat-complete.yaml @@ -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 diff --git a/browbeat-config.yaml b/browbeat-config.yaml index 73b2d4dcb..43b48d2bf 100644 --- a/browbeat-config.yaml +++ b/browbeat-config.yaml @@ -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 diff --git a/rally/nova/nova-boot-from-volume-and-resize.yml b/rally/nova/nova-boot-from-volume-and-resize.yml new file mode 100644 index 000000000..27e632ace --- /dev/null +++ b/rally/nova/nova-boot-from-volume-and-resize.yml @@ -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}} +