
This adds a new job to the nova scenarios that creates a server and volume, attaches the volume and then extends the volume while it's attached to the server as introduced in Pike [1]. [1] https://specs.openstack.org/openstack/nova-specs/specs/pike/implemented/nova-support-attached-volume-extend.html Change-Id: Ia30f6fb65d3d60f02816125f47b545465f36f148
38 lines
1012 B
JSON
38 lines
1012 B
JSON
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{
|
|
"NovaServers.boot_server_attach_created_volume_and_extend": [
|
|
{
|
|
"args": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*-disk$"
|
|
},
|
|
"volume_size": 1,
|
|
"new_volume_size": 2,
|
|
"force_delete": false,
|
|
"do_delete": true,
|
|
"boot_server_kwargs": {},
|
|
"create_volume_kwargs": {}
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 3,
|
|
"users_per_tenant": 2
|
|
}
|
|
},
|
|
"sla": {
|
|
"failure_rate": {
|
|
"max": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|