Merge lp:~zulcss/openstack-charm-testing/rally-tool into lp:openstack-charm-testing
- rally-tool
- Merge into trunk
Proposed by
Chuck Short
Status: | Merged |
---|---|
Merged at revision: | 194 |
Proposed branch: | lp:~zulcss/openstack-charm-testing/rally-tool |
Merge into: | lp:openstack-charm-testing |
Diff against target: |
978 lines (+751/-0) 45 files modified
templates/rally/boot-and-associate-floating-ip.yaml (+18/-0) templates/rally/boot-and-block-migrate.yaml (+17/-0) templates/rally/boot-and-delete-multiple.yaml (+18/-0) templates/rally/boot-and-delete-server-with-keypairs.yaml (+20/-0) templates/rally/boot-and-delete-server-with-secgroups.yaml (+21/-0) templates/rally/boot-and-delete.yaml (+18/-0) templates/rally/boot-and-get-console-server.yaml (+18/-0) templates/rally/boot-and-list.yaml (+19/-0) templates/rally/boot-and-live-migrate.yaml (+17/-0) templates/rally/boot-and-migrate.yaml (+16/-0) templates/rally/boot-and-rebuild.yaml (+18/-0) templates/rally/boot-and-show-server.yaml (+18/-0) templates/rally/boot-bounce-delete.yaml (+27/-0) templates/rally/boot-from-volume-and-delete.yaml (+19/-0) templates/rally/boot-from-volume-and-resize.yaml (+25/-0) templates/rally/boot-from-volume.yaml (+18/-0) templates/rally/boot-lock-unlock-and-delete.yaml (+17/-0) templates/rally/boot-server-attach-created-volume-and-live-migrate.yaml (+20/-0) templates/rally/boot-server-attach-created-volume-and-resize.yaml (+25/-0) templates/rally/boot-server-from-volume-and-live-migrate.yaml (+19/-0) templates/rally/boot-snapshot-boot-delete.yaml (+18/-0) templates/rally/boot.yaml (+17/-0) templates/rally/create-and-delete-floating-ips-bulk.yaml (+13/-0) templates/rally/create-and-delete-keypair.yaml (+11/-0) templates/rally/create-and-delete-network.yaml (+13/-0) templates/rally/create-and-delete-secgroups.yaml (+14/-0) templates/rally/create-and-list-floating-ips-bulk.yaml (+14/-0) templates/rally/create-and-list-keypairs.yaml (+11/-0) templates/rally/create-and-list-networks.yaml (+13/-0) templates/rally/create-and-list-secgroups.yaml (+14/-0) templates/rally/create-and-update-secgroups.yaml (+13/-0) templates/rally/list-agents.yaml (+7/-0) templates/rally/list-aggregates.yaml (+7/-0) templates/rally/list-availability-zones.yaml (+9/-0) templates/rally/list-flavors.yaml (+13/-0) templates/rally/list-hosts.yaml (+7/-0) templates/rally/list-hypervisors.yaml (+9/-0) templates/rally/list-images.yaml (+13/-0) templates/rally/list-servers.yaml (+20/-0) templates/rally/list-services.yaml (+7/-0) templates/rally/pause-and-unpause.yaml (+18/-0) templates/rally/resize-server.yaml (+21/-0) templates/rally/shelve-and-unshelve.yaml (+18/-0) templates/rally/suspend-and-resume.yaml (+18/-0) tools/install_rally.sh (+45/-0) |
To merge this branch: | bzr merge lp:~zulcss/openstack-charm-testing/rally-tool |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenStack Charm Testing Maintainers | Pending | ||
Review via email: mp+290993@code.launchpad.net |
Commit message
Description of the change
Add tool to install and configure rally.
https:/
This tool will install and configure rally in a virtualenv. To install and configure rally run the following script:
tools/install_
The script will do the following:
1. Download rally from github
2. Configure the database
3. Generate the rally tasks from templates
4. Install rally.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'templates/rally' | |||
2 | === added file 'templates/rally/boot-and-associate-floating-ip.yaml' | |||
3 | --- templates/rally/boot-and-associate-floating-ip.yaml 1970-01-01 00:00:00 +0000 | |||
4 | +++ templates/rally/boot-and-associate-floating-ip.yaml 2016-04-05 14:12:01 +0000 | |||
5 | @@ -0,0 +1,18 @@ | |||
6 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
7 | 2 | --- | ||
8 | 3 | NovaServers.boot_and_associate_floating_ip: | ||
9 | 4 | - | ||
10 | 5 | args: | ||
11 | 6 | flavor: | ||
12 | 7 | name: "{{flavor_name}}" | ||
13 | 8 | image: | ||
14 | 9 | name: "__IMAGE__" | ||
15 | 10 | runner: | ||
16 | 11 | type: "constant" | ||
17 | 12 | times: 1 | ||
18 | 13 | concurrency: 1 | ||
19 | 14 | context: | ||
20 | 15 | users: | ||
21 | 16 | tenants: 1 | ||
22 | 17 | users_per_tenant: 1 | ||
23 | 18 | network: {} | ||
24 | 0 | 19 | ||
25 | === added file 'templates/rally/boot-and-block-migrate.yaml' | |||
26 | --- templates/rally/boot-and-block-migrate.yaml 1970-01-01 00:00:00 +0000 | |||
27 | +++ templates/rally/boot-and-block-migrate.yaml 2016-04-05 14:12:01 +0000 | |||
28 | @@ -0,0 +1,17 @@ | |||
29 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
30 | 2 | --- | ||
31 | 3 | NovaServers.boot_and_live_migrate_server: | ||
32 | 4 | - args: | ||
33 | 5 | flavor: | ||
34 | 6 | name: "{{flavor_name}}" | ||
35 | 7 | image: | ||
36 | 8 | name: "__IMAGE__" | ||
37 | 9 | block_migration: true | ||
38 | 10 | runner: | ||
39 | 11 | type: "constant" | ||
40 | 12 | times: 10 | ||
41 | 13 | concurrency: 2 | ||
42 | 14 | context: | ||
43 | 15 | users: | ||
44 | 16 | tenants: 1 | ||
45 | 17 | users_per_tenant: 1 | ||
46 | 0 | 18 | ||
47 | === added file 'templates/rally/boot-and-delete-multiple.yaml' | |||
48 | --- templates/rally/boot-and-delete-multiple.yaml 1970-01-01 00:00:00 +0000 | |||
49 | +++ templates/rally/boot-and-delete-multiple.yaml 2016-04-05 14:12:01 +0000 | |||
50 | @@ -0,0 +1,18 @@ | |||
51 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
52 | 2 | --- | ||
53 | 3 | NovaServers.boot_and_delete_multiple_servers: | ||
54 | 4 | - | ||
55 | 5 | args: | ||
56 | 6 | image: | ||
57 | 7 | name: "__IMAGE__" | ||
58 | 8 | flavor: | ||
59 | 9 | name: "{{flavor_name}}" | ||
60 | 10 | count: 5 | ||
61 | 11 | runner: | ||
62 | 12 | type: "constant" | ||
63 | 13 | times: 1 | ||
64 | 14 | concurrency: 1 | ||
65 | 15 | context: | ||
66 | 16 | users: | ||
67 | 17 | tenants: 1 | ||
68 | 18 | users_per_tenant: 1 | ||
69 | 0 | 19 | ||
70 | === added file 'templates/rally/boot-and-delete-server-with-keypairs.yaml' | |||
71 | --- templates/rally/boot-and-delete-server-with-keypairs.yaml 1970-01-01 00:00:00 +0000 | |||
72 | +++ templates/rally/boot-and-delete-server-with-keypairs.yaml 2016-04-05 14:12:01 +0000 | |||
73 | @@ -0,0 +1,20 @@ | |||
74 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
75 | 2 | --- | ||
76 | 3 | NovaKeypair.boot_and_delete_server_with_keypair: | ||
77 | 4 | - | ||
78 | 5 | args: | ||
79 | 6 | flavor: | ||
80 | 7 | name: "{{flavor_name}}" | ||
81 | 8 | image: | ||
82 | 9 | name: "__IMAGE__" | ||
83 | 10 | boot_server_kwargs: {} | ||
84 | 11 | runner: | ||
85 | 12 | type: "constant" | ||
86 | 13 | times: 5 | ||
87 | 14 | concurrency: 2 | ||
88 | 15 | context: | ||
89 | 16 | users: | ||
90 | 17 | tenants: 2 | ||
91 | 18 | users_per_tenant: 1 | ||
92 | 19 | network: | ||
93 | 20 | start_cidr: "100.1.0.0/26" | ||
94 | 0 | 21 | ||
95 | === added file 'templates/rally/boot-and-delete-server-with-secgroups.yaml' | |||
96 | --- templates/rally/boot-and-delete-server-with-secgroups.yaml 1970-01-01 00:00:00 +0000 | |||
97 | +++ templates/rally/boot-and-delete-server-with-secgroups.yaml 2016-04-05 14:12:01 +0000 | |||
98 | @@ -0,0 +1,21 @@ | |||
99 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
100 | 2 | --- | ||
101 | 3 | NovaSecGroup.boot_and_delete_server_with_secgroups: | ||
102 | 4 | - | ||
103 | 5 | args: | ||
104 | 6 | flavor: | ||
105 | 7 | name: "{{flavor_name}}" | ||
106 | 8 | image: | ||
107 | 9 | name: "__IAMGE__" | ||
108 | 10 | security_group_count: 10 | ||
109 | 11 | rules_per_security_group: 10 | ||
110 | 12 | runner: | ||
111 | 13 | type: "constant" | ||
112 | 14 | times: 10 | ||
113 | 15 | concurrency: 2 | ||
114 | 16 | context: | ||
115 | 17 | users: | ||
116 | 18 | tenants: 3 | ||
117 | 19 | users_per_tenant: 2 | ||
118 | 20 | network: | ||
119 | 21 | start_cidr: "100.1.0.0/26" | ||
120 | 0 | 22 | ||
121 | === added file 'templates/rally/boot-and-delete.yaml' | |||
122 | --- templates/rally/boot-and-delete.yaml 1970-01-01 00:00:00 +0000 | |||
123 | +++ templates/rally/boot-and-delete.yaml 2016-04-05 14:12:01 +0000 | |||
124 | @@ -0,0 +1,18 @@ | |||
125 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
126 | 2 | --- | ||
127 | 3 | NovaServers.boot_and_delete_server: | ||
128 | 4 | - | ||
129 | 5 | args: | ||
130 | 6 | flavor: | ||
131 | 7 | name: "{{flavor_name}}" | ||
132 | 8 | image: | ||
133 | 9 | name: "__IMAGE__" | ||
134 | 10 | force_delete: false | ||
135 | 11 | runner: | ||
136 | 12 | type: "constant" | ||
137 | 13 | times: 10 | ||
138 | 14 | concurrency: 2 | ||
139 | 15 | context: | ||
140 | 16 | users: | ||
141 | 17 | tenants: 3 | ||
142 | 18 | users_per_tenant: 2 | ||
143 | 0 | 19 | ||
144 | === added file 'templates/rally/boot-and-get-console-server.yaml' | |||
145 | --- templates/rally/boot-and-get-console-server.yaml 1970-01-01 00:00:00 +0000 | |||
146 | +++ templates/rally/boot-and-get-console-server.yaml 2016-04-05 14:12:01 +0000 | |||
147 | @@ -0,0 +1,18 @@ | |||
148 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
149 | 2 | {% set image_name = image_name or "^cirros.*uec$" %} | ||
150 | 3 | --- | ||
151 | 4 | NovaServers.boot_and_get_console_output: | ||
152 | 5 | - | ||
153 | 6 | args: | ||
154 | 7 | flavor: | ||
155 | 8 | name: "{{flavor_name}}" | ||
156 | 9 | image: | ||
157 | 10 | name: "{{image_name}}" | ||
158 | 11 | runner: | ||
159 | 12 | type: "constant" | ||
160 | 13 | times: 1 | ||
161 | 14 | concurrency: 1 | ||
162 | 15 | context: | ||
163 | 16 | users: | ||
164 | 17 | tenants: 1 | ||
165 | 18 | users_per_tenant: 1 | ||
166 | 0 | 19 | ||
167 | === added file 'templates/rally/boot-and-list.yaml' | |||
168 | --- templates/rally/boot-and-list.yaml 1970-01-01 00:00:00 +0000 | |||
169 | +++ templates/rally/boot-and-list.yaml 2016-04-05 14:12:01 +0000 | |||
170 | @@ -0,0 +1,19 @@ | |||
171 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
172 | 2 | --- | ||
173 | 3 | NovaServers.boot_and_list_server: | ||
174 | 4 | - | ||
175 | 5 | args: | ||
176 | 6 | flavor: | ||
177 | 7 | name: "{{flavor_name}}" | ||
178 | 8 | image: | ||
179 | 9 | name: "__IMAGE__" | ||
180 | 10 | detailed: True | ||
181 | 11 | runner: | ||
182 | 12 | type: "constant" | ||
183 | 13 | times: 1 | ||
184 | 14 | concurrency: 1 | ||
185 | 15 | context: | ||
186 | 16 | users: | ||
187 | 17 | tenants: 1 | ||
188 | 18 | users_per_tenant: 1 | ||
189 | 19 | |||
190 | 0 | 20 | ||
191 | === added file 'templates/rally/boot-and-live-migrate.yaml' | |||
192 | --- templates/rally/boot-and-live-migrate.yaml 1970-01-01 00:00:00 +0000 | |||
193 | +++ templates/rally/boot-and-live-migrate.yaml 2016-04-05 14:12:01 +0000 | |||
194 | @@ -0,0 +1,17 @@ | |||
195 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
196 | 2 | --- | ||
197 | 3 | NovaServers.boot_and_live_migrate_server: | ||
198 | 4 | - args: | ||
199 | 5 | flavor: | ||
200 | 6 | name: "{{flavor_name}}" | ||
201 | 7 | image: | ||
202 | 8 | name: "__IMAGE__" | ||
203 | 9 | block_migration: false | ||
204 | 10 | runner: | ||
205 | 11 | type: "constant" | ||
206 | 12 | times: 10 | ||
207 | 13 | concurrency: 2 | ||
208 | 14 | context: | ||
209 | 15 | users: | ||
210 | 16 | tenants: 1 | ||
211 | 17 | users_per_tenant: 1 | ||
212 | 0 | 18 | ||
213 | === added file 'templates/rally/boot-and-migrate.yaml' | |||
214 | --- templates/rally/boot-and-migrate.yaml 1970-01-01 00:00:00 +0000 | |||
215 | +++ templates/rally/boot-and-migrate.yaml 2016-04-05 14:12:01 +0000 | |||
216 | @@ -0,0 +1,16 @@ | |||
217 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
218 | 2 | --- | ||
219 | 3 | NovaServers.boot_and_migrate_server: | ||
220 | 4 | - args: | ||
221 | 5 | flavor: | ||
222 | 6 | name: "{{flavor_name}}" | ||
223 | 7 | image: | ||
224 | 8 | name: "__IMAGE__" | ||
225 | 9 | runner: | ||
226 | 10 | type: "constant" | ||
227 | 11 | times: 10 | ||
228 | 12 | concurrency: 2 | ||
229 | 13 | context: | ||
230 | 14 | users: | ||
231 | 15 | tenants: 1 | ||
232 | 16 | users_per_tenant: 1 | ||
233 | 0 | 17 | ||
234 | === added file 'templates/rally/boot-and-rebuild.yaml' | |||
235 | --- templates/rally/boot-and-rebuild.yaml 1970-01-01 00:00:00 +0000 | |||
236 | +++ templates/rally/boot-and-rebuild.yaml 2016-04-05 14:12:01 +0000 | |||
237 | @@ -0,0 +1,18 @@ | |||
238 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
239 | 2 | --- | ||
240 | 3 | NovaServers.boot_and_rebuild_server: | ||
241 | 4 | - args: | ||
242 | 5 | flavor: | ||
243 | 6 | name: "{{flavor_name}}" | ||
244 | 7 | from_image: | ||
245 | 8 | name: "__IMAGE__" | ||
246 | 9 | to_image: | ||
247 | 10 | name: "__IMAGE__" | ||
248 | 11 | runner: | ||
249 | 12 | type: "constant" | ||
250 | 13 | times: 5 | ||
251 | 14 | concurrency: 2 | ||
252 | 15 | context: | ||
253 | 16 | users: | ||
254 | 17 | tenants: 1 | ||
255 | 18 | users_per_tenant: 1 | ||
256 | 0 | 19 | ||
257 | === added file 'templates/rally/boot-and-show-server.yaml' | |||
258 | --- templates/rally/boot-and-show-server.yaml 1970-01-01 00:00:00 +0000 | |||
259 | +++ templates/rally/boot-and-show-server.yaml 2016-04-05 14:12:01 +0000 | |||
260 | @@ -0,0 +1,18 @@ | |||
261 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
262 | 2 | {% set image_name = image_name or "^cirros.*uec$" %} | ||
263 | 3 | --- | ||
264 | 4 | NovaServers.boot_and_show_server: | ||
265 | 5 | - | ||
266 | 6 | args: | ||
267 | 7 | flavor: | ||
268 | 8 | name: "{{flavor_name}}" | ||
269 | 9 | image: | ||
270 | 10 | name: "__IMAGE__" | ||
271 | 11 | runner: | ||
272 | 12 | type: "constant" | ||
273 | 13 | times: 1 | ||
274 | 14 | concurrency: 1 | ||
275 | 15 | context: | ||
276 | 16 | users: | ||
277 | 17 | tenants: 1 | ||
278 | 18 | users_per_tenant: 1 | ||
279 | 0 | 19 | ||
280 | === added file 'templates/rally/boot-bounce-delete.yaml' | |||
281 | --- templates/rally/boot-bounce-delete.yaml 1970-01-01 00:00:00 +0000 | |||
282 | +++ templates/rally/boot-bounce-delete.yaml 2016-04-05 14:12:01 +0000 | |||
283 | @@ -0,0 +1,27 @@ | |||
284 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
285 | 2 | --- | ||
286 | 3 | NovaServers.boot_and_bounce_server: | ||
287 | 4 | - | ||
288 | 5 | args: | ||
289 | 6 | flavor: | ||
290 | 7 | name: "{{flavor_name}}" | ||
291 | 8 | image: | ||
292 | 9 | name: "__IMAGE__" | ||
293 | 10 | force_delete: false | ||
294 | 11 | actions: | ||
295 | 12 | - | ||
296 | 13 | hard_reboot: 1 | ||
297 | 14 | - | ||
298 | 15 | soft_reboot: 1 | ||
299 | 16 | - | ||
300 | 17 | stop_start: 1 | ||
301 | 18 | - | ||
302 | 19 | rescue_unrescue: 1 | ||
303 | 20 | runner: | ||
304 | 21 | type: "constant" | ||
305 | 22 | times: 10 | ||
306 | 23 | concurrency: 2 | ||
307 | 24 | context: | ||
308 | 25 | users: | ||
309 | 26 | tenants: 3 | ||
310 | 27 | users_per_tenant: 2 | ||
311 | 0 | 28 | ||
312 | === added file 'templates/rally/boot-from-volume-and-delete.yaml' | |||
313 | --- templates/rally/boot-from-volume-and-delete.yaml 1970-01-01 00:00:00 +0000 | |||
314 | +++ templates/rally/boot-from-volume-and-delete.yaml 2016-04-05 14:12:01 +0000 | |||
315 | @@ -0,0 +1,19 @@ | |||
316 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
317 | 2 | --- | ||
318 | 3 | NovaServers.boot_server_from_volume_and_delete: | ||
319 | 4 | - | ||
320 | 5 | args: | ||
321 | 6 | flavor: | ||
322 | 7 | name: "{{flavor_name}}" | ||
323 | 8 | image: | ||
324 | 9 | name: "__IMAGE__" | ||
325 | 10 | volume_size: 10 | ||
326 | 11 | force_delete: false | ||
327 | 12 | runner: | ||
328 | 13 | type: "constant" | ||
329 | 14 | times: 10 | ||
330 | 15 | concurrency: 2 | ||
331 | 16 | context: | ||
332 | 17 | users: | ||
333 | 18 | tenants: 3 | ||
334 | 19 | users_per_tenant: 2 | ||
335 | 0 | 20 | ||
336 | === added file 'templates/rally/boot-from-volume-and-resize.yaml' | |||
337 | --- templates/rally/boot-from-volume-and-resize.yaml 1970-01-01 00:00:00 +0000 | |||
338 | +++ templates/rally/boot-from-volume-and-resize.yaml 2016-04-05 14:12:01 +0000 | |||
339 | @@ -0,0 +1,25 @@ | |||
340 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
341 | 2 | --- | ||
342 | 3 | NovaServers.boot_server_from_volume_and_resize: | ||
343 | 4 | - | ||
344 | 5 | args: | ||
345 | 6 | flavor: | ||
346 | 7 | name: "{{flavor_name}}" | ||
347 | 8 | image: | ||
348 | 9 | name: "__IMAGE__" | ||
349 | 10 | to_flavor: | ||
350 | 11 | name: "m1.small" | ||
351 | 12 | confirm: true | ||
352 | 13 | volume_size: 1 | ||
353 | 14 | force_delete: false | ||
354 | 15 | do_delete: true | ||
355 | 16 | boot_server_kwargs: {} | ||
356 | 17 | create_volume_kwargs: {} | ||
357 | 18 | runner: | ||
358 | 19 | type: "constant" | ||
359 | 20 | times: 10 | ||
360 | 21 | concurrency: 2 | ||
361 | 22 | context: | ||
362 | 23 | users: | ||
363 | 24 | tenants: 3 | ||
364 | 25 | users_per_tenant: 2 | ||
365 | 0 | 26 | ||
366 | === added file 'templates/rally/boot-from-volume.yaml' | |||
367 | --- templates/rally/boot-from-volume.yaml 1970-01-01 00:00:00 +0000 | |||
368 | +++ templates/rally/boot-from-volume.yaml 2016-04-05 14:12:01 +0000 | |||
369 | @@ -0,0 +1,18 @@ | |||
370 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
371 | 2 | --- | ||
372 | 3 | NovaServers.boot_server_from_volume: | ||
373 | 4 | - | ||
374 | 5 | args: | ||
375 | 6 | flavor: | ||
376 | 7 | name: "{{flavor_name}}" | ||
377 | 8 | image: | ||
378 | 9 | name: "__IMAGE__" | ||
379 | 10 | volume_size: 10 | ||
380 | 11 | runner: | ||
381 | 12 | type: "constant" | ||
382 | 13 | times: 10 | ||
383 | 14 | concurrency: 2 | ||
384 | 15 | context: | ||
385 | 16 | users: | ||
386 | 17 | tenants: 3 | ||
387 | 18 | users_per_tenant: 2 | ||
388 | 0 | 19 | ||
389 | === added file 'templates/rally/boot-lock-unlock-and-delete.yaml' | |||
390 | --- templates/rally/boot-lock-unlock-and-delete.yaml 1970-01-01 00:00:00 +0000 | |||
391 | +++ templates/rally/boot-lock-unlock-and-delete.yaml 2016-04-05 14:12:01 +0000 | |||
392 | @@ -0,0 +1,17 @@ | |||
393 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
394 | 2 | --- | ||
395 | 3 | NovaServers.boot_lock_unlock_and_delete: | ||
396 | 4 | - | ||
397 | 5 | args: | ||
398 | 6 | flavor: | ||
399 | 7 | name: "{{flavor_name}}" | ||
400 | 8 | image: | ||
401 | 9 | name: "__IMAGE__" | ||
402 | 10 | runner: | ||
403 | 11 | type: "constant" | ||
404 | 12 | times: 10 | ||
405 | 13 | concurrency: 2 | ||
406 | 14 | context: | ||
407 | 15 | users: | ||
408 | 16 | tenants: 1 | ||
409 | 17 | users_per_tenant: 1 | ||
410 | 0 | 18 | ||
411 | === added file 'templates/rally/boot-server-attach-created-volume-and-live-migrate.yaml' | |||
412 | --- templates/rally/boot-server-attach-created-volume-and-live-migrate.yaml 1970-01-01 00:00:00 +0000 | |||
413 | +++ templates/rally/boot-server-attach-created-volume-and-live-migrate.yaml 2016-04-05 14:12:01 +0000 | |||
414 | @@ -0,0 +1,20 @@ | |||
415 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
416 | 2 | --- | ||
417 | 3 | NovaServers.boot_server_attach_created_volume_and_live_migrate: | ||
418 | 4 | - args: | ||
419 | 5 | flavor: | ||
420 | 6 | name: "{{flavor_name}}" | ||
421 | 7 | image: | ||
422 | 8 | name: "__IMAGE__" | ||
423 | 9 | size: 10 | ||
424 | 10 | block_migration: false | ||
425 | 11 | boot_server_kwargs: {} | ||
426 | 12 | create_volume_kwargs: {} | ||
427 | 13 | runner: | ||
428 | 14 | type: "constant" | ||
429 | 15 | times: 5 | ||
430 | 16 | concurrency: 1 | ||
431 | 17 | context: | ||
432 | 18 | users: | ||
433 | 19 | tenants: 2 | ||
434 | 20 | users_per_tenant: 2 | ||
435 | 0 | 21 | ||
436 | === added file 'templates/rally/boot-server-attach-created-volume-and-resize.yaml' | |||
437 | --- templates/rally/boot-server-attach-created-volume-and-resize.yaml 1970-01-01 00:00:00 +0000 | |||
438 | +++ templates/rally/boot-server-attach-created-volume-and-resize.yaml 2016-04-05 14:12:01 +0000 | |||
439 | @@ -0,0 +1,25 @@ | |||
440 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
441 | 2 | --- | ||
442 | 3 | NovaServers.boot_server_attach_created_volume_and_resize: | ||
443 | 4 | - | ||
444 | 5 | args: | ||
445 | 6 | flavor: | ||
446 | 7 | name: "{{flavor_name}}" | ||
447 | 8 | image: | ||
448 | 9 | name: "__IMAGE__" | ||
449 | 10 | to_flavor: | ||
450 | 11 | name: "m1.small" | ||
451 | 12 | confirm: true | ||
452 | 13 | volume_size: 1 | ||
453 | 14 | force_delete: false | ||
454 | 15 | do_delete: true | ||
455 | 16 | boot_server_kwargs: {} | ||
456 | 17 | create_volume_kwargs: {} | ||
457 | 18 | runner: | ||
458 | 19 | type: "constant" | ||
459 | 20 | times: 10 | ||
460 | 21 | concurrency: 2 | ||
461 | 22 | context: | ||
462 | 23 | users: | ||
463 | 24 | tenants: 3 | ||
464 | 25 | users_per_tenant: 2 | ||
465 | 0 | 26 | ||
466 | === added file 'templates/rally/boot-server-from-volume-and-live-migrate.yaml' | |||
467 | --- templates/rally/boot-server-from-volume-and-live-migrate.yaml 1970-01-01 00:00:00 +0000 | |||
468 | +++ templates/rally/boot-server-from-volume-and-live-migrate.yaml 2016-04-05 14:12:01 +0000 | |||
469 | @@ -0,0 +1,19 @@ | |||
470 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
471 | 2 | --- | ||
472 | 3 | NovaServers.boot_server_from_volume_and_live_migrate: | ||
473 | 4 | - args: | ||
474 | 5 | flavor: | ||
475 | 6 | name: "{{flavor_name}}" | ||
476 | 7 | image: | ||
477 | 8 | name: "__IMAGE__" | ||
478 | 9 | block_migration: false | ||
479 | 10 | volume_size: 10 | ||
480 | 11 | force_delete: false | ||
481 | 12 | runner: | ||
482 | 13 | type: "constant" | ||
483 | 14 | times: 10 | ||
484 | 15 | concurrency: 2 | ||
485 | 16 | context: | ||
486 | 17 | users: | ||
487 | 18 | tenants: 1 | ||
488 | 19 | users_per_tenant: 1 | ||
489 | 0 | 20 | ||
490 | === added file 'templates/rally/boot-snapshot-boot-delete.yaml' | |||
491 | --- templates/rally/boot-snapshot-boot-delete.yaml 1970-01-01 00:00:00 +0000 | |||
492 | +++ templates/rally/boot-snapshot-boot-delete.yaml 2016-04-05 14:12:01 +0000 | |||
493 | @@ -0,0 +1,18 @@ | |||
494 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
495 | 2 | --- | ||
496 | 3 | NovaServers.snapshot_server: | ||
497 | 4 | - | ||
498 | 5 | args: | ||
499 | 6 | flavor: | ||
500 | 7 | name: "{{flavor_name}}" | ||
501 | 8 | image: | ||
502 | 9 | name: "__IMAGE__" | ||
503 | 10 | force_delete: false | ||
504 | 11 | runner: | ||
505 | 12 | type: "constant" | ||
506 | 13 | times: 10 | ||
507 | 14 | concurrency: 2 | ||
508 | 15 | context: | ||
509 | 16 | users: | ||
510 | 17 | tenants: 3 | ||
511 | 18 | users_per_tenant: 2 | ||
512 | 0 | 19 | ||
513 | === added file 'templates/rally/boot.yaml' | |||
514 | --- templates/rally/boot.yaml 1970-01-01 00:00:00 +0000 | |||
515 | +++ templates/rally/boot.yaml 2016-04-05 14:12:01 +0000 | |||
516 | @@ -0,0 +1,17 @@ | |||
517 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
518 | 2 | --- | ||
519 | 3 | NovaServers.boot_server: | ||
520 | 4 | - | ||
521 | 5 | args: | ||
522 | 6 | flavor: | ||
523 | 7 | name: "{{flavor_name}}" | ||
524 | 8 | image: | ||
525 | 9 | name: "__IMAGE__" | ||
526 | 10 | runner: | ||
527 | 11 | type: "constant" | ||
528 | 12 | times: 10 | ||
529 | 13 | concurrency: 2 | ||
530 | 14 | context: | ||
531 | 15 | users: | ||
532 | 16 | tenants: 3 | ||
533 | 17 | users_per_tenant: 2 | ||
534 | 0 | 18 | ||
535 | === added file 'templates/rally/create-and-delete-floating-ips-bulk.yaml' | |||
536 | --- templates/rally/create-and-delete-floating-ips-bulk.yaml 1970-01-01 00:00:00 +0000 | |||
537 | +++ templates/rally/create-and-delete-floating-ips-bulk.yaml 2016-04-05 14:12:01 +0000 | |||
538 | @@ -0,0 +1,13 @@ | |||
539 | 1 | --- | ||
540 | 2 | NovaFloatingIpsBulk.create_and_delete_floating_ips_bulk: | ||
541 | 3 | - | ||
542 | 4 | args: | ||
543 | 5 | start_cidr: "10.2.0.0/24" | ||
544 | 6 | runner: | ||
545 | 7 | type: "constant" | ||
546 | 8 | times: 5 | ||
547 | 9 | concurrency: 2 | ||
548 | 10 | context: | ||
549 | 11 | users: | ||
550 | 12 | tenants: 3 | ||
551 | 13 | users_per_tenant: 2 | ||
552 | 0 | 14 | ||
553 | === added file 'templates/rally/create-and-delete-keypair.yaml' | |||
554 | --- templates/rally/create-and-delete-keypair.yaml 1970-01-01 00:00:00 +0000 | |||
555 | +++ templates/rally/create-and-delete-keypair.yaml 2016-04-05 14:12:01 +0000 | |||
556 | @@ -0,0 +1,11 @@ | |||
557 | 1 | --- | ||
558 | 2 | NovaKeypair.create_and_delete_keypair: | ||
559 | 3 | - | ||
560 | 4 | runner: | ||
561 | 5 | type: "constant" | ||
562 | 6 | times: 10 | ||
563 | 7 | concurrency: 2 | ||
564 | 8 | context: | ||
565 | 9 | users: | ||
566 | 10 | tenants: 3 | ||
567 | 11 | users_per_tenant: 2 | ||
568 | 0 | 12 | ||
569 | === added file 'templates/rally/create-and-delete-network.yaml' | |||
570 | --- templates/rally/create-and-delete-network.yaml 1970-01-01 00:00:00 +0000 | |||
571 | +++ templates/rally/create-and-delete-network.yaml 2016-04-05 14:12:01 +0000 | |||
572 | @@ -0,0 +1,13 @@ | |||
573 | 1 | --- | ||
574 | 2 | NovaNetworks.create_and_delete_network: | ||
575 | 3 | - | ||
576 | 4 | args: | ||
577 | 5 | start_cidr: "10.10.0.0/24" | ||
578 | 6 | runner: | ||
579 | 7 | type: "constant" | ||
580 | 8 | times: 5 | ||
581 | 9 | concurrency: 2 | ||
582 | 10 | context: | ||
583 | 11 | users: | ||
584 | 12 | tenants: 3 | ||
585 | 13 | users_per_tenant: 2 | ||
586 | 0 | \ No newline at end of file | 14 | \ No newline at end of file |
587 | 1 | 15 | ||
588 | === added file 'templates/rally/create-and-delete-secgroups.yaml' | |||
589 | --- templates/rally/create-and-delete-secgroups.yaml 1970-01-01 00:00:00 +0000 | |||
590 | +++ templates/rally/create-and-delete-secgroups.yaml 2016-04-05 14:12:01 +0000 | |||
591 | @@ -0,0 +1,14 @@ | |||
592 | 1 | --- | ||
593 | 2 | NovaSecGroup.create_and_delete_secgroups: | ||
594 | 3 | - | ||
595 | 4 | args: | ||
596 | 5 | security_group_count: 10 | ||
597 | 6 | rules_per_security_group: 10 | ||
598 | 7 | runner: | ||
599 | 8 | type: "constant" | ||
600 | 9 | times: 10 | ||
601 | 10 | concurrency: 2 | ||
602 | 11 | context: | ||
603 | 12 | users: | ||
604 | 13 | tenants: 3 | ||
605 | 14 | users_per_tenant: 2 | ||
606 | 0 | 15 | ||
607 | === added file 'templates/rally/create-and-list-floating-ips-bulk.yaml' | |||
608 | --- templates/rally/create-and-list-floating-ips-bulk.yaml 1970-01-01 00:00:00 +0000 | |||
609 | +++ templates/rally/create-and-list-floating-ips-bulk.yaml 2016-04-05 14:12:01 +0000 | |||
610 | @@ -0,0 +1,14 @@ | |||
611 | 1 | --- | ||
612 | 2 | NovaFloatingIpsBulk.create_and_list_floating_ips_bulk: | ||
613 | 3 | - | ||
614 | 4 | args: | ||
615 | 5 | start_cidr: "10.2.0.0/24" | ||
616 | 6 | runner: | ||
617 | 7 | type: "constant" | ||
618 | 8 | times: 5 | ||
619 | 9 | concurrency: 2 | ||
620 | 10 | context: | ||
621 | 11 | users: | ||
622 | 12 | tenants: 3 | ||
623 | 13 | users_per_tenant: 2 | ||
624 | 14 | |||
625 | 0 | 15 | ||
626 | === added file 'templates/rally/create-and-list-keypairs.yaml' | |||
627 | --- templates/rally/create-and-list-keypairs.yaml 1970-01-01 00:00:00 +0000 | |||
628 | +++ templates/rally/create-and-list-keypairs.yaml 2016-04-05 14:12:01 +0000 | |||
629 | @@ -0,0 +1,11 @@ | |||
630 | 1 | --- | ||
631 | 2 | NovaKeypair.create_and_list_keypairs: | ||
632 | 3 | - | ||
633 | 4 | runner: | ||
634 | 5 | type: "constant" | ||
635 | 6 | times: 10 | ||
636 | 7 | concurrency: 2 | ||
637 | 8 | context: | ||
638 | 9 | users: | ||
639 | 10 | tenants: 3 | ||
640 | 11 | users_per_tenant: 2 | ||
641 | 0 | 12 | ||
642 | === added file 'templates/rally/create-and-list-networks.yaml' | |||
643 | --- templates/rally/create-and-list-networks.yaml 1970-01-01 00:00:00 +0000 | |||
644 | +++ templates/rally/create-and-list-networks.yaml 2016-04-05 14:12:01 +0000 | |||
645 | @@ -0,0 +1,13 @@ | |||
646 | 1 | --- | ||
647 | 2 | NovaNetworks.create_and_list_networks: | ||
648 | 3 | - | ||
649 | 4 | args: | ||
650 | 5 | start_cidr: "10.10.0.0/24" | ||
651 | 6 | runner: | ||
652 | 7 | type: "constant" | ||
653 | 8 | times: 5 | ||
654 | 9 | concurrency: 2 | ||
655 | 10 | context: | ||
656 | 11 | users: | ||
657 | 12 | tenants: 3 | ||
658 | 13 | users_per_tenant: 2 | ||
659 | 0 | \ No newline at end of file | 14 | \ No newline at end of file |
660 | 1 | 15 | ||
661 | === added file 'templates/rally/create-and-list-secgroups.yaml' | |||
662 | --- templates/rally/create-and-list-secgroups.yaml 1970-01-01 00:00:00 +0000 | |||
663 | +++ templates/rally/create-and-list-secgroups.yaml 2016-04-05 14:12:01 +0000 | |||
664 | @@ -0,0 +1,14 @@ | |||
665 | 1 | --- | ||
666 | 2 | NovaSecGroup.create_and_list_secgroups: | ||
667 | 3 | - | ||
668 | 4 | args: | ||
669 | 5 | security_group_count: 10 | ||
670 | 6 | rules_per_security_group: 10 | ||
671 | 7 | runner: | ||
672 | 8 | type: "constant" | ||
673 | 9 | times: 10 | ||
674 | 10 | concurrency: 2 | ||
675 | 11 | context: | ||
676 | 12 | users: | ||
677 | 13 | tenants: 3 | ||
678 | 14 | users_per_tenant: 2 | ||
679 | 0 | 15 | ||
680 | === added file 'templates/rally/create-and-update-secgroups.yaml' | |||
681 | --- templates/rally/create-and-update-secgroups.yaml 1970-01-01 00:00:00 +0000 | |||
682 | +++ templates/rally/create-and-update-secgroups.yaml 2016-04-05 14:12:01 +0000 | |||
683 | @@ -0,0 +1,13 @@ | |||
684 | 1 | --- | ||
685 | 2 | NovaSecGroup.create_and_update_secgroups: | ||
686 | 3 | - | ||
687 | 4 | args: | ||
688 | 5 | security_group_count: 10 | ||
689 | 6 | runner: | ||
690 | 7 | type: "constant" | ||
691 | 8 | times: 10 | ||
692 | 9 | concurrency: 2 | ||
693 | 10 | context: | ||
694 | 11 | users: | ||
695 | 12 | tenants: 3 | ||
696 | 13 | users_per_tenant: 2 | ||
697 | 0 | 14 | ||
698 | === added file 'templates/rally/list-agents.yaml' | |||
699 | --- templates/rally/list-agents.yaml 1970-01-01 00:00:00 +0000 | |||
700 | +++ templates/rally/list-agents.yaml 2016-04-05 14:12:01 +0000 | |||
701 | @@ -0,0 +1,7 @@ | |||
702 | 1 | --- | ||
703 | 2 | NovaAgents.list_agents: | ||
704 | 3 | - | ||
705 | 4 | runner: | ||
706 | 5 | type: "constant" | ||
707 | 6 | concurrency: 2 | ||
708 | 7 | times: 10 | ||
709 | 0 | 8 | ||
710 | === added file 'templates/rally/list-aggregates.yaml' | |||
711 | --- templates/rally/list-aggregates.yaml 1970-01-01 00:00:00 +0000 | |||
712 | +++ templates/rally/list-aggregates.yaml 2016-04-05 14:12:01 +0000 | |||
713 | @@ -0,0 +1,7 @@ | |||
714 | 1 | --- | ||
715 | 2 | NovaAggregates.list_aggregates: | ||
716 | 3 | - | ||
717 | 4 | runner: | ||
718 | 5 | type: "constant" | ||
719 | 6 | concurrency: 2 | ||
720 | 7 | times : 10 | ||
721 | 0 | 8 | ||
722 | === added file 'templates/rally/list-availability-zones.yaml' | |||
723 | --- templates/rally/list-availability-zones.yaml 1970-01-01 00:00:00 +0000 | |||
724 | +++ templates/rally/list-availability-zones.yaml 2016-04-05 14:12:01 +0000 | |||
725 | @@ -0,0 +1,9 @@ | |||
726 | 1 | --- | ||
727 | 2 | NovaAvailabilityZones.list_availability_zones: | ||
728 | 3 | - | ||
729 | 4 | args: | ||
730 | 5 | detailed: true | ||
731 | 6 | runner: | ||
732 | 7 | type: "constant" | ||
733 | 8 | concurrency: 2 | ||
734 | 9 | times: 10 | ||
735 | 0 | 10 | ||
736 | === added file 'templates/rally/list-flavors.yaml' | |||
737 | --- templates/rally/list-flavors.yaml 1970-01-01 00:00:00 +0000 | |||
738 | +++ templates/rally/list-flavors.yaml 2016-04-05 14:12:01 +0000 | |||
739 | @@ -0,0 +1,13 @@ | |||
740 | 1 | --- | ||
741 | 2 | NovaFlavors.list_flavors: | ||
742 | 3 | - | ||
743 | 4 | args: | ||
744 | 5 | detailed: True | ||
745 | 6 | runner: | ||
746 | 7 | type: "constant" | ||
747 | 8 | times: 10 | ||
748 | 9 | concurrency: 2 | ||
749 | 10 | context: | ||
750 | 11 | users: | ||
751 | 12 | tenants: 3 | ||
752 | 13 | users_per_tenant: 2 | ||
753 | 0 | 14 | ||
754 | === added file 'templates/rally/list-hosts.yaml' | |||
755 | --- templates/rally/list-hosts.yaml 1970-01-01 00:00:00 +0000 | |||
756 | +++ templates/rally/list-hosts.yaml 2016-04-05 14:12:01 +0000 | |||
757 | @@ -0,0 +1,7 @@ | |||
758 | 1 | --- | ||
759 | 2 | NovaHosts.list_hosts: | ||
760 | 3 | - | ||
761 | 4 | runner: | ||
762 | 5 | type: "constant" | ||
763 | 6 | concurrency: 2 | ||
764 | 7 | times: 10 | ||
765 | 0 | 8 | ||
766 | === added file 'templates/rally/list-hypervisors.yaml' | |||
767 | --- templates/rally/list-hypervisors.yaml 1970-01-01 00:00:00 +0000 | |||
768 | +++ templates/rally/list-hypervisors.yaml 2016-04-05 14:12:01 +0000 | |||
769 | @@ -0,0 +1,9 @@ | |||
770 | 1 | --- | ||
771 | 2 | NovaHypervisors.list_hypervisors: | ||
772 | 3 | - | ||
773 | 4 | args: | ||
774 | 5 | detailed: True | ||
775 | 6 | runner: | ||
776 | 7 | type: "constant" | ||
777 | 8 | times: 10 | ||
778 | 9 | concurrency: 2 | ||
779 | 0 | 10 | ||
780 | === added file 'templates/rally/list-images.yaml' | |||
781 | --- templates/rally/list-images.yaml 1970-01-01 00:00:00 +0000 | |||
782 | +++ templates/rally/list-images.yaml 2016-04-05 14:12:01 +0000 | |||
783 | @@ -0,0 +1,13 @@ | |||
784 | 1 | --- | ||
785 | 2 | NovaImages.list_images: | ||
786 | 3 | - | ||
787 | 4 | args: | ||
788 | 5 | detailed: True | ||
789 | 6 | runner: | ||
790 | 7 | type: "constant" | ||
791 | 8 | times: 10 | ||
792 | 9 | concurrency: 2 | ||
793 | 10 | context: | ||
794 | 11 | users: | ||
795 | 12 | tenants: 3 | ||
796 | 13 | users_per_tenant: 2 | ||
797 | 0 | 14 | ||
798 | === added file 'templates/rally/list-servers.yaml' | |||
799 | --- templates/rally/list-servers.yaml 1970-01-01 00:00:00 +0000 | |||
800 | +++ templates/rally/list-servers.yaml 2016-04-05 14:12:01 +0000 | |||
801 | @@ -0,0 +1,20 @@ | |||
802 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
803 | 2 | --- | ||
804 | 3 | NovaServers.list_servers: | ||
805 | 4 | - | ||
806 | 5 | args: | ||
807 | 6 | detailed: True | ||
808 | 7 | runner: | ||
809 | 8 | type: "constant" | ||
810 | 9 | times: 1 | ||
811 | 10 | concurrency: 1 | ||
812 | 11 | context: | ||
813 | 12 | users: | ||
814 | 13 | tenants: 1 | ||
815 | 14 | users_per_tenant: 1 | ||
816 | 15 | servers: | ||
817 | 16 | flavor: | ||
818 | 17 | name: "{{flavor_name}}" | ||
819 | 18 | image: | ||
820 | 19 | name: "__IMAGE__" | ||
821 | 20 | servers_per_tenant: 2 | ||
822 | 0 | 21 | ||
823 | === added file 'templates/rally/list-services.yaml' | |||
824 | --- templates/rally/list-services.yaml 1970-01-01 00:00:00 +0000 | |||
825 | +++ templates/rally/list-services.yaml 2016-04-05 14:12:01 +0000 | |||
826 | @@ -0,0 +1,7 @@ | |||
827 | 1 | --- | ||
828 | 2 | NovaServices.list_services: | ||
829 | 3 | - | ||
830 | 4 | runner: | ||
831 | 5 | type: "constant" | ||
832 | 6 | times: 10 | ||
833 | 7 | concurrency: 2 | ||
834 | 0 | 8 | ||
835 | === added file 'templates/rally/pause-and-unpause.yaml' | |||
836 | --- templates/rally/pause-and-unpause.yaml 1970-01-01 00:00:00 +0000 | |||
837 | +++ templates/rally/pause-and-unpause.yaml 2016-04-05 14:12:01 +0000 | |||
838 | @@ -0,0 +1,18 @@ | |||
839 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
840 | 2 | --- | ||
841 | 3 | NovaServers.pause_and_unpause_server: | ||
842 | 4 | - | ||
843 | 5 | args: | ||
844 | 6 | flavor: | ||
845 | 7 | name: "{{flavor_name}}" | ||
846 | 8 | image: | ||
847 | 9 | name: "__IMAGE__" | ||
848 | 10 | force_delete: false | ||
849 | 11 | runner: | ||
850 | 12 | type: "constant" | ||
851 | 13 | times: 10 | ||
852 | 14 | concurrency: 2 | ||
853 | 15 | context: | ||
854 | 16 | users: | ||
855 | 17 | tenants: 3 | ||
856 | 18 | users_per_tenant: 2 | ||
857 | 0 | 19 | ||
858 | === added file 'templates/rally/resize-server.yaml' | |||
859 | --- templates/rally/resize-server.yaml 1970-01-01 00:00:00 +0000 | |||
860 | +++ templates/rally/resize-server.yaml 2016-04-05 14:12:01 +0000 | |||
861 | @@ -0,0 +1,21 @@ | |||
862 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
863 | 2 | --- | ||
864 | 3 | NovaServers.resize_server: | ||
865 | 4 | - | ||
866 | 5 | args: | ||
867 | 6 | flavor: | ||
868 | 7 | name: "{{flavor_name}}" | ||
869 | 8 | image: | ||
870 | 9 | name: "__IMAGE__" | ||
871 | 10 | to_flavor: | ||
872 | 11 | name: "m1.small" | ||
873 | 12 | confirm: true | ||
874 | 13 | force_delete: false | ||
875 | 14 | runner: | ||
876 | 15 | type: "constant" | ||
877 | 16 | times: 10 | ||
878 | 17 | concurrency: 5 | ||
879 | 18 | context: | ||
880 | 19 | users: | ||
881 | 20 | tenants: 1 | ||
882 | 21 | users_per_tenant: 1 | ||
883 | 0 | 22 | ||
884 | === added file 'templates/rally/shelve-and-unshelve.yaml' | |||
885 | --- templates/rally/shelve-and-unshelve.yaml 1970-01-01 00:00:00 +0000 | |||
886 | +++ templates/rally/shelve-and-unshelve.yaml 2016-04-05 14:12:01 +0000 | |||
887 | @@ -0,0 +1,18 @@ | |||
888 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
889 | 2 | --- | ||
890 | 3 | NovaServers.shelve_and_unshelve_server: | ||
891 | 4 | - | ||
892 | 5 | args: | ||
893 | 6 | flavor: | ||
894 | 7 | name: "{{flavor_name}}" | ||
895 | 8 | image: | ||
896 | 9 | name: "__IMAGE__" | ||
897 | 10 | force_delete: false | ||
898 | 11 | runner: | ||
899 | 12 | type: "constant" | ||
900 | 13 | times: 10 | ||
901 | 14 | concurrency: 2 | ||
902 | 15 | context: | ||
903 | 16 | users: | ||
904 | 17 | tenants: 3 | ||
905 | 18 | users_per_tenant: 2 | ||
906 | 0 | 19 | ||
907 | === added file 'templates/rally/suspend-and-resume.yaml' | |||
908 | --- templates/rally/suspend-and-resume.yaml 1970-01-01 00:00:00 +0000 | |||
909 | +++ templates/rally/suspend-and-resume.yaml 2016-04-05 14:12:01 +0000 | |||
910 | @@ -0,0 +1,18 @@ | |||
911 | 1 | {% set flavor_name = flavor_name or "m1.tiny" %} | ||
912 | 2 | --- | ||
913 | 3 | NovaServers.suspend_and_resume_server: | ||
914 | 4 | - | ||
915 | 5 | args: | ||
916 | 6 | flavor: | ||
917 | 7 | name: "{{flavor_name}}" | ||
918 | 8 | image: | ||
919 | 9 | name: "__IMAGE__" | ||
920 | 10 | force_delete: false | ||
921 | 11 | runner: | ||
922 | 12 | type: "constant" | ||
923 | 13 | times: 10 | ||
924 | 14 | concurrency: 2 | ||
925 | 15 | context: | ||
926 | 16 | users: | ||
927 | 17 | tenants: 3 | ||
928 | 18 | users_per_tenant: 2 | ||
929 | 0 | 19 | ||
930 | === added file 'tools/install_rally.sh' | |||
931 | --- tools/install_rally.sh 1970-01-01 00:00:00 +0000 | |||
932 | +++ tools/install_rally.sh 2016-04-05 14:12:01 +0000 | |||
933 | @@ -0,0 +1,45 @@ | |||
934 | 1 | #!/bin/bash | ||
935 | 2 | # Install and configure rally | ||
936 | 3 | |||
937 | 4 | #set -ex | ||
938 | 5 | |||
939 | 6 | if [ -z $1 ]; then | ||
940 | 7 | image="cirros" | ||
941 | 8 | else | ||
942 | 9 | image=$1 | ||
943 | 10 | fi | ||
944 | 11 | |||
945 | 12 | source novarc admin admin | ||
946 | 13 | # Gather vars for tempest template | ||
947 | 14 | image_name=$(glance image-list | grep $image | awk '{ print $4 }') | ||
948 | 15 | |||
949 | 16 | # Git rally, place the rendered rally template | ||
950 | 17 | [ -d rally ] || git clone https://github.com/openstack/rally | ||
951 | 18 | [ -d rally_scenarios ] || mkdir -p rally_scenarios | ||
952 | 19 | |||
953 | 20 | # Install rally | ||
954 | 21 | rally/install_rally.sh -y -d ~/rally | ||
955 | 22 | |||
956 | 23 | # Insert the image to use | ||
957 | 24 | for i in templates/rally/*.yaml; do | ||
958 | 25 | file=`echo $i | sed s:^templates/rally/::` | ||
959 | 26 | sed -e s:__IMAGE__:$image_name:g $i > rally_scenarios/$file | ||
960 | 27 | done | ||
961 | 28 | |||
962 | 29 | # Installing rally database | ||
963 | 30 | source ~/rally/bin/activate | ||
964 | 31 | rally-manage db recreate | ||
965 | 32 | |||
966 | 33 | # Creating environment | ||
967 | 34 | rally deployment create --fromenv --name=existing | ||
968 | 35 | |||
969 | 36 | |||
970 | 37 | echo | ||
971 | 38 | echo "Finished installing rally" | ||
972 | 39 | echo | ||
973 | 40 | echo "To run a task run the following command (for example): " | ||
974 | 41 | echo "source ~/rally/bin/activate" | ||
975 | 42 | echo "rally task start rally_scenarios/boot.yaml" | ||
976 | 43 | |||
977 | 44 | |||
978 | 45 |