A collection of plugins for Rally framework designed for the OpenStack platform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

573 lines
11 KiB

  1. {%- set cirros_image_url = "https://github.com/cirros-dev/cirros/releases/download/0.3.5/cirros-0.3.5-x86_64-disk.img" %}
  2. ---
  3. KeystoneBasic.create_user:
  4. -
  5. args: {}
  6. runner:
  7. type: "constant"
  8. times: 10
  9. concurrency: 10
  10. sla:
  11. failure_rate:
  12. max: 0
  13. KeystoneBasic.create_delete_user:
  14. -
  15. args: {}
  16. runner:
  17. type: "constant"
  18. times: 10
  19. concurrency: 10
  20. sla:
  21. failure_rate:
  22. max: 0
  23. KeystoneBasic.create_user_set_enabled_and_delete:
  24. -
  25. args:
  26. enabled: true
  27. runner:
  28. type: "constant"
  29. times: 10
  30. concurrency: 10
  31. sla:
  32. failure_rate:
  33. max: 0
  34. -
  35. args:
  36. enabled: false
  37. runner:
  38. type: "constant"
  39. times: 10
  40. concurrency: 10
  41. sla:
  42. failure_rate:
  43. max: 0
  44. KeystoneBasic.create_and_list_tenants:
  45. -
  46. args: {}
  47. runner:
  48. type: "constant"
  49. times: 10
  50. concurrency: 10
  51. sla:
  52. failure_rate:
  53. max: 0
  54. KeystoneBasic.get_entities:
  55. -
  56. runner:
  57. type: "constant"
  58. times: 20
  59. concurrency: 10
  60. sla:
  61. failure_rate:
  62. max: 0
  63. -
  64. args:
  65. service_name: null
  66. runner:
  67. type: "constant"
  68. times: 20
  69. concurrency: 10
  70. sla:
  71. failure_rate:
  72. max: 0
  73. -
  74. args:
  75. service_name: "nova"
  76. runner:
  77. type: "constant"
  78. times: 20
  79. concurrency: 10
  80. sla:
  81. failure_rate:
  82. max: 0
  83. KeystoneBasic.add_and_remove_user_role:
  84. -
  85. runner:
  86. type: "constant"
  87. times: 10
  88. concurrency: 5
  89. context:
  90. users:
  91. tenants: 1
  92. users_per_tenant: 1
  93. sla:
  94. failure_rate:
  95. max: 0
  96. KeystoneBasic.create_and_delete_role:
  97. -
  98. runner:
  99. type: "constant"
  100. times: 10
  101. concurrency: 5
  102. sla:
  103. failure_rate:
  104. max: 0
  105. KeystoneBasic.create_and_get_role:
  106. -
  107. args: {}
  108. runner:
  109. type: "constant"
  110. times: 10
  111. concurrency: 5
  112. context:
  113. users:
  114. tenants: 2
  115. users_per_tenant: 2
  116. sla:
  117. failure_rate:
  118. max: 0
  119. KeystoneBasic.create_add_and_list_user_roles:
  120. -
  121. runner:
  122. type: "constant"
  123. times: 10
  124. concurrency: 5
  125. context:
  126. users:
  127. tenants: 1
  128. users_per_tenant: 1
  129. sla:
  130. failure_rate:
  131. max: 0
  132. KeystoneBasic.create_and_list_roles:
  133. -
  134. runner:
  135. type: "constant"
  136. times: 10
  137. concurrency: 2
  138. context:
  139. users:
  140. tenants: 3
  141. users_per_tenant: 2
  142. sla:
  143. failure_rate:
  144. max: 0
  145. KeystoneBasic.create_and_list_users:
  146. -
  147. args: {}
  148. runner:
  149. type: "constant"
  150. times: 10
  151. concurrency: 10
  152. sla:
  153. failure_rate:
  154. max: 0
  155. KeystoneBasic.create_tenant:
  156. -
  157. args: {}
  158. runner:
  159. type: "constant"
  160. times: 10
  161. concurrency: 10
  162. sla:
  163. failure_rate:
  164. max: 0
  165. KeystoneBasic.create_tenant_with_users:
  166. -
  167. args:
  168. users_per_tenant: 10
  169. runner:
  170. type: "constant"
  171. times: 10
  172. concurrency: 10
  173. context:
  174. users:
  175. tenants: 3
  176. sla:
  177. failure_rate:
  178. max: 0
  179. KeystoneBasic.create_user_update_password:
  180. -
  181. args: {}
  182. runner:
  183. type: "constant"
  184. times: 10
  185. concurrency: 5
  186. sla:
  187. failure_rate:
  188. max: 0
  189. KeystoneBasic.create_and_update_user:
  190. -
  191. args:
  192. create_user_kwargs: {}
  193. update_user_kwargs:
  194. enabled: False
  195. runner:
  196. type: "constant"
  197. times: 10
  198. concurrency: 2
  199. context:
  200. users:
  201. tenants: 2
  202. users_per_tenant: 2
  203. sla:
  204. failure_rate:
  205. max: 0
  206. KeystoneBasic.create_update_and_delete_tenant:
  207. -
  208. args: {}
  209. runner:
  210. type: "constant"
  211. times: 10
  212. concurrency: 5
  213. sla:
  214. failure_rate:
  215. max: 0
  216. KeystoneBasic.create_and_delete_service:
  217. -
  218. runner:
  219. type: "constant"
  220. times: 10
  221. concurrency: 5
  222. sla:
  223. failure_rate:
  224. max: 0
  225. KeystoneBasic.create_and_list_services:
  226. -
  227. runner:
  228. type: "constant"
  229. times: 10
  230. concurrency: 5
  231. sla:
  232. failure_rate:
  233. max: 0
  234. KeystoneBasic.create_and_list_ec2credentials:
  235. -
  236. runner:
  237. type: "constant"
  238. times: 10
  239. concurrency: 5
  240. context:
  241. users:
  242. tenants: 2
  243. users_per_tenant: 2
  244. sla:
  245. failure_rate:
  246. max: 0
  247. KeystoneBasic.create_and_delete_ec2credential:
  248. -
  249. runner:
  250. type: "constant"
  251. times: 10
  252. concurrency: 5
  253. context:
  254. users:
  255. tenants: 2
  256. users_per_tenant: 2
  257. sla:
  258. failure_rate:
  259. max: 0
  260. Dummy.openstack:
  261. -
  262. args:
  263. sleep: 0.01
  264. runner:
  265. type: "constant"
  266. times: 1
  267. concurrency: 1
  268. context:
  269. users:
  270. tenants: 8
  271. users_per_tenant: 4
  272. sla:
  273. failure_rate:
  274. max: 0
  275. -
  276. args:
  277. sleep: 0.6
  278. runner:
  279. type: "constant"
  280. concurrency: 2
  281. times: 4
  282. timeout: 1
  283. context:
  284. users:
  285. tenants: 1
  286. users_per_tenant: 1
  287. sla:
  288. failure_rate:
  289. max: 0
  290. -
  291. args:
  292. sleep: 0.6
  293. runner:
  294. type: "rps"
  295. rps: 2
  296. times: 5
  297. timeout: 1
  298. context:
  299. users:
  300. tenants: 1
  301. users_per_tenant: 1
  302. sla:
  303. failure_rate:
  304. max: 0
  305. -
  306. description: "Check 'quotas' context."
  307. args:
  308. sleep: 0.01
  309. runner:
  310. type: "constant"
  311. times: 1
  312. concurrency: 1
  313. context:
  314. quotas:
  315. nova:
  316. instances: 200
  317. cores: 200
  318. ram: -1
  319. floating_ips: 200
  320. fixed_ips: 200
  321. metadata_items: -1
  322. injected_files: -1
  323. injected_file_content_bytes: -1
  324. injected_file_path_bytes: -1
  325. key_pairs: 500
  326. security_groups: 400
  327. security_group_rules: 600
  328. cinder:
  329. gigabytes: -1
  330. snapshots: -1
  331. volumes: -1
  332. sla:
  333. failure_rate:
  334. max: 0
  335. Authenticate.keystone:
  336. -
  337. runner:
  338. type: "constant"
  339. times: 40
  340. concurrency: 20
  341. context:
  342. users:
  343. tenants: 2
  344. users_per_tenant: 10
  345. sla:
  346. failure_rate:
  347. max: 0
  348. Authenticate.validate_glance:
  349. -
  350. args:
  351. repetitions: 2
  352. runner:
  353. type: "constant"
  354. times: 10
  355. concurrency: 5
  356. context:
  357. users:
  358. tenants: 3
  359. users_per_tenant: 5
  360. sla:
  361. failure_rate:
  362. max: 0
  363. HttpRequests.check_request:
  364. -
  365. args:
  366. url: "http://www.example.com"
  367. method: "GET"
  368. status_code: 200
  369. runner:
  370. type: "constant"
  371. times: 2
  372. concurrency: 2
  373. sla:
  374. failure_rate:
  375. max: 0
  376. HttpRequests.check_random_request:
  377. -
  378. args:
  379. requests:
  380. -
  381. url: "http://www.example.com"
  382. method: "GET"
  383. -
  384. url: "http://localhost"
  385. method: "GET"
  386. status_code: 200
  387. runner:
  388. type: "constant"
  389. times: 2
  390. concurrency: 2
  391. sla:
  392. failure_rate:
  393. max: 0
  394. GlanceImages.list_images:
  395. -
  396. runner:
  397. type: "constant"
  398. times: 5
  399. concurrency: 5
  400. context:
  401. users:
  402. tenants: 1
  403. users_per_tenant: 2
  404. images:
  405. image_url: "{{ cirros_image_url }}"
  406. disk_format: "qcow2"
  407. container_format: "bare"
  408. images_per_tenant: 1
  409. sla:
  410. failure_rate:
  411. max: 100
  412. -
  413. runner:
  414. type: "constant"
  415. times: 5
  416. concurrency: 5
  417. context:
  418. users:
  419. tenants: 2
  420. users_per_tenant: 1
  421. images:
  422. image_url: "~/.rally/extra/fake-image.img"
  423. disk_format: "qcow2"
  424. container_format: "bare"
  425. images_per_tenant: 2
  426. sla:
  427. failure_rate:
  428. max: 100
  429. GlanceImages.create_and_list_image:
  430. -
  431. args:
  432. image_location: "~/.rally/extra/fake-image.img"
  433. container_format: "bare"
  434. disk_format: "qcow2"
  435. runner:
  436. type: "constant"
  437. times: 1
  438. concurrency: 1
  439. context:
  440. users:
  441. tenants: 1
  442. users_per_tenant: 1
  443. api_versions:
  444. glance:
  445. version: 2
  446. sla:
  447. failure_rate:
  448. max: 100
  449. SwiftObjects.create_container_and_object_then_list_objects:
  450. -
  451. args:
  452. objects_per_container: 2
  453. object_size: 5120
  454. runner:
  455. type: "constant"
  456. times: 2
  457. concurrency: 2
  458. context:
  459. users:
  460. tenants: 1
  461. users_per_tenant: 1
  462. roles:
  463. - "admin"
  464. sla:
  465. failure_rate:
  466. max: 0
  467. SwiftObjects.create_container_and_object_then_delete_all:
  468. -
  469. args:
  470. objects_per_container: 5
  471. object_size: 102400
  472. runner:
  473. type: "constant"
  474. times: 4
  475. concurrency: 2
  476. context:
  477. users:
  478. tenants: 1
  479. users_per_tenant: 1
  480. roles:
  481. - "admin"
  482. sla:
  483. failure_rate:
  484. max: 0
  485. SwiftObjects.create_container_and_object_then_download_object:
  486. -
  487. args:
  488. objects_per_container: 5
  489. object_size: 1024
  490. runner:
  491. type: "constant"
  492. times: 6
  493. concurrency: 3
  494. context:
  495. users:
  496. tenants: 1
  497. users_per_tenant: 1
  498. roles:
  499. - "admin"
  500. sla:
  501. failure_rate:
  502. max: 0
  503. SwiftObjects.list_and_download_objects_in_containers:
  504. -
  505. runner:
  506. type: "constant"
  507. times: 2
  508. concurrency: 2
  509. context:
  510. users:
  511. tenants: 1
  512. users_per_tenant: 1
  513. roles:
  514. - "admin"
  515. swift_objects:
  516. containers_per_tenant: 1
  517. objects_per_container: 5
  518. object_size: 10240
  519. sla:
  520. failure_rate:
  521. max: 0
  522. SwiftObjects.list_objects_in_containers:
  523. -
  524. runner:
  525. type: "constant"
  526. times: 6
  527. concurrency: 3
  528. context:
  529. users:
  530. tenants: 1
  531. users_per_tenant: 1
  532. roles:
  533. - "admin"
  534. swift_objects:
  535. containers_per_tenant: 1
  536. objects_per_container: 10
  537. object_size: 1024
  538. sla:
  539. failure_rate:
  540. max: 0