Merge lp:~gnuoy/openstack-mojo-specs/vrrp into lp:openstack-mojo-specs
- vrrp
- Merge into mojo-openstack-specs
Proposed by
Liam Young
Status: | Merged |
---|---|
Merged at revision: | 237 |
Proposed branch: | lp:~gnuoy/openstack-mojo-specs/vrrp |
Merge into: | lp:openstack-mojo-specs |
Diff against target: |
1070 lines (+672/-265) 8 files modified
SPEC_SUMMARY.txt (+278/-265) helper/bundles/full_vrrpha.yaml (+200/-0) helper/setup/network.yaml (+12/-0) helper/tests/test_vrrp_ha.py (+128/-0) specs/full_stack/next_ha_vrrp/kilo/SPEC_INFO.txt (+2/-0) specs/full_stack/next_ha_vrrp/kilo/manifest (+25/-0) specs/full_stack/next_ha_vrrp/liberty/SPEC_INFO.txt (+2/-0) specs/full_stack/next_ha_vrrp/liberty/manifest (+25/-0) |
To merge this branch: | bzr merge lp:~gnuoy/openstack-mojo-specs/vrrp |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Ames (community) | Approve | ||
Review via email: mp+277598@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : | # |
Revision history for this message
David Ames (thedac) wrote : | # |
Lint fixes needed
Also the SPEC_INFO.txt files need to be updated.
+++ specs/full_
@@ -0,0 +1,1 @@
+This spec deploys and tests a deployment with neutron DVR enabled
review:
Needs Fixing
- 240. By Liam Young
-
Mix lint and general tidy
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #13985 mojo-openstack-
LINT OK: passed
Build: http://
- 241. By Liam Young
-
Fix spec summary
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'SPEC_SUMMARY.txt' |
2 | --- SPEC_SUMMARY.txt 2015-10-20 03:23:31 +0000 |
3 | +++ SPEC_SUMMARY.txt 2015-11-18 15:46:59 +0000 |
4 | @@ -1,8 +1,262 @@ |
5 | -./specs/dev/vxlan/ |
6 | -This spec deploys and tests a deployment with neutron DVR enabled |
7 | - |
8 | -./specs/dev/dvr/ |
9 | -This spec deploys and tests a deployment with neutron DVR enabled |
10 | +./specs/full_stack/stable_deploy/juno/ |
11 | +This spec performs a non-ha deploy using the stable charms and then runs tests |
12 | +to validate the deployment |
13 | + |
14 | +./specs/full_stack/stable_deploy/icehouse/ |
15 | +This spec performs a non-ha deploy using the stable charms and then runs tests |
16 | +to validate the deployment |
17 | + |
18 | +./specs/full_stack/stable_deploy/kilo/ |
19 | +This spec performs a non-ha deploy using the stable charms and then runs tests |
20 | +to validate the deployment |
21 | + |
22 | +./specs/full_stack/stable_deploy/liberty/ |
23 | +This spec performs a non-ha deploy using the stable charms and then runs tests |
24 | +to validate the deployment |
25 | + |
26 | +./specs/full_stack/stable_deploy_baremetal/juno/ |
27 | +This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal |
28 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
29 | +roughly equivalent to the next/default yamls. As swift is the object store, |
30 | +ceph-radosgw is not exercised. |
31 | + |
32 | +./specs/full_stack/stable_deploy_baremetal/icehouse/ |
33 | +This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal |
34 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
35 | +roughly equivalent to the next/default yamls. As swift is the object store, |
36 | +ceph-radosgw is not exercised. |
37 | + |
38 | +./specs/full_stack/stable_deploy_baremetal/kilo/ |
39 | +This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal |
40 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
41 | +roughly equivalent to the next/default yamls. As swift is the object store, |
42 | +ceph-radosgw is not exercised. |
43 | + |
44 | +./specs/full_stack/stable_deploy_baremetal/liberty/ |
45 | +This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal |
46 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
47 | +roughly equivalent to the next/default yamls. As swift is the object store, |
48 | +ceph-radosgw is not exercised. |
49 | + |
50 | +./specs/full_stack/stable_to_next_ha/juno/ |
51 | +This spec performs a phased ha deploy using the stable charms then upgrades |
52 | +charms to the next branches then runs tests to validate the deployment |
53 | + |
54 | +./specs/full_stack/stable_to_next_ha/icehouse/ |
55 | +This spec performs a phased ha deploy using the stable charms then upgrades |
56 | +charms to the next branches then runs tests to validate the deployment |
57 | + |
58 | +./specs/full_stack/stable_to_next_ha/kilo/ |
59 | +This spec performs a phased ha deploy using the stable charms then upgrades |
60 | +charms to the next branches then runs tests to validate the deployment |
61 | + |
62 | +./specs/full_stack/stable_to_next_ha/liberty/ |
63 | +This spec performs a phased ha deploy using the stable charms then upgrades |
64 | +charms to the next branches then runs tests to validate the deployment |
65 | + |
66 | +./specs/full_stack/next_deploy/juno/ |
67 | +This spec performs a non-ha deploy using the next charms and then runs tests |
68 | +to validate the deployment |
69 | + |
70 | +./specs/full_stack/next_deploy/icehouse/ |
71 | +This spec performs a non-ha deploy using the next charms and then runs tests |
72 | +to validate the deployment |
73 | + |
74 | +./specs/full_stack/next_deploy/kilo/ |
75 | +This spec performs a non-ha deploy using the next charms and then runs tests |
76 | +to validate the deployment |
77 | + |
78 | +./specs/full_stack/next_deploy/liberty/ |
79 | +This spec performs a non-ha deploy using the next charms and then runs tests |
80 | +to validate the deployment |
81 | + |
82 | +./specs/full_stack/next_charmhelper_sync_ha/juno/ |
83 | +This spec collects the charms and then upgrades charmhelpers in each charm |
84 | +before running a ha deployment and testing the resulting cloud |
85 | + |
86 | +./specs/full_stack/next_charmhelper_sync_ha/icehouse/ |
87 | +This spec collects the charms and then upgrades charmhelpers in each charm |
88 | +before running a ha deployment and testing the resulting cloud |
89 | + |
90 | +./specs/full_stack/next_charmhelper_sync_ha/kilo/ |
91 | +This spec collects the charms and then upgrades charmhelpers in each charm |
92 | +before running a ha deployment and testing the resulting cloud |
93 | + |
94 | +./specs/full_stack/next_charmhelper_sync_ha/liberty/ |
95 | +This spec collects the charms and then upgrades charmhelpers in each charm |
96 | +before running a ha deployment and testing the resulting cloud |
97 | + |
98 | +./specs/full_stack/next_ha_vrrp/kilo/ |
99 | +This spec deploys and tests a deployment with neutron VRRP enabled, it then |
100 | +takes down the gateways in turn and checks a guest remains accessible |
101 | + |
102 | +./specs/full_stack/next_ha_vrrp/liberty/ |
103 | +This spec deploys and tests a deployment with neutron VRRP enabled, it then |
104 | +takes down the gateways in turn and checks a guest remains accessible |
105 | + |
106 | +./specs/full_stack/next_openstack_upgrade/juno/ |
107 | +This spec performs a non-ha deploy using the next charms and then upgrades |
108 | +to the next version of openstack |
109 | + |
110 | +./specs/full_stack/next_openstack_upgrade/icehouse/ |
111 | +This spec performs a non-ha deploy using the next charms and then upgrades |
112 | +to the next version of openstack |
113 | + |
114 | +./specs/full_stack/next_openstack_upgrade/kilo/ |
115 | +This spec performs a non-ha deploy using the next charms and then upgrades |
116 | +to the next version of openstack |
117 | + |
118 | +./specs/full_stack/next_ha_oneshot/juno/ |
119 | +This spec performs a ha deploy in one shot (not phased) then runs tests to |
120 | +validate the deployment. The assumption is that the version of juju has |
121 | +leadership enabled. |
122 | + |
123 | +./specs/full_stack/next_ha_oneshot/icehouse/ |
124 | +This spec performs a ha deploy in one shot (not phased) then runs tests to |
125 | +validate the deployment. The assumption is that the version of juju has |
126 | +leadership enabled. |
127 | + |
128 | +./specs/full_stack/next_ha_oneshot/kilo/ |
129 | +This spec performs a ha deploy in one shot (not phased) then runs tests to |
130 | +validate the deployment. The assumption is that the version of juju has |
131 | +leadership enabled. |
132 | + |
133 | +./specs/full_stack/next_ha_oneshot/liberty/ |
134 | +This spec performs a ha deploy in one shot (not phased) then runs tests to |
135 | +validate the deployment. The assumption is that the version of juju has |
136 | +leadership enabled. |
137 | + |
138 | +./specs/full_stack/next_deploy_ssl/juno/ |
139 | +This spec performs a non-ha deploy using the next charms wil ssl enabled |
140 | +and then runs tests to validate the deployment |
141 | + |
142 | +./specs/full_stack/next_deploy_ssl/icehouse/ |
143 | +This spec performs a non-ha deploy using the next charms wil ssl enabled |
144 | +and then runs tests to validate the deployment |
145 | + |
146 | +./specs/full_stack/next_deploy_ssl/kilo/ |
147 | +This spec performs a non-ha deploy using the next charms wil ssl enabled |
148 | +and then runs tests to validate the deployment |
149 | + |
150 | +./specs/full_stack/next_deploy_ssl/liberty/ |
151 | +This spec performs a non-ha deploy using the next charms wil ssl enabled |
152 | +and then runs tests to validate the deployment |
153 | + |
154 | +./specs/full_stack/stable_deploy_ssl/juno/ |
155 | +This spec performs a non-ha deploy using the stable charms wil ssl enabled |
156 | +and then runs tests to validate the deployment |
157 | + |
158 | +./specs/full_stack/stable_deploy_ssl/icehouse/ |
159 | +This spec performs a non-ha deploy using the stable charms wil ssl enabled |
160 | +and then runs tests to validate the deployment |
161 | + |
162 | +./specs/full_stack/stable_deploy_ssl/kilo/ |
163 | +This spec performs a non-ha deploy using the stable charms wil ssl enabled |
164 | +and then runs tests to validate the deployment |
165 | + |
166 | +./specs/full_stack/stable_deploy_ssl/liberty/ |
167 | +This spec performs a non-ha deploy using the stable charms wil ssl enabled |
168 | +and then runs tests to validate the deployment |
169 | + |
170 | +./specs/full_stack/next_deploy_baremetal/juno/ |
171 | +This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal |
172 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
173 | +roughly equivalent to the next/default yamls. As swift is the object store, |
174 | +ceph-radosgw is not exercised. |
175 | + |
176 | +./specs/full_stack/next_deploy_baremetal/icehouse/ |
177 | +This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal |
178 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
179 | +roughly equivalent to the next/default yamls. As swift is the object store, |
180 | +ceph-radosgw is not exercised. |
181 | + |
182 | +./specs/full_stack/next_deploy_baremetal/kilo/ |
183 | +This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal |
184 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
185 | +roughly equivalent to the next/default yamls. As swift is the object store, |
186 | +ceph-radosgw is not exercised. |
187 | + |
188 | +./specs/full_stack/next_deploy_baremetal/liberty/ |
189 | +This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal |
190 | +with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
191 | +roughly equivalent to the next/default yamls. As swift is the object store, |
192 | +ceph-radosgw is not exercised. |
193 | + |
194 | +./specs/full_stack/next_ha_phased_chaos_pony/juno/ |
195 | +This spec performs a phased ha deploy then runs tests to validate the |
196 | +deployment. iThen chaos pony is used to add and remove units. |
197 | + |
198 | +./specs/full_stack/next_ha_phased_chaos_pony/icehouse/ |
199 | +This spec performs a phased ha deploy then runs tests to validate the |
200 | +deployment. iThen chaos pony is used to add and remove units. |
201 | + |
202 | +./specs/full_stack/next_ha_phased_chaos_pony/kilo/ |
203 | +This spec performs a phased ha deploy then runs tests to validate the |
204 | +deployment. iThen chaos pony is used to add and remove units. |
205 | + |
206 | +./specs/full_stack/next_ha_phased_chaos_pony/liberty/ |
207 | +This spec performs a phased ha deploy then runs tests to validate the |
208 | +deployment. iThen chaos pony is used to add and remove units. |
209 | + |
210 | +./specs/full_stack/next_ha_phased/juno/ |
211 | +This spec performs a phased ha deploy then runs tests to validate the |
212 | +deployment |
213 | + |
214 | +./specs/full_stack/next_ha_phased/icehouse/ |
215 | +This spec performs a phased ha deploy then runs tests to validate the |
216 | +deployment |
217 | + |
218 | +./specs/full_stack/next_ha_phased/kilo/ |
219 | +This spec performs a phased ha deploy then runs tests to validate the |
220 | +deployment |
221 | + |
222 | +./specs/full_stack/next_ha_phased/liberty/ |
223 | +This spec performs a phased ha deploy then runs tests to validate the |
224 | +deployment |
225 | + |
226 | +./specs/full_stack/next_charmhelper_sync/juno/ |
227 | +This spec collects the charms and then upgrades charmhelpers in each charm |
228 | +before running a non-ha deployment and testing the resulting cloud |
229 | + |
230 | +./specs/full_stack/next_charmhelper_sync/icehouse/ |
231 | +This spec collects the charms and then upgrades charmhelpers in each charm |
232 | +before running a non-ha deployment and testing the resulting cloud |
233 | + |
234 | +./specs/full_stack/next_charmhelper_sync/kilo/ |
235 | +This spec collects the charms and then upgrades charmhelpers in each charm |
236 | +before running a non-ha deployment and testing the resulting cloud |
237 | + |
238 | +./specs/full_stack/next_charmhelper_sync/liberty/ |
239 | +This spec collects the charms and then upgrades charmhelpers in each charm |
240 | +before running a non-ha deployment and testing the resulting cloud |
241 | + |
242 | +./specs/full_stack/stable_to_next/juno/ |
243 | +This spec performs a non-ha deploy using the stable charms, then upgrades the |
244 | +charms to the devel versions and then runs tests to validate the deployment |
245 | + |
246 | +./specs/full_stack/stable_to_next/icehouse/ |
247 | +This spec performs a non-ha deploy using the stable charms, then upgrades the |
248 | +charms to the devel versions and then runs tests to validate the deployment |
249 | + |
250 | +./specs/full_stack/stable_to_next/kilo/ |
251 | +This spec performs a non-ha deploy using the stable charms, then upgrades the |
252 | +charms to the devel versions and then runs tests to validate the deployment |
253 | + |
254 | +./specs/full_stack/stable_to_next/liberty/ |
255 | +This spec performs a non-ha deploy using the stable charms, then upgrades the |
256 | +charms to the devel versions and then runs tests to validate the deployment |
257 | + |
258 | +./specs/object_storage/swift_proxy/simple_nonha/juno/ |
259 | +This spec deploys a swift cluster fronted by a single swift proxy. The |
260 | +resulting object store is then tested. |
261 | + |
262 | +./specs/object_storage/swift_proxy/simple_nonha/icehouse/ |
263 | +This spec deploys a swift cluster fronted by a single swift proxy. The |
264 | +resulting object store is then tested. |
265 | + |
266 | +./specs/object_storage/swift_proxy/simple_nonha/kilo/ |
267 | +This spec deploys a swift cluster fronted by a single swift proxy. The |
268 | +resulting object store is then tested. |
269 | |
270 | ./specs/object_storage/swift_proxy/ha_parallel_scaleout/icehouse/ |
271 | This spec deploys a swift cluster fronted by multiple swift proxy front ends. |
272 | @@ -11,295 +265,54 @@ |
273 | swift-storage is simultaiously is currently not supported so this spec is |
274 | known to fail |
275 | |
276 | +./specs/object_storage/swift_proxy/ha_serial_scaleout/juno/ |
277 | +This spec deploys a swift cluster fronted by multiple swift proxy front ends. |
278 | +Swift proxy is then scaled out and once that has completed swift storage is |
279 | +scaled out. The resulting object store is then retested. |
280 | + |
281 | ./specs/object_storage/swift_proxy/ha_serial_scaleout/icehouse/ |
282 | This spec deploys a swift cluster fronted by multiple swift proxy front ends. |
283 | Swift proxy is then scaled out and once that has completed swift storage is |
284 | scaled out. The resulting object store is then retested. |
285 | |
286 | -./specs/object_storage/swift_proxy/ha_serial_scaleout/juno/ |
287 | -This spec deploys a swift cluster fronted by multiple swift proxy front ends. |
288 | -Swift proxy is then scaled out and once that has completed swift storage is |
289 | -scaled out. The resulting object store is then retested. |
290 | - |
291 | ./specs/object_storage/swift_proxy/ha_serial_scaleout/kilo/ |
292 | This spec deploys a swift cluster fronted by multiple swift proxy front ends. |
293 | Swift proxy is then scaled out and once that has completed swift storage is |
294 | scaled out. The resulting object store is then retested. |
295 | |
296 | -./specs/object_storage/swift_proxy/simple_nonha/icehouse/ |
297 | -This spec deploys a swift cluster fronted by a single swift proxy. The |
298 | -resulting object store is then tested. |
299 | - |
300 | -./specs/object_storage/swift_proxy/simple_nonha/juno/ |
301 | -This spec deploys a swift cluster fronted by a single swift proxy. The |
302 | -resulting object store is then tested. |
303 | - |
304 | -./specs/object_storage/swift_proxy/simple_nonha/kilo/ |
305 | -This spec deploys a swift cluster fronted by a single swift proxy. The |
306 | -resulting object store is then tested. |
307 | +./specs/object_storage/ceph_radosgw/simple_nonha/juno/ |
308 | +This spec deploys a ceph cluster fronted by a single ceph rados gateway node. |
309 | +The cluster is then tested with mulitple object store gets and retrivals. |
310 | +Glance integeration is also tested. |
311 | |
312 | ./specs/object_storage/ceph_radosgw/simple_nonha/icehouse/ |
313 | This spec deploys a ceph cluster fronted by a single ceph rados gateway node. |
314 | The cluster is then tested with mulitple object store gets and retrivals. |
315 | Glance integeration is also tested. |
316 | |
317 | -./specs/object_storage/ceph_radosgw/simple_nonha/juno/ |
318 | -This spec deploys a ceph cluster fronted by a single ceph rados gateway node. |
319 | -The cluster is then tested with mulitple object store gets and retrivals. |
320 | -Glance integeration is also tested. |
321 | - |
322 | ./specs/object_storage/ceph_radosgw/simple_nonha/kilo/ |
323 | This spec deploys a ceph cluster fronted by a single ceph rados gateway node. |
324 | The cluster is then tested with mulitple object store gets and retrivals. |
325 | Glance integeration is also tested. |
326 | |
327 | +./specs/object_storage/ceph_radosgw/ha/juno/ |
328 | +This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes. |
329 | +The rados gw leader is removed and additional units added. With tests run |
330 | +after each change |
331 | + |
332 | ./specs/object_storage/ceph_radosgw/ha/icehouse/ |
333 | This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes. |
334 | The rados gw leader is removed and additional units added. With tests run |
335 | after each change |
336 | |
337 | -./specs/object_storage/ceph_radosgw/ha/juno/ |
338 | -This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes. |
339 | -The rados gw leader is removed and additional units added. With tests run |
340 | -after each change |
341 | - |
342 | ./specs/object_storage/ceph_radosgw/ha/kilo/ |
343 | This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes. |
344 | The rados gw leader is removed and additional units added. With tests run |
345 | after each change |
346 | |
347 | -./specs/full_stack/next_deploy_baremetal/icehouse/ |
348 | -This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal |
349 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
350 | -roughly equivalent to the next/default yamls. As swift is the object store, |
351 | -ceph-radosgw is not exercised. |
352 | - |
353 | -./specs/full_stack/next_deploy_baremetal/juno/ |
354 | -This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal |
355 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
356 | -roughly equivalent to the next/default yamls. As swift is the object store, |
357 | -ceph-radosgw is not exercised. |
358 | - |
359 | -./specs/full_stack/next_deploy_baremetal/kilo/ |
360 | -This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal |
361 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
362 | -roughly equivalent to the next/default yamls. As swift is the object store, |
363 | -ceph-radosgw is not exercised. |
364 | - |
365 | -./specs/full_stack/next_deploy_baremetal/liberty/ |
366 | -This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal |
367 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
368 | -roughly equivalent to the next/default yamls. As swift is the object store, |
369 | -ceph-radosgw is not exercised. |
370 | - |
371 | -./specs/full_stack/next_deploy/icehouse/ |
372 | -This spec performs a non-ha deploy using the next charms and then runs tests |
373 | -to validate the deployment |
374 | - |
375 | -./specs/full_stack/next_deploy/juno/ |
376 | -This spec performs a non-ha deploy using the next charms and then runs tests |
377 | -to validate the deployment |
378 | - |
379 | -./specs/full_stack/next_deploy/kilo/ |
380 | -This spec performs a non-ha deploy using the next charms and then runs tests |
381 | -to validate the deployment |
382 | - |
383 | -./specs/full_stack/next_deploy/liberty/ |
384 | -This spec performs a non-ha deploy using the next charms and then runs tests |
385 | -to validate the deployment |
386 | - |
387 | -./specs/full_stack/ha_oneshot/icehouse/ |
388 | -This spec performs a ha deploy in one shot (not phased) then runs tests to |
389 | -validate the deployment. The assumption is that the version of juju has |
390 | -leadership enabled. |
391 | - |
392 | -./specs/full_stack/ha_oneshot/juno/ |
393 | -This spec performs a ha deploy in one shot (not phased) then runs tests to |
394 | -validate the deployment. The assumption is that the version of juju has |
395 | -leadership enabled. |
396 | - |
397 | -./specs/full_stack/ha_oneshot/kilo/ |
398 | -This spec performs a ha deploy in one shot (not phased) then runs tests to |
399 | -validate the deployment. The assumption is that the version of juju has |
400 | -leadership enabled. |
401 | - |
402 | -./specs/full_stack/ha_phased/icehouse/ |
403 | -This spec performs a phased ha deploy then runs tests to validate the |
404 | -deployment |
405 | - |
406 | -./specs/full_stack/ha_phased/juno/ |
407 | -This spec performs a phased ha deploy then runs tests to validate the |
408 | -deployment |
409 | - |
410 | -./specs/full_stack/ha_phased/kilo/ |
411 | -This spec performs a phased ha deploy then runs tests to validate the |
412 | -deployment |
413 | - |
414 | -./specs/full_stack/ha_phased/liberty/ |
415 | -This spec performs a phased ha deploy then runs tests to validate the |
416 | -deployment |
417 | - |
418 | -./specs/full_stack/ha_phased_chaos_pony/icehouse/ |
419 | -This spec performs a phased ha deploy then runs tests to validate the |
420 | -deployment. iThen chaos pony is used to add and remove units. |
421 | - |
422 | -./specs/full_stack/ha_phased_chaos_pony/juno/ |
423 | -This spec performs a phased ha deploy then runs tests to validate the |
424 | -deployment. iThen chaos pony is used to add and remove units. |
425 | - |
426 | -./specs/full_stack/ha_phased_chaos_pony/kilo/ |
427 | -This spec performs a phased ha deploy then runs tests to validate the |
428 | -deployment. iThen chaos pony is used to add and remove units. |
429 | - |
430 | -./specs/full_stack/ha_phased_chaos_pony/liberty/ |
431 | -This spec performs a phased ha deploy then runs tests to validate the |
432 | -deployment. iThen chaos pony is used to add and remove units. |
433 | - |
434 | -./specs/full_stack/openstack_upgrade/icehouse/ |
435 | -This spec performs a non-ha deploy using the next charms and then upgrades |
436 | -to the next version of openstack |
437 | - |
438 | -./specs/full_stack/openstack_upgrade/juno/ |
439 | -This spec performs a non-ha deploy using the next charms and then upgrades |
440 | -to the next version of openstack |
441 | - |
442 | -./specs/full_stack/openstack_upgrade/kilo/ |
443 | -This spec performs a non-ha deploy using the next charms and then upgrades |
444 | -to the next version of openstack |
445 | - |
446 | -./specs/full_stack/stable_deploy_baremetal/icehouse/ |
447 | -This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal |
448 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
449 | -roughly equivalent to the next/default yamls. As swift is the object store, |
450 | -ceph-radosgw is not exercised. |
451 | - |
452 | -./specs/full_stack/stable_deploy_baremetal/juno/ |
453 | -This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal |
454 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
455 | -roughly equivalent to the next/default yamls. As swift is the object store, |
456 | -ceph-radosgw is not exercised. |
457 | - |
458 | -./specs/full_stack/stable_deploy_baremetal/kilo/ |
459 | -This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal |
460 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
461 | -roughly equivalent to the next/default yamls. As swift is the object store, |
462 | -ceph-radosgw is not exercised. |
463 | - |
464 | -./specs/full_stack/stable_deploy_baremetal/liberty/ |
465 | -This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal |
466 | -with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack |
467 | -roughly equivalent to the next/default yamls. As swift is the object store, |
468 | -ceph-radosgw is not exercised. |
469 | - |
470 | -./specs/full_stack/next_deploy_ssl/icehouse/ |
471 | -This spec performs a non-ha deploy using the next charms wil ssl enabled |
472 | -and then runs tests to validate the deployment |
473 | - |
474 | -./specs/full_stack/next_deploy_ssl/juno/ |
475 | -This spec performs a non-ha deploy using the next charms wil ssl enabled |
476 | -and then runs tests to validate the deployment |
477 | - |
478 | -./specs/full_stack/next_deploy_ssl/kilo/ |
479 | -This spec performs a non-ha deploy using the next charms wil ssl enabled |
480 | -and then runs tests to validate the deployment |
481 | - |
482 | -./specs/full_stack/next_deploy_ssl/liberty/ |
483 | -This spec performs a non-ha deploy using the next charms wil ssl enabled |
484 | -and then runs tests to validate the deployment |
485 | - |
486 | -./specs/full_stack/charmhelper_upgrade/icehouse/ |
487 | -This spec collects the charms and then upgrades charmhelpers in each charm |
488 | -before running a non-ha deployment and testing the resulting cloud |
489 | - |
490 | -./specs/full_stack/charmhelper_upgrade/juno/ |
491 | -This spec collects the charms and then upgrades charmhelpers in each charm |
492 | -before running a non-ha deployment and testing the resulting cloud |
493 | - |
494 | -./specs/full_stack/charmhelper_upgrade/kilo/ |
495 | -This spec collects the charms and then upgrades charmhelpers in each charm |
496 | -before running a non-ha deployment and testing the resulting cloud |
497 | - |
498 | -./specs/full_stack/charmhelper_upgrade/liberty/ |
499 | -This spec collects the charms and then upgrades charmhelpers in each charm |
500 | -before running a non-ha deployment and testing the resulting cloud |
501 | - |
502 | -./specs/full_stack/stable_to_next/icehouse/ |
503 | -This spec performs a non-ha deploy using the stable charms, then upgrades the |
504 | -charms to the devel versions and then runs tests to validate the deployment |
505 | - |
506 | -./specs/full_stack/stable_to_next/juno/ |
507 | -This spec performs a non-ha deploy using the stable charms, then upgrades the |
508 | -charms to the devel versions and then runs tests to validate the deployment |
509 | - |
510 | -./specs/full_stack/stable_to_next/kilo/ |
511 | -This spec performs a non-ha deploy using the stable charms, then upgrades the |
512 | -charms to the devel versions and then runs tests to validate the deployment |
513 | - |
514 | -./specs/full_stack/stable_to_next/liberty/ |
515 | -This spec performs a non-ha deploy using the stable charms, then upgrades the |
516 | -charms to the devel versions and then runs tests to validate the deployment |
517 | - |
518 | -./specs/full_stack/stable_deploy/icehouse/ |
519 | -This spec performs a non-ha deploy using the stable charms and then runs tests |
520 | -to validate the deployment |
521 | - |
522 | -./specs/full_stack/stable_deploy/juno/ |
523 | -This spec performs a non-ha deploy using the stable charms and then runs tests |
524 | -to validate the deployment |
525 | - |
526 | -./specs/full_stack/stable_deploy/kilo/ |
527 | -This spec performs a non-ha deploy using the stable charms and then runs tests |
528 | -to validate the deployment |
529 | - |
530 | -./specs/full_stack/stable_deploy/liberty/ |
531 | -This spec performs a non-ha deploy using the stable charms and then runs tests |
532 | -to validate the deployment |
533 | - |
534 | -./specs/full_stack/stable_deploy_ssl/icehouse/ |
535 | -This spec performs a non-ha deploy using the stable charms wil ssl enabled |
536 | -and then runs tests to validate the deployment |
537 | - |
538 | -./specs/full_stack/stable_deploy_ssl/juno/ |
539 | -This spec performs a non-ha deploy using the stable charms wil ssl enabled |
540 | -and then runs tests to validate the deployment |
541 | - |
542 | -./specs/full_stack/stable_deploy_ssl/kilo/ |
543 | -This spec performs a non-ha deploy using the stable charms wil ssl enabled |
544 | -and then runs tests to validate the deployment |
545 | - |
546 | -./specs/full_stack/stable_deploy_ssl/liberty/ |
547 | -This spec performs a non-ha deploy using the stable charms wil ssl enabled |
548 | -and then runs tests to validate the deployment |
549 | - |
550 | -./specs/full_stack/charmhelper_upgrade_ha/icehouse/ |
551 | -This spec collects the charms and then upgrades charmhelpers in each charm |
552 | -before running a ha deployment and testing the resulting cloud |
553 | - |
554 | -./specs/full_stack/charmhelper_upgrade_ha/juno/ |
555 | -This spec collects the charms and then upgrades charmhelpers in each charm |
556 | -before running a ha deployment and testing the resulting cloud |
557 | - |
558 | -./specs/full_stack/charmhelper_upgrade_ha/kilo/ |
559 | -This spec collects the charms and then upgrades charmhelpers in each charm |
560 | -before running a ha deployment and testing the resulting cloud |
561 | - |
562 | -./specs/full_stack/charmhelper_upgrade_ha/liberty/ |
563 | -This spec collects the charms and then upgrades charmhelpers in each charm |
564 | -before running a ha deployment and testing the resulting cloud |
565 | - |
566 | -./specs/full_stack/stable_to_next_ha/icehouse/ |
567 | -This spec performs a phased ha deploy using the stable charms then upgrades |
568 | -charms to the next branches then runs tests to validate the deployment |
569 | - |
570 | -./specs/full_stack/stable_to_next_ha/juno/ |
571 | -This spec performs a phased ha deploy using the stable charms then upgrades |
572 | -charms to the next branches then runs tests to validate the deployment |
573 | - |
574 | -./specs/full_stack/stable_to_next_ha/kilo/ |
575 | -This spec performs a phased ha deploy using the stable charms then upgrades |
576 | -charms to the next branches then runs tests to validate the deployment |
577 | - |
578 | -./specs/full_stack/stable_to_next_ha/liberty/ |
579 | -This spec performs a phased ha deploy using the stable charms then upgrades |
580 | -charms to the next branches then runs tests to validate the deployment |
581 | +./specs/dev/dvr/ |
582 | +This spec deploys and tests a deployment with neutron DVR enabled |
583 | + |
584 | +./specs/dev/vxlan/ |
585 | +This spec deploys and tests a deployment with neutron DVR enabled |
586 | |
587 | |
588 | === added file 'helper/bundles/full_vrrpha.yaml' |
589 | --- helper/bundles/full_vrrpha.yaml 1970-01-01 00:00:00 +0000 |
590 | +++ helper/bundles/full_vrrpha.yaml 2015-11-18 15:46:59 +0000 |
591 | @@ -0,0 +1,200 @@ |
592 | +# vim: set ts=2 et: |
593 | +openstack-services: |
594 | + services: |
595 | + mysql: |
596 | + charm: percona-cluster |
597 | + constraints: mem=1G |
598 | + options: |
599 | + dataset-size: 50% |
600 | + rabbitmq-server: |
601 | + charm: rabbitmq-server |
602 | + constraints: mem=1G |
603 | + keystone: |
604 | + charm: keystone |
605 | + constraints: mem=1G |
606 | + options: |
607 | + admin-password: openstack |
608 | + admin-token: ubuntutesting |
609 | + openstack-dashboard: |
610 | + charm: openstack-dashboard |
611 | + constraints: mem=1G |
612 | + nova-compute: |
613 | + charm: nova-compute |
614 | + num_units: 3 |
615 | + constraints: mem=4G |
616 | + options: |
617 | + enable-live-migration: True |
618 | + enable-resize: True |
619 | + nova-cloud-controller: |
620 | + charm: nova-cloud-controller |
621 | + constraints: mem=1G |
622 | + options: |
623 | + network-manager: Quantum |
624 | + quantum-security-groups: "yes" |
625 | + neutron-gateway: |
626 | + charm: neutron-gateway |
627 | + constraints: mem=1G |
628 | + num_units: 2 |
629 | + options: |
630 | + instance-mtu: 1300 |
631 | + cinder: |
632 | + charm: cinder |
633 | + options: |
634 | + block-device: "None" |
635 | + glance-api-version: 2 |
636 | + constraints": mem=1G |
637 | + glance: |
638 | + charm: glance |
639 | + constraints: mem=1G |
640 | + relations: |
641 | + - [ keystone, mysql ] |
642 | + - [ nova-cloud-controller, mysql ] |
643 | + - [ nova-cloud-controller, rabbitmq-server ] |
644 | + - [ nova-cloud-controller, glance ] |
645 | + - [ nova-cloud-controller, keystone ] |
646 | + - [ nova-compute, nova-cloud-controller ] |
647 | + - [ nova-compute, mysql ] |
648 | + - - nova-compute |
649 | + - rabbitmq-server:amqp |
650 | + - [ nova-compute, glance ] |
651 | + - [ glance, mysql ] |
652 | + - [ glance, keystone ] |
653 | + - [ glance, cinder ] |
654 | + - [ cinder, mysql ] |
655 | + - [ cinder, rabbitmq-server ] |
656 | + - [ cinder, nova-cloud-controller ] |
657 | + - [ cinder, keystone ] |
658 | + - [ neutron-gateway, mysql ] |
659 | + - [ neutron-gateway, nova-cloud-controller ] |
660 | + - [ openstack-dashboard, keystone ] |
661 | +openstack-singlerabbit: |
662 | + inherits: openstack-services |
663 | + relations: |
664 | + - [ "neutron-gateway:amqp", rabbitmq-server ] |
665 | +openstack-icehouse: |
666 | + inherits: openstack-singlerabbit |
667 | + services: |
668 | + neutron-api: |
669 | + charm: neutron-api |
670 | + constraints: mem=1G |
671 | + options: |
672 | + overlay-network-type: 'vxlan' |
673 | + l2-population: False |
674 | + neutron-security-groups: True |
675 | + enable-dvr: False |
676 | + enable-l3ha: True |
677 | + neutron-openvswitch: |
678 | + charm: neutron-openvswitch |
679 | + relations: |
680 | + - [ neutron-api, mysql ] |
681 | + - [ neutron-api, rabbitmq-server ] |
682 | + - [ neutron-api, nova-cloud-controller ] |
683 | + - [ neutron-api, neutron-openvswitch ] |
684 | + - [ neutron-api, keystone ] |
685 | + - [ neutron-api, "neutron-gateway:neutron-plugin-api" ] |
686 | + - [ neutron-openvswitch, nova-compute ] |
687 | + - [ neutron-openvswitch, rabbitmq-server ] |
688 | + - [ neutron-openvswitch, nova-cloud-controller ] |
689 | +openstack-icehouse-msg-split: |
690 | + inherits: openstack-services |
691 | + services: |
692 | + neutron-api: |
693 | + charm: neutron-api |
694 | + constraints: mem=1G |
695 | + options: |
696 | + neutron-security-groups: True |
697 | + neutron-openvswitch: |
698 | + charm: neutron-openvswitch |
699 | + rabbitmq-server-neutron: |
700 | + charm: rabbitmq-server |
701 | + constraints: mem=1G |
702 | + relations: |
703 | + - [ neutron-api, mysql ] |
704 | + - [ neutron-api, rabbitmq-server-neutron ] |
705 | + - [ neutron-api, nova-cloud-controller ] |
706 | + - [ neutron-api, neutron-openvswitch ] |
707 | + - [ neutron-api, keystone ] |
708 | + - [ neutron-api, neutron-gateway ] |
709 | + - [ neutron-openvswitch, nova-compute ] |
710 | + - [ neutron-openvswitch, rabbitmq-server-neutron ] |
711 | + - [ "neutron-gateway:amqp-nova", rabbitmq-server ] |
712 | + - [ "neutron-gateway:amqp", rabbitmq-server-neutron ] |
713 | +# icehouse |
714 | +precise-icehouse: |
715 | + inherits: openstack-singlerabbit |
716 | + series: precise |
717 | + overrides: |
718 | + openstack-origin: cloud:precise-icehouse |
719 | + source: cloud:precise-updates/icehouse |
720 | +precise-icehouse-proposed: |
721 | + inherits: precise-icehouse |
722 | + overrides: |
723 | + openstack-origin: cloud:precise-icehouse/proposed |
724 | + source: cloud:precise-updates/icehouse |
725 | +precise-icehouse-staging: |
726 | + inherits: precise-icehouse |
727 | + overrides: |
728 | + openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging |
729 | + source: ppa:ubuntu-cloud-archive/icehouse-staging |
730 | +precise-icehouse-trunk: |
731 | + inherits: precise-icehouse |
732 | + overrides: |
733 | + openstack-origin: ppa:openstack-ubuntu-testing/icehouse |
734 | + source: ppa:openstack-ubuntu-testing/icehouse |
735 | +trusty-icehouse: |
736 | + inherits: openstack-icehouse |
737 | + series: trusty |
738 | +trusty-icehouse-msg-split: |
739 | + inherits: openstack-icehouse-msg-split |
740 | + series: trusty |
741 | +trusty-icehouse-proposed: |
742 | + inherits: trusty-icehouse |
743 | + overrides: |
744 | + source: proposed |
745 | + openstack-origin: distro-proposed |
746 | +trusty-icehouse-trunk: |
747 | + inherits: trusty-icehouse |
748 | + overrides: |
749 | + openstack-origin: ppa:openstack-ubuntu-testing/icehouse |
750 | + source: ppa:openstack-ubuntu-testing/icehouse |
751 | + offline-compression: "no" |
752 | +# juno |
753 | +trusty-juno: |
754 | + inherits: openstack-icehouse |
755 | + series: trusty |
756 | + overrides: |
757 | + openstack-origin: cloud:trusty-juno |
758 | + source: cloud:trusty-updates/juno |
759 | +trusty-juno-proposed: |
760 | + inherits: trusty-juno |
761 | + overrides: |
762 | + openstack-origin: cloud:trusty-juno/proposed |
763 | + source: cloud:trusty-proposed/juno |
764 | +trusty-juno-staging: |
765 | + inherits: trusty-juno |
766 | + overrides: |
767 | + openstack-origin: ppa:ubuntu-cloud-archive/juno-staging |
768 | + source: ppa:ubuntu-cloud-archive/juno-staging |
769 | +trusty-kilo: |
770 | + inherits: openstack-icehouse |
771 | + series: trusty |
772 | + overrides: |
773 | + openstack-origin: cloud:trusty-kilo |
774 | + source: cloud:trusty-kilo |
775 | +trusty-liberty: |
776 | + inherits: openstack-icehouse |
777 | + series: trusty |
778 | + overrides: |
779 | + openstack-origin: cloud:trusty-kilo |
780 | + source: cloud:trusty-kilo |
781 | +utopic-juno: |
782 | + inherits: openstack-icehouse |
783 | + series: utopic |
784 | +utopic-juno-proposed: |
785 | + inherits: utopic-juno |
786 | + overrides: |
787 | + source: proposed |
788 | + openstack-origin: distro-proposed |
789 | +vivid-kilo: |
790 | + inherits: openstack-icehouse |
791 | + series: vivid |
792 | |
793 | === modified file 'helper/setup/network.yaml' |
794 | --- helper/setup/network.yaml 2014-12-16 07:59:12 +0000 |
795 | +++ helper/setup/network.yaml 2015-11-18 15:46:59 +0000 |
796 | @@ -9,3 +9,15 @@ |
797 | private_net_cidr: 192.168.21.0/24 |
798 | router_name: provider-router |
799 | start_floating_ip: 10.5.150.0 |
800 | +vrrpha: |
801 | + default_gateway: 10.5.0.1 |
802 | + end_floating_ip: 10.5.200.254 |
803 | + external_dns: 10.98.191.11 |
804 | + external_net_cidr: 10.5.0.0/16 |
805 | + external_net_name: ext_net |
806 | + external_subnet_name: ext_net_subnet |
807 | + network_type: vxlan |
808 | + private_net_cidr: 192.168.21.0/24 |
809 | + router_name: provider-router |
810 | + start_floating_ip: 10.5.150.0 |
811 | + dvr_enabled: False |
812 | |
813 | === added file 'helper/tests/test_vrrp_ha.py' |
814 | --- helper/tests/test_vrrp_ha.py 1970-01-01 00:00:00 +0000 |
815 | +++ helper/tests/test_vrrp_ha.py 2015-11-18 15:46:59 +0000 |
816 | @@ -0,0 +1,128 @@ |
817 | +#!/usr/bin/python |
818 | +import time |
819 | +import sys |
820 | +import utils.mojo_utils as mojo_utils |
821 | +import utils.mojo_os_utils as mojo_os_utils |
822 | +import logging |
823 | + |
824 | + |
825 | +def lookup_cirros_server(cloud_auth): |
826 | + cirros_images = get_cirros_images(cloud_auth) |
827 | + nova_client = mojo_os_utils.get_nova_client(cloud_auth) |
828 | + for server in nova_client.servers.list(): |
829 | + if server.image['id'] in cirros_images: |
830 | + return server |
831 | + |
832 | + |
833 | +def get_cirros_server(cloud_auth, image_password): |
834 | + logging.info('Looking for existing cirros server') |
835 | + cirros_server = lookup_cirros_server(cloud_auth) |
836 | + if cirros_server: |
837 | + ip = get_server_floating_ip(cirros_server) |
838 | + logging.info('Checking connectivity to cirros guest') |
839 | + if not mojo_os_utils.ssh_test('cirros', ip, cirros_server.name, |
840 | + password=image_password): |
841 | + raise Exception('Cirros guest inaccessable') |
842 | + else: |
843 | + nova_client = mojo_os_utils.get_nova_client(cloud_auth) |
844 | + logging.info('Creating new cirros guest') |
845 | + mojo_os_utils.boot_and_test( |
846 | + nova_client, |
847 | + image_name='cirros', |
848 | + flavor_name='m1.small', |
849 | + number=1, |
850 | + privkey=None, |
851 | + ) |
852 | + cirros_server = lookup_cirros_server(cloud_auth) |
853 | + ip = get_server_floating_ip(cirros_server) |
854 | + return cirros_server, ip |
855 | + |
856 | + |
857 | +def get_cirros_images(cloud_auth): |
858 | + logging.info('Getting list of cirros images') |
859 | + glance_client = mojo_os_utils.get_glance_client(cloud_auth) |
860 | + cirros_images = [] |
861 | + for image in glance_client.images.list(): |
862 | + if 'cirros' in image.name: |
863 | + cirros_images.append(image.id) |
864 | + return cirros_images |
865 | + |
866 | + |
867 | +def check_server_state(nova_client, state, server_id=None, server_name=None, |
868 | + wait_time=120): |
869 | + sleep_time = 2 |
870 | + if server_name: |
871 | + server_id = nova_client.servers.find(name=server_name).id |
872 | + server = nova_client.servers.find(id=server_id) |
873 | + while server.status != state and wait_time > 0: |
874 | + time.sleep(sleep_time) |
875 | + server = nova_client.servers.find(id=server_id) |
876 | + wait_time -= sleep_time |
877 | + return server.status == state |
878 | + |
879 | + |
880 | +def check_neutron_agent_states(neutron_client, host_name, wait_time=120): |
881 | + sleep_time = 2 |
882 | + statuses = [False] |
883 | + while False in statuses and wait_time > 0: |
884 | + time.sleep(sleep_time) |
885 | + statuses = [] |
886 | + for agent in neutron_client.list_agents()['agents']: |
887 | + if agent['host'] == host_name: |
888 | + statuses.append(agent['admin_state_up']) |
889 | + statuses.append(agent['alive']) |
890 | + wait_time -= sleep_time |
891 | + return False not in statuses |
892 | + |
893 | + |
894 | +def get_server_floating_ip(server): |
895 | + for addr in server.addresses['private']: |
896 | + if addr['OS-EXT-IPS:type'] == 'floating': |
897 | + return addr['addr'] |
898 | + |
899 | + |
900 | +def main(argv): |
901 | + logging.basicConfig(level=logging.INFO) |
902 | + logging.getLogger("urllib3").setLevel(logging.WARNING) |
903 | + overcloud_novarc = mojo_utils.get_overcloud_auth() |
904 | + undercloud_novarc = mojo_utils.get_undercloud_auth() |
905 | + under_novac = mojo_os_utils.get_nova_client(undercloud_novarc) |
906 | + over_neutronc = mojo_os_utils.get_neutron_client(overcloud_novarc) |
907 | + image_config = mojo_utils.get_mojo_config('images.yaml') |
908 | + image_password = image_config['cirros']['password'] |
909 | + # Look for existing Cirros guest |
910 | + server, ip = get_cirros_server(overcloud_novarc, image_password) |
911 | + router = over_neutronc.list_routers(name='provider-router')['routers'][0] |
912 | + l3_agents = over_neutronc.list_l3_agent_hosting_routers( |
913 | + router=router['id'])['agents'] |
914 | + logging.info('Checking there are multiple L3 agents running tenant router') |
915 | + if len(l3_agents) != 2: |
916 | + raise Exception('Unexpected number of l3 agents') |
917 | + for agent in l3_agents: |
918 | + gateway_hostname = agent['host'] |
919 | + gateway_server = under_novac.servers.find(name=gateway_hostname) |
920 | + logging.info('Shutting down neutron gateway {} ({})'.format( |
921 | + gateway_hostname, |
922 | + gateway_server.id) |
923 | + ) |
924 | + gateway_server.stop() |
925 | + if not check_server_state(under_novac, 'SHUTOFF', |
926 | + server_name=gateway_hostname): |
927 | + raise Exception('Server failed to reach SHUTOFF state') |
928 | + logging.info('Neutron gateway %s has shutdown' % (gateway_hostname)) |
929 | + logging.info('Checking connectivity to cirros guest') |
930 | + if not mojo_os_utils.wait_for_ping(ip, 90): |
931 | + raise Exception('Cirros guest not responding to ping') |
932 | + if not mojo_os_utils.ssh_test('cirros', ip, server.name, |
933 | + password=image_password): |
934 | + raise Exception('Cirros guest issh connection failed') |
935 | + logging.info('Starting neutron gateway: ' + gateway_hostname) |
936 | + gateway_server.start() |
937 | + if not check_server_state(under_novac, 'ACTIVE', |
938 | + server_name=gateway_hostname): |
939 | + raise Exception('Server failed to reach SHUTOFF state') |
940 | + if not check_neutron_agent_states(over_neutronc, gateway_hostname): |
941 | + raise Exception('Server agents failed to reach active state') |
942 | + |
943 | +if __name__ == "__main__": |
944 | + sys.exit(main(sys.argv)) |
945 | |
946 | === added directory 'specs/full_stack/next_ha_vrrp' |
947 | === added directory 'specs/full_stack/next_ha_vrrp/kilo' |
948 | === added file 'specs/full_stack/next_ha_vrrp/kilo/SPEC_INFO.txt' |
949 | --- specs/full_stack/next_ha_vrrp/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 |
950 | +++ specs/full_stack/next_ha_vrrp/kilo/SPEC_INFO.txt 2015-11-18 15:46:59 +0000 |
951 | @@ -0,0 +1,2 @@ |
952 | +This spec deploys and tests a deployment with neutron VRRP enabled, it then |
953 | +takes down the gateways in turn and checks a guest remains accessible |
954 | |
955 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/check_juju.py' |
956 | === target is u'../../../../helper/tests/check_juju.py' |
957 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/collect-next-ha' |
958 | === target is u'../../../../helper/collect/collect-next-ha' |
959 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/full_vrrpha.yaml' |
960 | === target is u'../../../../helper/bundles/full_vrrpha.yaml' |
961 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/image_setup.py' |
962 | === target is u'../../../../helper/setup/image_setup.py' |
963 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/images.yaml' |
964 | === target is u'../../../../helper/setup/images.yaml' |
965 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/keystone_setup.py' |
966 | === target is u'../../../../helper/setup/keystone_setup.py' |
967 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/keystone_users.yaml' |
968 | === target is u'../../../../helper/setup/keystone_users.yaml' |
969 | === added file 'specs/full_stack/next_ha_vrrp/kilo/manifest' |
970 | --- specs/full_stack/next_ha_vrrp/kilo/manifest 1970-01-01 00:00:00 +0000 |
971 | +++ specs/full_stack/next_ha_vrrp/kilo/manifest 2015-11-18 15:46:59 +0000 |
972 | @@ -0,0 +1,25 @@ |
973 | +# Collect the charm branches from Launchpad |
974 | +collect config=collect-next-ha |
975 | + |
976 | +# Use juju deployer with full.yaml bundle |
977 | +deploy config=full_vrrpha.yaml delay=0 target=${MOJO_SERIES}-kilo |
978 | + |
979 | +# Check juju statuses are green and that hooks have finished |
980 | +verify config=check_juju.py |
981 | + |
982 | +# Create sdn on overcloud |
983 | +script config=network_setup.py NET_TOPOLOGY="vrrpha" |
984 | + |
985 | +# Setup glance images |
986 | +script config=image_setup.py |
987 | + |
988 | +# Setup keystone users |
989 | +script config=keystone_setup.py |
990 | + |
991 | +# Create 1 * tiny cirros and 1 * small precise instances on the overcloud |
992 | +verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300" |
993 | + |
994 | +# Test guest connectivity after stopping and starting gateway |
995 | +verify config=test_vrrp_ha.py |
996 | + |
997 | +# Success |
998 | |
999 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/network.yaml' |
1000 | === target is u'../../../../helper/setup/network.yaml' |
1001 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/network_setup.py' |
1002 | === target is u'../../../../helper/setup/network_setup.py' |
1003 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/simple_os_checks.py' |
1004 | === target is u'../../../../helper/tests/simple_os_checks.py' |
1005 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/test_vrrp_ha.py' |
1006 | === target is u'../../../../helper/tests/test_vrrp_ha.py' |
1007 | === added symlink 'specs/full_stack/next_ha_vrrp/kilo/utils' |
1008 | === target is u'../../../../helper/utils/' |
1009 | === added directory 'specs/full_stack/next_ha_vrrp/liberty' |
1010 | === added file 'specs/full_stack/next_ha_vrrp/liberty/SPEC_INFO.txt' |
1011 | --- specs/full_stack/next_ha_vrrp/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 |
1012 | +++ specs/full_stack/next_ha_vrrp/liberty/SPEC_INFO.txt 2015-11-18 15:46:59 +0000 |
1013 | @@ -0,0 +1,2 @@ |
1014 | +This spec deploys and tests a deployment with neutron VRRP enabled, it then |
1015 | +takes down the gateways in turn and checks a guest remains accessible |
1016 | |
1017 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/check_juju.py' |
1018 | === target is u'../../../../helper/tests/check_juju.py' |
1019 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/collect-next-ha' |
1020 | === target is u'../../../../helper/collect/collect-next-ha' |
1021 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/full_vrrpha.yaml' |
1022 | === target is u'../../../../helper/bundles/full_vrrpha.yaml' |
1023 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/image_setup.py' |
1024 | === target is u'../../../../helper/setup/image_setup.py' |
1025 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/images.yaml' |
1026 | === target is u'../../../../helper/setup/images.yaml' |
1027 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/keystone_setup.py' |
1028 | === target is u'../../../../helper/setup/keystone_setup.py' |
1029 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/keystone_users.yaml' |
1030 | === target is u'../../../../helper/setup/keystone_users.yaml' |
1031 | === added file 'specs/full_stack/next_ha_vrrp/liberty/manifest' |
1032 | --- specs/full_stack/next_ha_vrrp/liberty/manifest 1970-01-01 00:00:00 +0000 |
1033 | +++ specs/full_stack/next_ha_vrrp/liberty/manifest 2015-11-18 15:46:59 +0000 |
1034 | @@ -0,0 +1,25 @@ |
1035 | +# Collect the charm branches from Launchpad |
1036 | +collect config=collect-next-ha |
1037 | + |
1038 | +# Use juju deployer with full.yaml bundle |
1039 | +deploy config=full_vrrpha.yaml delay=0 target=${MOJO_SERIES}-liberty |
1040 | + |
1041 | +# Check juju statuses are green and that hooks have finished |
1042 | +verify config=check_juju.py |
1043 | + |
1044 | +# Create sdn on overcloud |
1045 | +script config=network_setup.py NET_TOPOLOGY="vrrpha" |
1046 | + |
1047 | +# Setup glance images |
1048 | +script config=image_setup.py |
1049 | + |
1050 | +# Setup keystone users |
1051 | +script config=keystone_setup.py |
1052 | + |
1053 | +# Create 1 * tiny cirros and 1 * small precise instances on the overcloud |
1054 | +verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300" |
1055 | + |
1056 | +# Test guest connectivity after stopping and starting gateway |
1057 | +verify config=test_vrrp_ha.py |
1058 | + |
1059 | +# Success |
1060 | |
1061 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/network.yaml' |
1062 | === target is u'../../../../helper/setup/network.yaml' |
1063 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/network_setup.py' |
1064 | === target is u'../../../../helper/setup/network_setup.py' |
1065 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/simple_os_checks.py' |
1066 | === target is u'../../../../helper/tests/simple_os_checks.py' |
1067 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/test_vrrp_ha.py' |
1068 | === target is u'../../../../helper/tests/test_vrrp_ha.py' |
1069 | === added symlink 'specs/full_stack/next_ha_vrrp/liberty/utils' |
1070 | === target is u'../../../../helper/utils/' |
charm_lint_check #13865 mojo-openstack- specs for gnuoy mp277598
LINT FAIL: lint-test failed
LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.
Full lint test output: http:// paste.ubuntu. com/13300124/ 10.245. 162.77: 8080/job/ charm_lint_ check/13865/
Build: http://