Merge "Add scenario to boot and rebuild server"

This commit is contained in:
Jenkins 2015-04-14 14:51:00 +00:00 committed by Gerrit Code Review
commit 56cbf020c8
4 changed files with 76 additions and 0 deletions

View File

@ -250,6 +250,16 @@
# Server reboot poll interval (floating point value) # Server reboot poll interval (floating point value)
#nova_server_reboot_poll_interval = 2.0 #nova_server_reboot_poll_interval = 2.0
# Time to sleep after rebuild before polling for status (floating point
# value)
#nova_server_rebuild_prepoll_delay = 0.0
# Server rebuild timeout (floating point value)
#nova_server_rebuild_timeout = 300.0
# Server rebuild poll interval (floating point value)
#nova_server_rebuild_poll_interval = 1.0
# Time to sleep after rescue before polling for status (floating point # Time to sleep after rescue before polling for status (floating point
# value) # value)
#nova_server_rescue_prepoll_delay = 2.0 #nova_server_rescue_prepoll_delay = 2.0

View File

@ -1134,6 +1134,27 @@
failure_rate: failure_rate:
max: 0 max: 0
NovaServers.boot_and_rebuild_server:
-
args:
flavor:
name: "m1.tiny"
from_image:
name: {{image_name}}
to_image:
name: {{image_name}}
runner:
type: "constant"
times: 3
concurrency: 3
context:
users:
tenants: 3
users_per_tenant: 1
sla:
failure_rate:
max: 0
NovaServers.list_servers: NovaServers.list_servers:
- -
args: args:

View File

@ -0,0 +1,28 @@
{
"NovaServers.boot_and_rebuild_server": [
{
"args": {
"flavor": {
"name": "m1.nano"
},
"from_image": {
"name": "cirros-0.3.1-x86_64-uec"
},
"to_image": {
"name": "cirros-0.3.2-x86_64-uec"
}
},
"runner": {
"type": "constant",
"times": 5,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
}
}
]
}

View File

@ -0,0 +1,17 @@
---
NovaServers.boot_and_rebuild_server:
- args:
flavor:
name: m1.nano
from_image:
name: "cirros-0.3.1-x86_64-uec"
to_image:
name: "cirros-0.3.2-x86_64-uec"
runner:
type: constant
times: 5
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 1