summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValeriy Ponomaryov <vponomaryov@mirantis.com>2016-11-16 13:53:20 +0200
committerValeriy Ponomaryov <vponomaryov@mirantis.com>2016-11-16 16:05:27 +0200
commita82b9c267141ce63690fde4d98970d11a48c2ec1 (patch)
treec63cb07cdcebf22d3a96aeaafd0875d0f27c67e7
parentd2cbb01669a9c7d9e24bc7eb42181da14f1577f6 (diff)
Add Rally CI jobs with Manila scenarios
Rally project has Manila support. So, add its scenarios to Manila to be able to run them in CI. Change-Id: Ie689ec15a8a2c77824fbf74de66dc852589bad1d
Notes
Notes (review): Code-Review+2: Tom Barron <tpb@dyncloud.net> Code-Review+2: Goutham Pacha Ravi <gouthampravi@gmail.com> Workflow+1: Goutham Pacha Ravi <gouthampravi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 16 Nov 2016 18:54:10 +0000 Reviewed-on: https://review.openstack.org/188029 Project: openstack/manila Branch: refs/heads/master
-rw-r--r--rally-jobs/rally-manila-no-ss.yaml92
-rw-r--r--rally-jobs/rally-manila.yaml198
2 files changed, 290 insertions, 0 deletions
diff --git a/rally-jobs/rally-manila-no-ss.yaml b/rally-jobs/rally-manila-no-ss.yaml
new file mode 100644
index 0000000..959a662
--- /dev/null
+++ b/rally-jobs/rally-manila-no-ss.yaml
@@ -0,0 +1,92 @@
1---
2 Dummy.dummy:
3 -
4 runner:
5 type: "constant"
6 times: 1
7 concurrency: 1
8 context:
9 users:
10 tenants: 1
11 users_per_tenant: 1
12 quotas:
13 manila:
14 shares: -1
15 gigabytes: -1
16 snapshots: -1
17 snapshot_gigabytes: -1
18 share_networks: -1
19
20 ManilaShares.list_shares:
21 -
22 args:
23 detailed: True
24 runner:
25 type: "constant"
26 times: 10
27 concurrency: 10
28 context:
29 users:
30 tenants: 1
31 users_per_tenant: 1
32 sla:
33 failure_rate:
34 max: 0
35
36 {% for s in ("create_and_delete_share", "create_and_list_share") %}
37 ManilaShares.{{s}}:
38 -
39 args:
40 share_proto: "nfs"
41 size: 1
42 share_type: "dhss_false"
43 min_sleep: 1
44 max_sleep: 2
45 runner:
46 type: "constant"
47 times: 10
48 concurrency: 10
49 context:
50 quotas:
51 manila:
52 shares: -1
53 gigabytes: -1
54 users:
55 tenants: 2
56 users_per_tenant: 1
57 sla:
58 failure_rate:
59 max: 0
60 {% endfor %}
61
62
63 ManilaShares.set_and_delete_metadata:
64 -
65 args:
66 sets: 1
67 set_size: 3
68 delete_size: 3
69 key_min_length: 1
70 key_max_length: 256
71 value_min_length: 1
72 value_max_length: 1024
73 runner:
74 type: "constant"
75 times: 10
76 concurrency: 10
77 context:
78 quotas:
79 manila:
80 shares: -1
81 gigabytes: -1
82 users:
83 tenants: 1
84 users_per_tenant: 1
85 manila_shares:
86 shares_per_tenant: 1
87 share_proto: "NFS"
88 size: 1
89 share_type: "dhss_false"
90 sla:
91 failure_rate:
92 max: 0
diff --git a/rally-jobs/rally-manila.yaml b/rally-jobs/rally-manila.yaml
new file mode 100644
index 0000000..0299136
--- /dev/null
+++ b/rally-jobs/rally-manila.yaml
@@ -0,0 +1,198 @@
1---
2 Dummy.dummy:
3 -
4 runner:
5 type: "constant"
6 times: 1
7 concurrency: 1
8 context:
9 users:
10 tenants: 1
11 users_per_tenant: 1
12 quotas:
13 manila:
14 shares: -1
15 gigabytes: -1
16 snapshots: -1
17 snapshot_gigabytes: -1
18 share_networks: -1
19
20 ManilaShares.list_shares:
21 -
22 args:
23 detailed: True
24 runner:
25 type: "constant"
26 times: 10
27 concurrency: 10
28 context:
29 users:
30 tenants: 3
31 users_per_tenant: 4
32 user_choice_method: "round_robin"
33 sla:
34 failure_rate:
35 max: 0
36
37 {% for s in ("create_and_delete_share", "create_and_list_share") %}
38 ManilaShares.{{s}}:
39 -
40 args:
41 share_proto: "nfs"
42 size: 1
43 share_type: "dhss_true"
44 min_sleep: 1
45 max_sleep: 2
46 runner:
47 type: "constant"
48 times: 10
49 concurrency: 10
50 context:
51 quotas:
52 manila:
53 shares: -1
54 gigabytes: -1
55 share_networks: -1
56 users:
57 tenants: 2
58 users_per_tenant: 1
59 user_choice_method: "round_robin"
60 manila_share_networks:
61 use_share_networks: True
62 sla:
63 failure_rate:
64 max: 0
65 {% endfor %}
66
67 ManilaShares.create_share_network_and_delete:
68 -
69 args:
70 name: "rally"
71 runner:
72 type: "constant"
73 times: 10
74 concurrency: 10
75 context:
76 quotas:
77 manila:
78 share_networks: -1
79 users:
80 tenants: 2
81 users_per_tenant: 1
82 sla:
83 failure_rate:
84 max: 0
85
86 ManilaShares.create_share_network_and_list:
87 -
88 args:
89 name: "rally"
90 detailed: True
91 search_opts:
92 name: "rally"
93 runner:
94 type: "constant"
95 times: 10
96 concurrency: 10
97 context:
98 quotas:
99 manila:
100 share_networks: -1
101 users:
102 tenants: 2
103 users_per_tenant: 1
104 sla:
105 failure_rate:
106 max: 0
107
108 ManilaShares.list_share_servers:
109 -
110 args:
111 search_opts: {}
112 runner:
113 type: "constant"
114 times: 10
115 concurrency: 10
116 sla:
117 failure_rate:
118 max: 0
119
120 ManilaShares.create_security_service_and_delete:
121 {% for s in ("ldap", "kerberos", "active_directory") %}
122 -
123 args:
124 security_service_type: {{s}}
125 dns_ip: "fake_dns_ip"
126 server: "fake-server"
127 domain: "fake_domain"
128 user: "fake_user"
129 password: "fake_password"
130 name: "fake_name"
131 description: "fake_description"
132 runner:
133 type: "constant"
134 times: 10
135 concurrency: 10
136 context:
137 users:
138 tenants: 1
139 users_per_tenant: 1
140 sla:
141 failure_rate:
142 max: 0
143 {% endfor %}
144
145 ManilaShares.attach_security_service_to_share_network:
146 {% for s in ("ldap", "kerberos", "active_directory") %}
147 -
148 args:
149 security_service_type: {{s}}
150 runner:
151 type: "constant"
152 times: 10
153 concurrency: 10
154 context:
155 users:
156 tenants: 1
157 users_per_tenant: 1
158 quotas:
159 manila:
160 share_networks: -1
161 sla:
162 failure_rate:
163 max: 0
164 {% endfor %}
165
166 ManilaShares.set_and_delete_metadata:
167 -
168 args:
169 sets: 1
170 set_size: 3
171 delete_size: 3
172 key_min_length: 1
173 key_max_length: 256
174 value_min_length: 1
175 value_max_length: 1024
176 runner:
177 type: "constant"
178 times: 10
179 concurrency: 10
180 context:
181 quotas:
182 manila:
183 shares: -1
184 gigabytes: -1
185 share_networks: -1
186 users:
187 tenants: 1
188 users_per_tenant: 1
189 manila_share_networks:
190 use_share_networks: True
191 manila_shares:
192 shares_per_tenant: 1
193 share_proto: "NFS"
194 size: 1
195 share_type: "dhss_true"
196 sla:
197 failure_rate:
198 max: 0