Merge lp:~1chb1n/openstack-mojo-specs/baremetal-bundle-constrainer into lp:openstack-mojo-specs

Proposed by Ryan Beisner on 2015-07-13
Status: Merged
Merged at revision: 221
Proposed branch: lp:~1chb1n/openstack-mojo-specs/baremetal-bundle-constrainer
Merge into: lp:openstack-mojo-specs
Diff against target: 3188 lines (+1460/-210)
84 files modified
Makefile (+5/-1)
SPEC_SUMMARY.txt (+78/-0)
helper/bundles/baremetal7.yaml (+27/-2)
helper/bundles/full.yaml (+26/-1)
helper/bundles/full_ssl.yaml (+26/-2)
helper/bundles/haphase1.yaml (+26/-2)
helper/bundles/haphase2.yaml (+26/-1)
helper/bundles/minimal.yaml (+27/-1)
helper/bundles/next-ha.yaml (+1/-1)
helper/collect/collect-cephradosgw (+2/-2)
helper/collect/collect-cephradosgw-ha (+3/-3)
helper/collect/collect-next (+2/-2)
helper/collect/collect-next-ha (+14/-14)
helper/collect/collect-next-precise (+21/-0)
helper/collect/collect-stable-ha-precise (+15/-15)
helper/collect/collect-stable-ha-trusty (+15/-15)
helper/collect/collect-stable-precise (+17/-14)
helper/collect/collect-stable-trusty (+17/-16)
helper/collect/collect-swift-proxy (+3/-3)
helper/collect/repo-cephradosgw (+2/-2)
helper/collect/repo-cephradosgw-ha (+2/-2)
helper/collect/repo-next (+11/-11)
helper/collect/repo-next-ha (+13/-13)
helper/collect/repo-swift-proxy (+3/-3)
helper/collect/sort-me.sh (+10/-0)
helper/scripts/bundle_constrainer.py (+215/-0)
helper/scripts/bundle_constrainer_inject_tags.sh (+22/-0)
helper/scripts/check-lint.sh (+16/-6)
helper/scripts/list-specs.sh (+6/-0)
helper/scripts/mojo-spec-check.py (+135/-47)
helper/setup/network_setup.py (+23/-7)
helper/utils/mojo_utils.py (+70/-6)
specs/dev/nova_cc_legacy_neutron/utils/mojo_utils.py (+1/-1)
specs/full_stack/charmhelper_upgrade/icehouse/manifest (+1/-1)
specs/full_stack/charmhelper_upgrade/juno/manifest (+1/-1)
specs/full_stack/charmhelper_upgrade/kilo/manifest (+1/-1)
specs/full_stack/charmhelper_upgrade/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/charmhelper_upgrade/liberty/manifest (+29/-0)
specs/full_stack/charmhelper_upgrade_ha/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/charmhelper_upgrade_ha/liberty/manifest (+38/-0)
specs/full_stack/ha_phased/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/ha_phased/liberty/manifest (+35/-0)
specs/full_stack/ha_phased_chaos_pony/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/ha_phased_chaos_pony/liberty/manifest (+38/-0)
specs/full_stack/next_deploy/icehouse/manifest (+1/-1)
specs/full_stack/next_deploy/juno/manifest (+1/-1)
specs/full_stack/next_deploy/kilo/manifest (+1/-1)
specs/full_stack/next_deploy/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/next_deploy/liberty/manifest (+23/-0)
specs/full_stack/next_deploy_baremetal/icehouse/manifest (+5/-1)
specs/full_stack/next_deploy_baremetal/juno/manifest (+4/-1)
specs/full_stack/next_deploy_baremetal/kilo/manifest (+4/-1)
specs/full_stack/next_deploy_baremetal/liberty/SPEC_INFO.txt (+4/-0)
specs/full_stack/next_deploy_baremetal/liberty/manifest (+26/-0)
specs/full_stack/next_deploy_ssl/icehouse/manifest (+1/-1)
specs/full_stack/next_deploy_ssl/juno/manifest (+1/-1)
specs/full_stack/next_deploy_ssl/kilo/manifest (+1/-1)
specs/full_stack/next_deploy_ssl/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/next_deploy_ssl/liberty/manifest (+23/-0)
specs/full_stack/stable_deploy/icehouse/SPEC_INFO.txt (+2/-0)
specs/full_stack/stable_deploy/icehouse/manifest (+23/-0)
specs/full_stack/stable_deploy/juno/SPEC_INFO.txt (+2/-0)
specs/full_stack/stable_deploy/juno/manifest (+23/-0)
specs/full_stack/stable_deploy/kilo/SPEC_INFO.txt (+2/-0)
specs/full_stack/stable_deploy/kilo/manifest (+23/-0)
specs/full_stack/stable_deploy/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/stable_deploy/liberty/manifest (+23/-0)
specs/full_stack/stable_deploy_baremetal/icehouse/SPEC_INFO.txt (+4/-0)
specs/full_stack/stable_deploy_baremetal/icehouse/manifest (+27/-0)
specs/full_stack/stable_deploy_baremetal/juno/SPEC_INFO.txt (+4/-0)
specs/full_stack/stable_deploy_baremetal/juno/manifest (+27/-0)
specs/full_stack/stable_deploy_baremetal/kilo/SPEC_INFO.txt (+4/-0)
specs/full_stack/stable_deploy_baremetal/kilo/manifest (+27/-0)
specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt (+4/-0)
specs/full_stack/stable_deploy_baremetal/liberty/manifest (+27/-0)
specs/full_stack/stable_to_next/icehouse/manifest (+1/-1)
specs/full_stack/stable_to_next/juno/manifest (+1/-1)
specs/full_stack/stable_to_next/kilo/manifest (+1/-1)
specs/full_stack/stable_to_next/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/stable_to_next/liberty/manifest (+41/-0)
specs/full_stack/stable_to_next_ha/juno/manifest (+1/-1)
specs/full_stack/stable_to_next_ha/kilo/manifest (+1/-1)
specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/stable_to_next_ha/liberty/manifest (+56/-0)
To merge this branch: bzr merge lp:~1chb1n/openstack-mojo-specs/baremetal-bundle-constrainer
Reviewer Review Type Date Requested Status
Liam Young 2015-07-13 Approve on 2015-07-30
Review via email: mp+264558@code.launchpad.net

Description of the Change

* Add stand-alone bundle_constrainer.py tool from uosci and a juju/maas tag injection script; adjust baremetal specs to inject maas tags where applicable.

* Rename quantum-gateway to neutron-gateway in bundles.

* Teach mojo_utils to consume optional network environment variables, as are used by o-c-t and uosci.

* Extend lint and spec sanity checks;

* Enable per-series collect configs in full_stack specs; This is necessary as some charm branches need to be different for some series (ex: percona-cluster != precise).

* Update juju status to force yaml output, in prep for eventual default format change.

* Replace mysql charm branches with percona-cluster.

* Sort collect and repo files for sanity.

* Add stable_deploy_baremetal specs.

* Prep for Wily and Liberty.

* Update spec summaries.

To post a comment you must log in.

charm_lint_check #7267 mojo-openstack-specs for 1chb1n mp264558
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/7267/

244. By Ryan Beisner on 2015-07-30

remove duplicate/errant block in bundle_constrainer

245. By Ryan Beisner on 2015-07-30

clean up commented code

246. By Ryan Beisner on 2015-07-30

addl cleanup

Liam Young (gnuoy) wrote :

LGTM thanks for all the work

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2015-02-08 18:16:10 +0000
3+++ Makefile 2015-07-30 14:52:37 +0000
4@@ -3,7 +3,11 @@
5
6 lint:
7 @./helper/scripts/check-lint.sh
8- @flake8 helper/collect helper/setup helper/tests helper/utils
9+ @echo Checking lint...
10+ @flake8 -v helper/collect helper/setup helper/tests helper/utils
11
12 gen_spec_summary:
13 @./helper/scripts/gen-spec-summary.sh > SPEC_SUMMARY.txt
14+
15+list_specs:
16+ @./helper/scripts/list-specs.sh
17
18=== modified file 'SPEC_SUMMARY.txt'
19--- SPEC_SUMMARY.txt 2015-04-22 19:10:16 +0000
20+++ SPEC_SUMMARY.txt 2015-07-30 14:52:37 +0000
21@@ -86,6 +86,12 @@
22 roughly equivalent to the next/default yamls. As swift is the object store,
23 ceph-radosgw is not exercised.
24
25+./specs/full_stack/next_deploy_baremetal/liberty/
26+This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal
27+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
28+roughly equivalent to the next/default yamls. As swift is the object store,
29+ceph-radosgw is not exercised.
30+
31 ./specs/full_stack/next_deploy/icehouse/
32 This spec performs a non-ha deploy using the next charms and then runs tests
33 to validate the deployment
34@@ -98,6 +104,10 @@
35 This spec performs a non-ha deploy using the next charms and then runs tests
36 to validate the deployment
37
38+./specs/full_stack/next_deploy/liberty/
39+This spec performs a non-ha deploy using the next charms and then runs tests
40+to validate the deployment
41+
42 ./specs/full_stack/ha_phased/icehouse/
43 This spec performs a phased ha deploy then runs tests to validate the
44 deployment
45@@ -110,6 +120,10 @@
46 This spec performs a phased ha deploy then runs tests to validate the
47 deployment
48
49+./specs/full_stack/ha_phased/liberty/
50+This spec performs a phased ha deploy then runs tests to validate the
51+deployment
52+
53 ./specs/full_stack/ha_phased_chaos_pony/icehouse/
54 This spec performs a phased ha deploy then runs tests to validate the
55 deployment. iThen chaos pony is used to add and remove units.
56@@ -122,6 +136,34 @@
57 This spec performs a phased ha deploy then runs tests to validate the
58 deployment. iThen chaos pony is used to add and remove units.
59
60+./specs/full_stack/ha_phased_chaos_pony/liberty/
61+This spec performs a phased ha deploy then runs tests to validate the
62+deployment. iThen chaos pony is used to add and remove units.
63+
64+./specs/full_stack/stable_deploy_baremetal/icehouse/
65+This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal
66+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
67+roughly equivalent to the next/default yamls. As swift is the object store,
68+ceph-radosgw is not exercised.
69+
70+./specs/full_stack/stable_deploy_baremetal/juno/
71+This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal
72+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
73+roughly equivalent to the next/default yamls. As swift is the object store,
74+ceph-radosgw is not exercised.
75+
76+./specs/full_stack/stable_deploy_baremetal/kilo/
77+This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
78+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
79+roughly equivalent to the next/default yamls. As swift is the object store,
80+ceph-radosgw is not exercised.
81+
82+./specs/full_stack/stable_deploy_baremetal/liberty/
83+This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
84+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
85+roughly equivalent to the next/default yamls. As swift is the object store,
86+ceph-radosgw is not exercised.
87+
88 ./specs/full_stack/next_deploy_ssl/icehouse/
89 This spec performs a non-ha deploy using the next charms wil ssl enabled
90 and then runs tests to validate the deployment
91@@ -134,6 +176,10 @@
92 This spec performs a non-ha deploy using the next charms wil ssl enabled
93 and then runs tests to validate the deployment
94
95+./specs/full_stack/next_deploy_ssl/liberty/
96+This spec performs a non-ha deploy using the next charms wil ssl enabled
97+and then runs tests to validate the deployment
98+
99 ./specs/full_stack/charmhelper_upgrade/icehouse/
100 This spec collects the charms and then upgrades charmhelpers in each charm
101 before running a non-ha deployment and testing the resulting cloud
102@@ -146,6 +192,10 @@
103 This spec collects the charms and then upgrades charmhelpers in each charm
104 before running a non-ha deployment and testing the resulting cloud
105
106+./specs/full_stack/charmhelper_upgrade/liberty/
107+This spec collects the charms and then upgrades charmhelpers in each charm
108+before running a non-ha deployment and testing the resulting cloud
109+
110 ./specs/full_stack/stable_to_next/icehouse/
111 This spec performs a non-ha deploy using the stable charms, then upgrades the
112 charms to the devel versions and then runs tests to validate the deployment
113@@ -158,6 +208,26 @@
114 This spec performs a non-ha deploy using the stable charms, then upgrades the
115 charms to the devel versions and then runs tests to validate the deployment
116
117+./specs/full_stack/stable_to_next/liberty/
118+This spec performs a non-ha deploy using the stable charms, then upgrades the
119+charms to the devel versions and then runs tests to validate the deployment
120+
121+./specs/full_stack/stable_deploy/icehouse/
122+This spec performs a non-ha deploy using the stable charms and then runs tests
123+to validate the deployment
124+
125+./specs/full_stack/stable_deploy/juno/
126+This spec performs a non-ha deploy using the stable charms and then runs tests
127+to validate the deployment
128+
129+./specs/full_stack/stable_deploy/kilo/
130+This spec performs a non-ha deploy using the stable charms and then runs tests
131+to validate the deployment
132+
133+./specs/full_stack/stable_deploy/liberty/
134+This spec performs a non-ha deploy using the stable charms and then runs tests
135+to validate the deployment
136+
137 ./specs/full_stack/charmhelper_upgrade_ha/icehouse/
138 This spec collects the charms and then upgrades charmhelpers in each charm
139 before running a ha deployment and testing the resulting cloud
140@@ -170,6 +240,10 @@
141 This spec collects the charms and then upgrades charmhelpers in each charm
142 before running a ha deployment and testing the resulting cloud
143
144+./specs/full_stack/charmhelper_upgrade_ha/liberty/
145+This spec collects the charms and then upgrades charmhelpers in each charm
146+before running a ha deployment and testing the resulting cloud
147+
148 ./specs/full_stack/stable_to_next_ha/icehouse/
149 This spec performs a phased ha deploy then runs tests to validate the
150 deployment
151@@ -182,3 +256,7 @@
152 This spec performs a phased ha deploy then runs tests to validate the
153 deployment
154
155+./specs/full_stack/stable_to_next_ha/liberty/
156+This spec performs a phased ha deploy then runs tests to validate the
157+deployment
158+
159
160=== modified file 'helper/bundles/baremetal7.yaml'
161--- helper/bundles/baremetal7.yaml 2015-03-19 01:21:42 +0000
162+++ helper/bundles/baremetal7.yaml 2015-07-30 14:52:37 +0000
163@@ -90,7 +90,7 @@
164 to:
165 - "lxc:swift-storage-z3=0"
166 neutron-gateway:
167- charm: quantum-gateway
168+ charm: neutron-gateway
169 options:
170 ext-port: eth1
171 instance-mtu: 1300
172@@ -124,7 +124,7 @@
173 to:
174 - "lxc:swift-storage-z3=0"
175 ntp:
176- charm: "cs:trusty/ntp-6"
177+ charm: ntp
178 num_units: 0
179 # juju-gui:
180 # charm: juju-gui
181@@ -311,3 +311,28 @@
182 overrides:
183 source: proposed
184 openstack-origin: distro-proposed
185+# liberty
186+trusty-liberty:
187+ inherits: openstack-icehouse
188+ series: trusty
189+ overrides:
190+ openstack-origin: cloud:trusty-liberty
191+ source: cloud:trusty-liberty
192+trusty-liberty-proposed:
193+ inherits: trusty-liberty
194+ overrides:
195+ openstack-origin: cloud:trusty-liberty/proposed
196+ source: cloud:trusty-liberty/proposed
197+trusty-liberty-staging:
198+ inherits: trusty-liberty
199+ overrides:
200+ openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
201+ source: ppa:ubuntu-cloud-archive/liberty-staging
202+wily-liberty:
203+ inherits: openstack-icehouse
204+ series: wily
205+wily-liberty-proposed:
206+ inherits: wily-liberty
207+ overrides:
208+ source: proposed
209+ openstack-origin: distro-proposed
210
211=== modified file 'helper/bundles/full.yaml'
212--- helper/bundles/full.yaml 2015-02-10 07:55:00 +0000
213+++ helper/bundles/full.yaml 2015-07-30 14:52:37 +0000
214@@ -43,7 +43,7 @@
215 network-manager: Quantum
216 quantum-security-groups: "yes"
217 neutron-gateway:
218- charm: quantum-gateway
219+ charm: neutron-gateway
220 constraints: mem=1G
221 options:
222 instance-mtu: 1300
223@@ -260,3 +260,28 @@
224 overrides:
225 source: proposed
226 openstack-origin: distro-proposed
227+# liberty
228+trusty-liberty:
229+ inherits: openstack-icehouse
230+ series: trusty
231+ overrides:
232+ openstack-origin: cloud:trusty-liberty
233+ source: cloud:trusty-liberty
234+trusty-liberty-proposed:
235+ inherits: trusty-liberty
236+ overrides:
237+ openstack-origin: cloud:trusty-liberty/proposed
238+ source: cloud:trusty-liberty/proposed
239+trusty-liberty-staging:
240+ inherits: trusty-liberty
241+ overrides:
242+ openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
243+ source: ppa:ubuntu-cloud-archive/liberty-staging
244+wily-liberty:
245+ inherits: openstack-icehouse
246+ series: wily
247+wily-liberty-proposed:
248+ inherits: wily-liberty
249+ overrides:
250+ source: proposed
251+ openstack-origin: distro-proposed
252
253=== modified file 'helper/bundles/full_ssl.yaml'
254--- helper/bundles/full_ssl.yaml 2015-02-10 07:55:00 +0000
255+++ helper/bundles/full_ssl.yaml 2015-07-30 14:52:37 +0000
256@@ -47,7 +47,7 @@
257 network-manager: Quantum
258 quantum-security-groups: "yes"
259 neutron-gateway:
260- charm: quantum-gateway
261+ charm: neutron-gateway
262 constraints: mem=1G
263 options:
264 instance-mtu: 1300
265@@ -264,4 +264,28 @@
266 overrides:
267 source: proposed
268 openstack-origin: distro-proposed
269-
270+# liberty
271+trusty-liberty:
272+ inherits: openstack-icehouse
273+ series: trusty
274+ overrides:
275+ openstack-origin: cloud:trusty-liberty
276+ source: cloud:trusty-liberty
277+trusty-liberty-proposed:
278+ inherits: trusty-liberty
279+ overrides:
280+ openstack-origin: cloud:trusty-liberty/proposed
281+ source: cloud:trusty-liberty/proposed
282+trusty-liberty-staging:
283+ inherits: trusty-liberty
284+ overrides:
285+ openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
286+ source: ppa:ubuntu-cloud-archive/liberty-staging
287+wily-liberty:
288+ inherits: openstack-icehouse
289+ series: wily
290+wily-liberty-proposed:
291+ inherits: wily-liberty
292+ overrides:
293+ source: proposed
294+ openstack-origin: distro-proposed
295
296=== modified file 'helper/bundles/haphase1.yaml'
297--- helper/bundles/haphase1.yaml 2015-02-10 07:55:00 +0000
298+++ helper/bundles/haphase1.yaml 2015-07-30 14:52:37 +0000
299@@ -65,7 +65,7 @@
300 ncc-hacluster:
301 charm: hacluster
302 neutron-gateway:
303- charm: quantum-gateway
304+ charm: neutron-gateway
305 constraints: mem=1G
306 num_units: 2
307 options:
308@@ -184,4 +184,28 @@
309 overrides:
310 source: proposed
311 openstack-origin: distro-proposed
312-
313+# liberty
314+trusty-liberty:
315+ inherits: openstack-icehouse
316+ series: trusty
317+ overrides:
318+ openstack-origin: cloud:trusty-liberty
319+ source: cloud:trusty-liberty
320+trusty-liberty-proposed:
321+ inherits: trusty-liberty
322+ overrides:
323+ openstack-origin: cloud:trusty-liberty/proposed
324+ source: cloud:trusty-liberty/proposed
325+trusty-liberty-staging:
326+ inherits: trusty-liberty
327+ overrides:
328+ openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
329+ source: ppa:ubuntu-cloud-archive/liberty-staging
330+wily-liberty:
331+ inherits: openstack-icehouse
332+ series: wily
333+wily-liberty-proposed:
334+ inherits: wily-liberty
335+ overrides:
336+ source: proposed
337+ openstack-origin: distro-proposed
338
339=== modified file 'helper/bundles/haphase2.yaml'
340--- helper/bundles/haphase2.yaml 2015-02-10 07:55:00 +0000
341+++ helper/bundles/haphase2.yaml 2015-07-30 14:52:37 +0000
342@@ -65,7 +65,7 @@
343 ncc-hacluster:
344 charm: hacluster
345 neutron-gateway:
346- charm: quantum-gateway
347+ charm: neutron-gateway
348 constraints: mem=1G
349 num_units: 2
350 options:
351@@ -233,3 +233,28 @@
352 overrides:
353 source: proposed
354 openstack-origin: distro-proposed
355+# liberty
356+trusty-liberty:
357+ inherits: openstack-icehouse
358+ series: trusty
359+ overrides:
360+ openstack-origin: cloud:trusty-liberty
361+ source: cloud:trusty-liberty
362+trusty-liberty-proposed:
363+ inherits: trusty-liberty
364+ overrides:
365+ openstack-origin: cloud:trusty-liberty/proposed
366+ source: cloud:trusty-liberty/proposed
367+trusty-liberty-staging:
368+ inherits: trusty-liberty
369+ overrides:
370+ openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
371+ source: ppa:ubuntu-cloud-archive/liberty-staging
372+wily-liberty:
373+ inherits: openstack-icehouse
374+ series: wily
375+wily-liberty-proposed:
376+ inherits: wily-liberty
377+ overrides:
378+ source: proposed
379+ openstack-origin: distro-proposed
380
381=== modified file 'helper/bundles/minimal.yaml'
382--- helper/bundles/minimal.yaml 2015-02-10 07:55:00 +0000
383+++ helper/bundles/minimal.yaml 2015-07-30 14:52:37 +0000
384@@ -30,7 +30,7 @@
385 network-manager: Quantum
386 quantum-security-groups: "yes"
387 neutron-gateway:
388- charm: quantum-gateway
389+ charm: neutron-gateway
390 constraints: mem=1G
391 options:
392 instance-mtu: 1300
393@@ -200,3 +200,29 @@
394 overrides:
395 source: proposed
396 openstack-origin: distro-proposed
397+# liberty
398+trusty-liberty:
399+ inherits: openstack-icehouse
400+ series: trusty
401+ overrides:
402+ openstack-origin: cloud:trusty-liberty
403+ source: cloud:trusty-liberty
404+trusty-liberty-proposed:
405+ inherits: trusty-liberty
406+ overrides:
407+ openstack-origin: cloud:trusty-liberty/proposed
408+ source: cloud:trusty-liberty/proposed
409+trusty-liberty-staging:
410+ inherits: trusty-liberty
411+ overrides:
412+ openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
413+ source: ppa:ubuntu-cloud-archive/liberty-staging
414+wily-liberty:
415+ inherits: openstack-icehouse
416+ series: wily
417+wily-liberty-proposed:
418+ inherits: wily-liberty
419+ overrides:
420+ source: proposed
421+ openstack-origin: distro-proposed
422+
423
424=== modified file 'helper/bundles/next-ha.yaml'
425--- helper/bundles/next-ha.yaml 2014-12-18 12:14:28 +0000
426+++ helper/bundles/next-ha.yaml 2015-07-30 14:52:37 +0000
427@@ -81,7 +81,7 @@
428 corosync_key: "xZP7GDWV0e8Qs0GxWThXirNNYlScgi3sRTdZk/IXKDqkNFcwdCWfRQnqrHU/6mb6sz6OIoZzX2MtfMQIDcXuPqQyvKuv7YbRyGHmQwAWDUA4ed759VWAO39kHkfWp9y5RRk/wcHakTcWYMwm70upDGJEP00YT3xem3NQy27AC1w="
429 neutron-gateway:
430 num_units: 2
431- charm: quantum-gateway
432+ charm: neutron-gateway
433 constraints: mem=1G
434 options:
435 instance-mtu: 1300
436
437=== modified file 'helper/collect/collect-cephradosgw'
438--- helper/collect/collect-cephradosgw 2015-01-31 15:25:37 +0000
439+++ helper/collect/collect-cephradosgw 2015-07-30 14:52:37 +0000
440@@ -1,6 +1,6 @@
441-mysql lp:charms/mysql
442 ceph lp:~openstack-charmers/charms/trusty/ceph/next
443 ceph-osd lp:~openstack-charmers/charms/trusty/ceph-osd/next
444-keystone lp:~openstack-charmers/charms/trusty/keystone/next
445 ceph-radosgw lp:~gnuoy/charms/trusty/ceph-radosgw/next-support-ha
446 hacluster lp:charms/trusty/hacluster
447+keystone lp:~openstack-charmers/charms/trusty/keystone/next
448+mysql lp:charms/trusty/percona-cluster
449
450=== modified file 'helper/collect/collect-cephradosgw-ha'
451--- helper/collect/collect-cephradosgw-ha 2015-01-31 15:25:37 +0000
452+++ helper/collect/collect-cephradosgw-ha 2015-07-30 14:52:37 +0000
453@@ -1,6 +1,6 @@
454-mysql lp:charms/mysql
455 ceph lp:~openstack-charmers/charms/trusty/ceph/next
456-keystone lp:~openstack-charmers/charms/trusty/keystone/next
457 ceph-radosgw lp:~gnuoy/charms/trusty/ceph-radosgw/next-support-ha
458+hacluster lp:charms/precise/hacluster
459 #hacluster lp:charms/trusty/hacluster
460-hacluster lp:charms/precise/hacluster
461+keystone lp:~openstack-charmers/charms/trusty/keystone/next
462+mysql lp:charms/trusty/percona-cluster
463
464=== modified file 'helper/collect/collect-next'
465--- helper/collect/collect-next 2015-04-23 01:49:58 +0000
466+++ helper/collect/collect-next 2015-07-30 14:52:37 +0000
467@@ -8,14 +8,14 @@
468 heat lp:~openstack-charmers/charms/trusty/heat/next
469 keystone lp:~openstack-charmers/charms/trusty/keystone/next
470 mongodb lp:charms/trusty/mongodb
471-mysql lp:charms/trusty/mysql
472+mysql lp:~openstack-charmers/charms/trusty/percona-cluster/next
473 neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next
474+neutron-gateway lp:~openstack-charmers/charms/trusty/neutron-gateway/next
475 neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
476 nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
477 nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
478 ntp lp:charms/trusty/ntp
479 openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
480-quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next
481 rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
482 swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
483 swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
484
485=== modified file 'helper/collect/collect-next-ha'
486--- helper/collect/collect-next-ha 2015-04-20 13:40:47 +0000
487+++ helper/collect/collect-next-ha 2015-07-30 14:52:37 +0000
488@@ -1,20 +1,20 @@
489-percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
490-hacluster lp:~gnuoy/charms/trusty/hacluster/charmhelper_sync
491-rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
492+ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
493+ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
494 ceph lp:~openstack-charmers/charms/trusty/ceph/next
495-keystone lp:~openstack-charmers/charms/trusty/keystone/next
496-openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
497-nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
498-nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
499-quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next
500+cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
501 cinder lp:~openstack-charmers/charms/trusty/cinder/next
502 glance lp:~openstack-charmers/charms/trusty/glance/next
503-swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
504-swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
505-ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
506-ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
507+hacluster lp:~gnuoy/charms/trusty/hacluster/charmhelper_sync
508+heat lp:~openstack-charmers/charms/trusty/heat/next
509+keystone lp:~openstack-charmers/charms/trusty/keystone/next
510 mongodb lp:charms/mongodb
511 neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next
512+neutron-gateway lp:~openstack-charmers/charms/trusty/neutron-gateway/next
513 neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
514-cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
515-heat lp:~openstack-charmers/charms/trusty/heat/next
516+nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
517+nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
518+openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
519+percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
520+rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
521+swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
522+swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
523
524=== added file 'helper/collect/collect-next-precise'
525--- helper/collect/collect-next-precise 1970-01-01 00:00:00 +0000
526+++ helper/collect/collect-next-precise 2015-07-30 14:52:37 +0000
527@@ -0,0 +1,21 @@
528+ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
529+ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
530+ceph lp:~openstack-charmers/charms/trusty/ceph/next
531+ceph-osd lp:~openstack-charmers/charms/trusty/ceph-osd/next
532+cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
533+cinder lp:~openstack-charmers/charms/trusty/cinder/next
534+glance lp:~openstack-charmers/charms/trusty/glance/next
535+heat lp:~openstack-charmers/charms/trusty/heat/next
536+keystone lp:~openstack-charmers/charms/trusty/keystone/next
537+mongodb lp:charms/trusty/mongodb
538+mysql lp:charms/trusty/mysql
539+neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next
540+neutron-gateway lp:~openstack-charmers/charms/trusty/neutron-gateway/next
541+neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
542+nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
543+nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
544+ntp lp:charms/trusty/ntp
545+openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
546+rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
547+swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
548+swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
549
550=== modified file 'helper/collect/collect-stable-ha-precise'
551--- helper/collect/collect-stable-ha-precise 2015-04-22 08:20:57 +0000
552+++ helper/collect/collect-stable-ha-precise 2015-07-30 14:52:37 +0000
553@@ -1,21 +1,21 @@
554-#percona-cluster lp:~openstack-charmers/charms/precise/percona-cluster/trunk
555-percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
556+ceilometer-agent lp:charms/precise/ceilometer-agent
557+ceilometer lp:charms/precise/ceilometer
558+ceph lp:charms/precise/ceph
559+cinder-ceph lp:charms/precise/cinder-ceph
560+cinder lp:charms/precise/cinder
561+glance lp:charms/precise/glance
562 hacluster lp:charms/precise/hacluster
563-rabbitmq-server lp:charms/precise/rabbitmq-server
564-ceph lp:charms/precise/ceph
565+heat lp:charms/precise/heat
566 keystone lp:charms/precise/keystone
567+mongodb lp:charms/mongodb
568+neutron-api lp:charms/precise/neutron-api
569+neutron-openvswitch lp:charms/precise/neutron-openvswitch
570+nova-cloud-controller lp:charms/precise/nova-cloud-controller
571+nova-compute lp:charms/precise/nova-compute
572 openstack-dashboard lp:charms/precise/openstack-dashboard
573-nova-compute lp:charms/precise/nova-compute
574-nova-cloud-controller lp:charms/precise/nova-cloud-controller
575+#percona-cluster lp:~openstack-charmers/charms/precise/percona-cluster/trunk
576+percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
577 quantum-gateway lp:charms/precise/quantum-gateway
578-cinder lp:charms/precise/cinder
579-glance lp:charms/precise/glance
580+rabbitmq-server lp:charms/precise/rabbitmq-server
581 swift-proxy lp:charms/precise/swift-proxy
582 swift-storage lp:charms/precise/swift-storage
583-ceilometer lp:charms/precise/ceilometer
584-ceilometer-agent lp:charms/precise/ceilometer-agent
585-mongodb lp:charms/mongodb
586-neutron-api lp:charms/precise/neutron-api
587-neutron-openvswitch lp:charms/precise/neutron-openvswitch
588-cinder-ceph lp:charms/precise/cinder-ceph
589-heat lp:charms/precise/heat
590
591=== modified file 'helper/collect/collect-stable-ha-trusty'
592--- helper/collect/collect-stable-ha-trusty 2015-04-20 11:10:36 +0000
593+++ helper/collect/collect-stable-ha-trusty 2015-07-30 14:52:37 +0000
594@@ -1,21 +1,21 @@
595-percona-cluster lp:charms/trusty/percona-cluster
596+# FYI nosmart usages is re: bug 1161018 bzr revno fails on ghost ancestry
597+ceilometer-agent nosmart+lp:charms/trusty/ceilometer-agent
598+ceilometer nosmart+lp:charms/trusty/ceilometer
599+ceph lp:charms/trusty/ceph
600+cinder-ceph lp:charms/trusty/cinder-ceph
601+cinder lp:charms/trusty/cinder
602+glance nosmart+lp:charms/trusty/glance
603 hacluster lp:charms/trusty/hacluster
604-rabbitmq-server lp:charms/trusty/rabbitmq-server
605-ceph lp:charms/trusty/ceph
606+heat nosmart+lp:charms/trusty/heat
607 keystone lp:charms/trusty/keystone
608-nova-compute lp:charms/trusty/nova-compute
609-cinder lp:charms/trusty/cinder
610-swift-storage lp:charms/trusty/swift-storage
611 mongodb lp:charms/mongodb
612 neutron-api lp:charms/trusty/neutron-api
613-cinder-ceph lp:charms/trusty/cinder-ceph
614-# Bug 1161018 bzr revno fails on ghost ancestry
615+neutron-gateway nosmart+lp:charms/trusty/quantum-gateway
616+neutron-openvswitch nosmart+lp:charms/trusty/neutron-openvswitch
617+nova-cloud-controller nosmart+lp:charms/trusty/nova-cloud-controller
618+nova-compute lp:charms/trusty/nova-compute
619 openstack-dashboard nosmart+lp:charms/trusty/openstack-dashboard
620-ceilometer nosmart+lp:charms/trusty/ceilometer
621-ceilometer-agent nosmart+lp:charms/trusty/ceilometer-agent
622-glance nosmart+lp:charms/trusty/glance
623-heat nosmart+lp:charms/trusty/heat
624+percona-cluster lp:charms/trusty/percona-cluster
625+rabbitmq-server lp:charms/trusty/rabbitmq-server
626 swift-proxy nosmart+lp:charms/trusty/swift-proxy
627-quantum-gateway nosmart+lp:charms/trusty/quantum-gateway
628-neutron-openvswitch nosmart+lp:charms/trusty/neutron-openvswitch
629-nova-cloud-controller nosmart+lp:charms/trusty/nova-cloud-controller
630+swift-storage lp:charms/trusty/swift-storage
631
632=== modified file 'helper/collect/collect-stable-precise'
633--- helper/collect/collect-stable-precise 2015-01-28 16:19:28 +0000
634+++ helper/collect/collect-stable-precise 2015-07-30 14:52:37 +0000
635@@ -1,19 +1,22 @@
636-nova-cloud-controller lp:charms/precise/nova-cloud-controller
637-neutron-api lp:charms/precise/neutron-api
638-keystone lp:charms/precise/keystone
639-glance lp:charms/precise/glance
640-swift-proxy lp:charms/precise/swift-proxy
641-mysql lp:charms/mysql
642-rabbitmq-server lp:charms/rabbitmq-server
643+#
644+ceilometer-agent lp:charms/precise/ceilometer-agent
645+ceilometer lp:charms/precise/ceilometer
646 ceph lp:charms/precise/ceph
647-nova-compute lp:charms/precise/nova-compute
648-quantum-gateway lp:charms/precise/quantum-gateway
649+ceph-osd lp:charms/precise/ceph-osd
650+cinder-ceph lp:charms/precise/cinder-ceph
651 cinder lp:charms/precise/cinder
652-swift-storage lp:charms/precise/swift-storage
653+glance lp:charms/precise/glance
654+heat lp:charms/precise/heat
655+keystone lp:charms/precise/keystone
656 mongodb lp:charms/mongodb
657-cinder-ceph lp:charms/precise/cinder-ceph
658-heat lp:charms/precise/heat
659+mysql lp:charms/mysql
660+neutron-api lp:charms/precise/neutron-api
661+neutron-gateway lp:charms/precise/quantum-gateway
662 neutron-openvswitch lp:charms/precise/neutron-openvswitch
663+nova-cloud-controller lp:charms/precise/nova-cloud-controller
664+nova-compute lp:charms/precise/nova-compute
665+ntp lp:charms/precise/ntp
666 openstack-dashboard lp:charms/precise/openstack-dashboard
667-ceilometer lp:charms/precise/ceilometer
668-ceilometer-agent lp:charms/precise/ceilometer-agent
669+rabbitmq-server lp:charms/rabbitmq-server
670+swift-proxy lp:charms/precise/swift-proxy
671+swift-storage lp:charms/precise/swift-storage
672
673=== modified file 'helper/collect/collect-stable-trusty'
674--- helper/collect/collect-stable-trusty 2015-04-22 17:28:46 +0000
675+++ helper/collect/collect-stable-trusty 2015-07-30 14:52:37 +0000
676@@ -1,21 +1,22 @@
677-neutron-api lp:charms/trusty/neutron-api
678-keystone lp:charms/trusty/keystone
679-mysql lp:charms/mysql
680-rabbitmq-server lp:charms/rabbitmq-server
681-ceph lp:charms/trusty/ceph
682-nova-compute lp:charms/trusty/nova-compute
683-cinder lp:charms/trusty/cinder
684-swift-storage lp:charms/trusty/swift-storage
685-mongodb lp:charms/mongodb
686-cinder-ceph lp:charms/trusty/cinder-ceph
687-ntp lp:charms/trusty/ntp
688-# Bug 1161018 bzr revno fails on ghost ancestry
689-openstack-dashboard nosmart+lp:charms/trusty/openstack-dashboard
690+# FYI, nosmart usage is re: bug 1161018 bzr revno fails on ghost ancestry
691+ceilometer-agent nosmart+lp:charms/trusty/ceilometer-agent
692 ceilometer nosmart+lp:charms/trusty/ceilometer
693-ceilometer-agent nosmart+lp:charms/trusty/ceilometer-agent
694+ceph nosmart+lp:charms/trusty/ceph
695+ceph-osd nosmart+lp:charms/trusty/ceph-osd
696+cinder-ceph nosmart+lp:charms/trusty/cinder-ceph
697+cinder nosmart+lp:charms/trusty/cinder
698 glance nosmart+lp:charms/trusty/glance
699 heat nosmart+lp:charms/trusty/heat
700-swift-proxy nosmart+lp:charms/trusty/swift-proxy
701-quantum-gateway nosmart+lp:charms/trusty/quantum-gateway
702+keystone nosmart+lp:charms/trusty/keystone
703+mongodb nosmart+lp:charms/trusty/mongodb
704+mysql nosmart+lp:charms/trusty/percona-cluster
705+neutron-api nosmart+lp:charms/trusty/neutron-api
706+neutron-gateway nosmart+lp:charms/trusty/quantum-gateway
707 neutron-openvswitch nosmart+lp:charms/trusty/neutron-openvswitch
708 nova-cloud-controller nosmart+lp:charms/trusty/nova-cloud-controller
709+nova-compute nosmart+lp:charms/trusty/nova-compute
710+ntp nosmart+lp:charms/trusty/ntp
711+openstack-dashboard nosmart+lp:charms/trusty/openstack-dashboard
712+rabbitmq-server nosmart+lp:charms/trusty/rabbitmq-server
713+swift-proxy nosmart+lp:charms/trusty/swift-proxy
714+swift-storage nosmart+lp:charms/trusty/swift-storage
715
716=== modified file 'helper/collect/collect-swift-proxy'
717--- helper/collect/collect-swift-proxy 2014-12-16 13:12:11 +0000
718+++ helper/collect/collect-swift-proxy 2015-07-30 14:52:37 +0000
719@@ -1,6 +1,6 @@
720-mysql lp:charms/mysql
721+glance lp:~openstack-charmers/charms/trusty/glance/next
722+hacluster lp:~openstack-charmers/charms/trusty/hacluster/next
723 keystone lp:~openstack-charmers/charms/trusty/keystone/next
724-glance lp:~openstack-charmers/charms/trusty/glance/next
725+mysql lp:charms/trusty/percona-cluster
726 swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
727 swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
728-hacluster lp:~openstack-charmers/charms/trusty/hacluster/next
729
730=== modified file 'helper/collect/repo-cephradosgw'
731--- helper/collect/repo-cephradosgw 2015-01-31 15:25:37 +0000
732+++ helper/collect/repo-cephradosgw 2015-07-30 14:52:37 +0000
733@@ -1,6 +1,6 @@
734-mysql
735 ceph
736 ceph-osd
737-keystone
738 ceph-radosgw
739 hacluster
740+keystone
741+mysql
742
743=== modified file 'helper/collect/repo-cephradosgw-ha'
744--- helper/collect/repo-cephradosgw-ha 2015-01-31 15:25:37 +0000
745+++ helper/collect/repo-cephradosgw-ha 2015-07-30 14:52:37 +0000
746@@ -1,5 +1,5 @@
747-mysql
748 ceph
749-keystone
750 ceph-radosgw
751 hacluster
752+keystone
753+mysql
754
755=== modified file 'helper/collect/repo-next'
756--- helper/collect/repo-next 2015-03-18 18:11:28 +0000
757+++ helper/collect/repo-next 2015-07-30 14:52:37 +0000
758@@ -1,21 +1,21 @@
759-mysql
760-rabbitmq-server
761+ceilometer
762+ceilometer-agent
763 ceph
764 ceph-osd
765-keystone
766-openstack-dashboard
767-nova-compute
768-nova-cloud-controller
769-quantum-gateway
770 cinder
771 cinder-ceph
772 glance
773-swift-proxy
774-swift-storage
775-ceilometer
776-ceilometer-agent
777 heat
778+keystone
779 mongodb
780+mysql
781 neutron-api
782+neutron-gateway
783 neutron-openvswitch
784+nova-cloud-controller
785+nova-compute
786 ntp
787+openstack-dashboard
788+rabbitmq-server
789+swift-proxy
790+swift-storage
791
792=== modified file 'helper/collect/repo-next-ha'
793--- helper/collect/repo-next-ha 2015-04-20 11:21:51 +0000
794+++ helper/collect/repo-next-ha 2015-07-30 14:52:37 +0000
795@@ -1,20 +1,20 @@
796-percona-cluster
797-hacluster
798-rabbitmq-server
799+ceilometer
800+ceilometer-agent
801 ceph
802-keystone
803-nova-compute
804 cinder
805-swift-storage
806-mongodb
807-neutron-api
808 cinder-ceph
809-openstack-dashboard
810-ceilometer
811-ceilometer-agent
812 glance
813+hacluster
814 heat
815-swift-proxy
816-quantum-gateway
817+keystone
818+mongodb
819+neutron-api
820+neutron-gateway
821 neutron-openvswitch
822 nova-cloud-controller
823+nova-compute
824+openstack-dashboard
825+percona-cluster
826+rabbitmq-server
827+swift-proxy
828+swift-storage
829
830=== modified file 'helper/collect/repo-swift-proxy'
831--- helper/collect/repo-swift-proxy 2014-12-16 13:12:11 +0000
832+++ helper/collect/repo-swift-proxy 2015-07-30 14:52:37 +0000
833@@ -1,6 +1,6 @@
834+glance
835+hacluster
836+keystone
837 mysql
838-keystone
839-glance
840 swift-proxy
841 swift-storage
842-hacluster
843
844=== added file 'helper/collect/sort-me.sh'
845--- helper/collect/sort-me.sh 1970-01-01 00:00:00 +0000
846+++ helper/collect/sort-me.sh 2015-07-30 14:52:37 +0000
847@@ -0,0 +1,10 @@
848+#!/bin/bash -e
849+# Sort collect and repo files in current directory.
850+
851+for f in collect* repo*; do
852+ echo "$f $f_tmp"
853+ f_tmp="$(mktemp)"
854+ sort < $f > $f_tmp
855+ cat $f_tmp > $f
856+ rm -fv $f_tmp
857+done
858
859=== added file 'helper/scripts/bundle_constrainer.py'
860--- helper/scripts/bundle_constrainer.py 1970-01-01 00:00:00 +0000
861+++ helper/scripts/bundle_constrainer.py 2015-07-30 14:52:37 +0000
862@@ -0,0 +1,215 @@
863+#!/usr/bin/env python
864+'''
865+A tool to add or remove constraints in a Juju bundle YAML file. Useful to
866+inject MAAS tags, mem, arch or other constraints.
867+'''
868+
869+import logging
870+import optparse
871+import os
872+import sys
873+import yaml
874+
875+USAGE = '''Usage: %prog [options]
876+
877+bundle_constrainer
878+==============================================================================
879+A tool to add or remove constraints in a Juju bundle YAML file. Useful to
880+inject MAAS tags, mem, arch or other constraints.
881+
882+Default behavior:
883+ The specified constraint key-value pairs override existing pairs
884+ when the keys are identical. If the specified constraints contain
885+ keys which do not already exist in the bundle, the new ones are
886+ added and the existing constraint key pairs remain.
887+
888+ Services with placement ("to:") are ignored altogether.
889+
890+ Will not overwrite an existing file without -y.
891+
892+Usage examples:
893+ Add constraints and overwrite the original file, with debug output:
894+ %prog -yd -i my.yaml -o my.yaml --constraints "mem=1G tags=dell,intel"
895+
896+ Remove existing constraints, add new constraints, and overwrite:
897+ %prog -yr -i my.yaml -o my.yaml --constraints "mem=1G tags=dell"
898+
899+ Remove all constraints and write to a new bundle yaml file:
900+ %prog -i old.yaml -o new.yaml --remove-all
901+
902+ Remove all constraints, excluding the listed services, and overwrite:
903+ %prog -yr -i my.yaml -o my.yaml -e "ceilometer-agent,neutron-api"
904+'''
905+
906+CNSTR = 'constraints'
907+
908+
909+def read_yaml(the_file):
910+ '''Returns yaml data from provided file name
911+
912+ :param the_file: yaml file name to read
913+ :returns: dictionary of yaml data from file
914+ '''
915+ if not os.path.exists(the_file):
916+ raise ValueError('File not found: {}'.format(the_file))
917+ with open(the_file) as yaml_file:
918+ logging.debug('Reading file: {}'.format(the_file))
919+ data = yaml.safe_load(yaml_file.read())
920+ return data
921+
922+
923+def write_yaml(data, the_file):
924+ '''Save yaml data dictionary to a yaml file
925+
926+ :param the_file: yaml file name to write
927+ :returns: dictionary of yaml data to write to file
928+ '''
929+ logging.debug('Writing file: {}'.format(the_file))
930+ with open(the_file, 'w') as yaml_file:
931+ yaml_file.write(yaml.dump(data, default_flow_style=False))
932+
933+
934+def constraint_str_dict(constraint_string):
935+ '''Convert a juju constraint string into a dictionary.'''
936+ _constraints = {}
937+ for pair in constraint_string.split():
938+ key, val = pair.split('=')
939+ _constraints[key] = val
940+ return _constraints
941+
942+
943+def constraint_dict_str(constraint_dict):
944+ '''Convert a dictionary into a juju constraint string.'''
945+ _constraint_string = ''
946+ for key, val in constraint_dict.items():
947+ _constraint_string = '{} {}={}'.format(_constraint_string, key, val)
948+ return _constraint_string.strip()
949+
950+
951+def merge_constraints(org_constraints, new_constraints):
952+ '''Merge new constraints with original constraints, where new wins.'''
953+ _constraints = org_constraints.copy()
954+ _constraints.update(new_constraints)
955+ return _constraints
956+
957+
958+def update_constraints(bundle_dict, opts):
959+ '''Use command line options to mangle the bundle's dictionary data.'''
960+ if opts.exclude_services:
961+ exclude_services = opts.exclude_services.split(',')
962+ logging.info('Excluding services: {}'.format(exclude_services))
963+ else:
964+ exclude_services = []
965+
966+ for target, t_v in bundle_dict.items():
967+ logging.debug('Target: {}'.format(target))
968+ for operation, o_v in t_v.items():
969+ logging.debug('Operation: {}'.format(operation))
970+ if operation == 'services':
971+ # NOTE: operation may commonly be: relation, services,
972+ # overrides or inherits.
973+ for service, s_v in o_v.items():
974+ logging.debug('Service: {}'.format(service))
975+
976+ if 'to' in s_v.keys():
977+ logging.info('Skipping {} as it uses placement '
978+ '({}).'.format(service, s_v['to']))
979+ continue
980+
981+ if CNSTR in s_v.keys():
982+ org_constraints = \
983+ constraint_str_dict(s_v[CNSTR])
984+ logging.info('{} has existing constraints '
985+ '({}).'.format(service, org_constraints))
986+
987+ if opts.remove_all and service not in exclude_services:
988+ logging.info('Removing existing constraints for '
989+ '{}'.format(service))
990+ del bundle_dict[target][operation][service][CNSTR]
991+ else:
992+ org_constraints = {}
993+
994+ if opts.constraints and service not in exclude_services:
995+ new_constraints = constraint_str_dict(opts.constraints)
996+ merged_constraints = merge_constraints(org_constraints,
997+ new_constraints)
998+
999+ bundle_dict[target][operation][service][CNSTR] = \
1000+ constraint_dict_str(merged_constraints)
1001+
1002+ return bundle_dict
1003+
1004+
1005+def main():
1006+ '''Define and handle command line parameters
1007+ '''
1008+ # Define command line options
1009+ parser = optparse.OptionParser(USAGE)
1010+ parser.add_option("-d", "--debug",
1011+ help="Enable debug logging",
1012+ dest="debug", action="store_true", default=False)
1013+ parser.add_option('-y', '--yes-overwrite',
1014+ help='Overwrite the output file',
1015+ dest='overwrite', action='store_true', default=False)
1016+ parser.add_option("-i", "--in-file",
1017+ help="YAML input (source) file",
1018+ action="store", type="string", dest="in_file")
1019+ parser.add_option("-o", "--out-file",
1020+ help="YAML output (destination) file",
1021+ action="store", type="string", dest="out_file")
1022+ parser.add_option("--constraints",
1023+ help="Constraints string to force onto service units.",
1024+ action="store", type="string", dest="constraints")
1025+ parser.add_option("-e", "--exclude-services",
1026+ help="Comma-separated list of service names to exclude",
1027+ action="store", type="string", dest="exclude_services")
1028+ parser.add_option("-r", "--remove-all",
1029+ help="Remove all constraints.",
1030+ dest="remove_all", action="store_true", default=False)
1031+
1032+ params = parser.parse_args()
1033+ (opts, args) = params
1034+
1035+ # Handle parameters, inform user
1036+ if opts.debug:
1037+ logging.basicConfig(level=logging.DEBUG)
1038+ logging.info('Logging level set to DEBUG!')
1039+ logging.debug('parse opts: \n{}'.format(
1040+ yaml.dump(vars(opts), default_flow_style=False)))
1041+ logging.debug('arg count: {}'.format(len(args)))
1042+ logging.debug('parse args: {}'.format(args))
1043+ else:
1044+ logging.basicConfig(level=logging.INFO)
1045+
1046+ # Validate options
1047+ if not opts.in_file or not opts.out_file:
1048+ parser.print_help()
1049+ sys.exit(1)
1050+
1051+ # Validate and process files
1052+ if os.path.isfile(opts.out_file) and opts.overwrite:
1053+ logging.warning('Output file exists and will be '
1054+ 'overwritten: {}'.format(opts.out_file))
1055+ elif os.path.isfile(opts.out_file) and not opts.overwrite:
1056+ logging.warning('Output file exists and will NOT '
1057+ 'be overwritten: {}'.format(opts.out_file))
1058+ raise ValueError('Output file exists, overwrite option not set.')
1059+
1060+ if not os.path.isfile(opts.in_file):
1061+ raise ValueError('Input file not found.')
1062+
1063+ if not opts.constraints and not opts.remove_all:
1064+ raise ValueError('No action taken. Specify new constraints '
1065+ 'and/or existing constraint removal.')
1066+
1067+ # Read the infile
1068+ org_bundle_dict = read_yaml(opts.in_file)
1069+
1070+ # Mangle dict data
1071+ new_bundle_dict = update_constraints(org_bundle_dict, opts)
1072+
1073+ # Write the outfile
1074+ write_yaml(new_bundle_dict, opts.out_file)
1075+
1076+if __name__ == '__main__':
1077+ main()
1078
1079=== added file 'helper/scripts/bundle_constrainer_inject_tags.sh'
1080--- helper/scripts/bundle_constrainer_inject_tags.sh 1970-01-01 00:00:00 +0000
1081+++ helper/scripts/bundle_constrainer_inject_tags.sh 2015-07-30 14:52:37 +0000
1082@@ -0,0 +1,22 @@
1083+#!/bin/bash -e
1084+#
1085+# Optionally inject juju tags passed by environment variable, such
1086+# as architecture or maas tags, excluding the listed subordinate charms.
1087+
1088+SUBORDINATES="ceilometer-agent,cinder-ceph,neutron-openvswitch,ntp"
1089+
1090+echo " . Env vars of interest:"
1091+env | egrep 'osci|OSCI|juju|JUJU|mojo|MOJO|amulet|AMULET|proxy|PROXY' | sort
1092+
1093+echo " . You are here:"
1094+pwd && whoami
1095+
1096+if [[ -n "$UOSCI_JUJU_TAGS" ]]; then
1097+ echo " + Bundle constrainer triggered on: ${UOSCI_JUJU_TAGS}"
1098+ $MOJO_SPEC_DIR/$MOJO_STAGE/scripts/bundle_constrainer.py -yd \
1099+ -i $MOJO_SPEC_DIR/$MOJO_STAGE/baremetal7.yaml \
1100+ -o $MOJO_SPEC_DIR/$MOJO_STAGE/baremetal7.yaml \
1101+ --constraints "$UOSCI_JUJU_TAGS" -e "$SUBORDINATES"
1102+else
1103+ echo " - Bundle constrainer not triggered."
1104+fi
1105
1106=== modified file 'helper/scripts/check-lint.sh'
1107--- helper/scripts/check-lint.sh 2015-02-08 18:16:10 +0000
1108+++ helper/scripts/check-lint.sh 2015-07-30 14:52:37 +0000
1109@@ -1,12 +1,22 @@
1110 #!/bin/bash
1111
1112-find specs/{object_storage,full_stack} -name manifest | \
1113-while read spec; do
1114+echo "Checking specs..."
1115+for spec in $(find specs/{object_storage,full_stack} -name manifest); do
1116 spec_dir=$(dirname $spec)
1117 MSGS=$(./helper/scripts/mojo-spec-check.py $spec_dir 2>&1)
1118- if [[ ! -z $MSGS ]]; then
1119- echo $spec_dir
1120- echo "$MSGS"
1121- echo ""
1122+ if [[ "$MSGS" == *WARNING* ]] || [[ "$MSGS" == *ERROR* ]]; then
1123+ result="(!)"
1124+ failed=1
1125+ else
1126+ result="OK"
1127 fi
1128+ echo -e "${result}\t${spec_dir}"
1129+ [[ -n "$MSGS" ]] && echo -e "$MSGS\n"
1130 done
1131+
1132+if [[ -n "$failed" ]]; then
1133+ echo "One or more specs failed a sanity check."
1134+ exit 1
1135+else
1136+ echo "All spec sanity checks passed."
1137+fi
1138
1139=== added file 'helper/scripts/list-specs.sh'
1140--- helper/scripts/list-specs.sh 1970-01-01 00:00:00 +0000
1141+++ helper/scripts/list-specs.sh 2015-07-30 14:52:37 +0000
1142@@ -0,0 +1,6 @@
1143+#!/bin/bash
1144+
1145+find specs/{full_stack,object_storage,dev} -name manifest | \
1146+while read spec; do
1147+ dirname $spec
1148+done
1149
1150=== modified file 'helper/scripts/mojo-spec-check.py'
1151--- helper/scripts/mojo-spec-check.py 2015-03-18 15:34:58 +0000
1152+++ helper/scripts/mojo-spec-check.py 2015-07-30 14:52:37 +0000
1153@@ -1,19 +1,46 @@
1154 #!/usr/bin/python
1155+import logging
1156+import os
1157 import string
1158-import os
1159-import logging
1160 import sys
1161 import yaml
1162
1163-WHITELIST=['manifest', 'helper', 'utils', 'SPEC_INFO.txt']
1164-YAML_MAP={
1165+#LOGLEVEL = logging.DEBUG
1166+#LOGLEVEL = logging.INFO
1167+LOGLEVEL = logging.WARN
1168+
1169+WHITELIST = ['manifest', 'helper', 'utils', 'scripts', 'SPEC_INFO.txt']
1170+
1171+YAML_MAP = {
1172 'images.yaml': 'image_setup.py',
1173 'keystone_users.yaml': 'keystone_setup.py',
1174 'network.yaml': 'network_setup.py',
1175 }
1176-UBUNTU_RELEASES=['precise', 'trusty', 'utopic', 'vivid']
1177+
1178+
1179+# OpenStack-to-Ubuntu Release Map
1180+UBUNTU_RELEASES = {}
1181+OPENSTACK_RELEASES = {
1182+ 'icehouse': ['precise', 'trusty'],
1183+ 'juno': ['trusty', 'utopic'],
1184+ 'kilo': ['trusty', 'vivid'],
1185+ 'liberty': ['trusty', 'wily']
1186+}
1187+
1188
1189 # Helpers
1190+def invert_dict_of_lists(d):
1191+ """Inverts a dictionary of lists."""
1192+ _inverted = {}
1193+ for k, v in d.iteritems():
1194+ for item in v:
1195+ if item in _inverted.keys():
1196+ _inverted[item].append(k)
1197+ else:
1198+ _inverted[item] = [k]
1199+ return _inverted
1200+
1201+
1202 def get_directive_opt(line, opt):
1203 """Return value for kv pair in manifest line"""
1204 for word in line:
1205@@ -24,7 +51,7 @@
1206 def get_manifest_ubuntu_release():
1207 """Return Ubuntu release referenced in deploy manifest directive"""
1208 releases = []
1209- with open('manifest', 'r') as f:
1210+ with open('manifest', 'r') as f:
1211 for line in f.readlines():
1212 words = line.split()
1213 if words and words[0] == "deploy":
1214@@ -33,54 +60,84 @@
1215 releases.append(target_arg)
1216 else:
1217 logging.warn('No target is set for juju deployer, this '
1218- 'spec will not support multiple ubuntu '
1219- 'releases, specify a target with ${MOJO_SERIES}')
1220+ 'spec will not support multiple Ubuntu '
1221+ 'releases, specify a target with '
1222+ '${MOJO_SERIES}')
1223+ logging.debug('Releases: {}'.format(releases))
1224 return releases
1225
1226
1227-def get_manifest_referenced():
1228+def get_manifest_referenced(openstack_release):
1229 """Return all files referenced in the manifest"""
1230- config_files=[]
1231- with open('manifest', 'r') as f:
1232+ config_files = []
1233+ with open('manifest', 'r') as f:
1234 for line in f.readlines():
1235 for word in line.split():
1236 if 'config=' in word:
1237- config_files.extend(resolve_file(word.split('=')[1]))
1238+ config_files.extend(resolve_file(word.split('=')[1],
1239+ openstack_release))
1240+ logging.debug('Expected files: {}'.format(config_files))
1241 return config_files
1242
1243
1244-def resolve_file(rfile):
1245- """Substitute runtime env variables into string and return list of possabilities"""
1246+def resolve_file(rfile, openstack_release):
1247+ """Substitute vars into string and return list of possibilities"""
1248 check_files = []
1249 if 'MOJO_SERIES' in rfile:
1250- for series in ['trusty', 'precise']:
1251- bob = {}
1252- bob['MOJO_SERIES'] = series
1253- check_files.append(string.Template(rfile).substitute(bob))
1254+ # Add expected Ubuntu series based on OpenStack release
1255+ if openstack_release:
1256+ logging.debug('Expecting {} x {}'.format(
1257+ rfile, OPENSTACK_RELEASES[openstack_release]))
1258+ for series in OPENSTACK_RELEASES[openstack_release]:
1259+ template_data = {'MOJO_SERIES': series}
1260+ check_files.append(
1261+ string.Template(rfile).substitute(template_data))
1262+ else:
1263+ logging.warn('Skipping {}'.format(rfile))
1264 else:
1265 check_files.append(rfile)
1266 return check_files
1267
1268+
1269+def get_openstack_release_name():
1270+ """Return OpenStack release name based on the current directory."""
1271+ openstack_release = os.getcwd().split('/')[-1]
1272+ logging.debug('OpenStack release: {}'.format(openstack_release))
1273+ if openstack_release not in OPENSTACK_RELEASES.keys():
1274+ logging.error('Unable to determine OpenStack release name '
1275+ 'from spec directory')
1276+ return None
1277+ else:
1278+ return openstack_release
1279+
1280+
1281 # Checks
1282 def check_manifest_ubuntu_release():
1283 """Check Ubuntu release is not hardcoded in manifest"""
1284+ logging.info('Checking that Ubuntu release is not '
1285+ 'hard-coded in manifest...')
1286 for target_arg in get_manifest_ubuntu_release():
1287- if len([rel for rel in UBUNTU_RELEASES if rel in target_arg]) > 0:
1288- logging.warn('juju deployer target contains a hardcoded '
1289- 'Ubuntu release. Consider using ${MOJO_SERIES}')
1290-
1291-def check4spec(dir_list):
1292+ for rel in UBUNTU_RELEASES.keys():
1293+ if rel in target_arg:
1294+ logging.warn('Manifest deploy target contains a hard-coded '
1295+ 'Ubuntu release. Consider using ${MOJO_SERIES}')
1296+
1297+
1298+def check_spec_info(dir_list):
1299 """Check spec has a SPEC_INFO.txt file describing the spec"""
1300 if 'SPEC_INFO.txt' not in dir_list:
1301- logging.warn('No spec description file SPEC_INFO.txt')
1302-
1303-
1304-def check_files_are_in_manifest(dir_list):
1305+ logging.warn('No spec description file SPEC_INFO.txt')
1306+
1307+
1308+def check_files_are_in_manifest(dir_list, openstack_release):
1309 """Check that all files are referenced in the manifest"""
1310+ logging.info('Checking that all files are referenced in the manifest...')
1311+ _referenced = get_manifest_referenced(openstack_release)
1312
1313 def _manifest_check(fname):
1314- if not fname in get_manifest_referenced():
1315- logging.warn('%s not referenced in manifest. Can this file be removed?' % fname)
1316+ if not fname in _referenced:
1317+ logging.warn('%s is not referenced by the manifest. '
1318+ 'Can this file be removed?' % fname)
1319
1320 for f in dir_list:
1321 if f in WHITELIST:
1322@@ -91,26 +148,40 @@
1323 _manifest_check(f)
1324
1325
1326-def check_files_from_manifest(dir_list):
1327+def check_files_from_manifest(dir_list, openstack_release):
1328 """Check that all files referenced in the manifest are present"""
1329- for f in get_manifest_referenced():
1330- if f not in dir_list:
1331- logging.error('%s referenced in manifest but not present, mojo spec will fail' % f)
1332+ logging.info('Checking that all files referenced in the '
1333+ 'manifest are present...')
1334+
1335+ for f in get_manifest_referenced(openstack_release):
1336+ # Use actual file check to address file within symlinked directories
1337+ if f not in dir_list and not os.path.exists(f):
1338+ logging.error('%s not found. It is referenced by the '
1339+ 'manifest, or expected based on Ubuntu-'
1340+ 'OpenStack version table. Mojo spec '
1341+ 'will fail.' % f)
1342+ logging.debug('{} not in {}'.format(f, dir_list))
1343 for yamlfile in YAML_MAP.keys():
1344 if f == YAML_MAP[yamlfile]:
1345 if not yamlfile in dir_list:
1346- logging.error('%s referenced in manifest but not present, mojo spec will fail' % f)
1347+ logging.error('%s not found. It is referenced by the '
1348+ 'manifest, or expected based on Ubuntu-'
1349+ 'OpenStack version table. Mojo spec '
1350+ 'will fail.' % f)
1351
1352
1353 def check_local_changes(dir_list):
1354 """Check for local changes"""
1355+ logging.info('Checking for local files...')
1356 for f in dir_list:
1357 if not os.path.islink(f) and f not in WHITELIST:
1358- logging.warn('Spec file %s is a local copy, can this be replaced with a link to a helper copy?' % f)
1359+ logging.warn('Spec file %s is a local copy. Can this be replaced '
1360+ 'with a link to a helper copy?' % f)
1361
1362
1363 def check_dead_symlinks(dir_list):
1364 """Check for dead symlink"""
1365+ logging.info('Checking for dead symlinks...')
1366 for f in dir_list:
1367 if os.path.islink(f) and not os.path.exists(os.readlink(f)):
1368 logging.error('%s is a dead symlink' % f)
1369@@ -118,34 +189,51 @@
1370
1371 def check_yaml_syntax(dir_list):
1372 """Check yamls are valid"""
1373+ logging.info('Checking syntax of yaml files...')
1374 for f in dir_list:
1375 if f.endswith('.yaml'):
1376 stream = open(f, 'r')
1377 try:
1378 yaml.load(stream)
1379 except yaml.scanner.ScannerError:
1380- logging.error('%s contains errors, mojo spec will fail' % f)
1381-
1382-
1383-def check_dirname():
1384+ logging.error('%s contains yaml errors, '
1385+ 'mojo spec will fail.' % f)
1386+
1387+
1388+def check_dirname(openstack_release):
1389 """Check tip dirname matches Openstack release referenced in manifest"""
1390+ logging.info('Checking dir name matches OpenStack release in manifest...')
1391 for target in get_manifest_ubuntu_release():
1392- if target.split('-')[1] != os.getcwd().split('/')[-1]:
1393- logging.warn('Openstack series referenced in manifest does not match dir')
1394+ if target.split('-')[1] != openstack_release:
1395+ logging.warn('OpenStack series referenced in manifest'
1396+ 'does not match directory name')
1397
1398
1399 def main(argv):
1400- logging.basicConfig(level=logging.INFO)
1401- os.chdir(sys.argv[1])
1402+ logging.basicConfig(level=LOGLEVEL)
1403+
1404+ # Ubuntu-to-OpenStack Release Map
1405+ global UBUNTU_RELEASES
1406+ UBUNTU_RELEASES = invert_dict_of_lists(OPENSTACK_RELEASES)
1407+
1408+ spec = sys.argv[1]
1409+ os.chdir(spec)
1410 dir_list = os.listdir('.')
1411- check4spec(dir_list)
1412- check_files_are_in_manifest(dir_list)
1413- check_files_from_manifest(dir_list)
1414+ openstack_release = get_openstack_release_name()
1415+
1416+ logging.info('Spec: {}'.format(spec))
1417+ logging.debug('Ubuntu release map: {}'.format(UBUNTU_RELEASES))
1418+ logging.debug('OpenStack release map: {}'.format(OPENSTACK_RELEASES))
1419+ logging.debug('Current dir: {}'.format(os.getcwd()))
1420+ logging.debug('dir_list: {}'.format(dir_list))
1421+ check_spec_info(dir_list)
1422+ check_files_are_in_manifest(dir_list, openstack_release)
1423+ check_files_from_manifest(dir_list, openstack_release)
1424 check_local_changes(dir_list)
1425 check_dead_symlinks(dir_list)
1426 check_manifest_ubuntu_release()
1427 check_yaml_syntax(dir_list)
1428- check_dirname()
1429+ check_dirname(openstack_release)
1430
1431
1432 if __name__ == "__main__":
1433
1434=== modified file 'helper/setup/network_setup.py'
1435--- helper/setup/network_setup.py 2015-03-18 16:27:17 +0000
1436+++ helper/setup/network_setup.py 2015-07-30 14:52:37 +0000
1437@@ -1,17 +1,26 @@
1438 #!/usr/bin/python
1439+import argparse
1440+import logging
1441 import sys
1442 import utils.mojo_utils as mojo_utils
1443 import utils.mojo_os_utils as mojo_os_utils
1444-import logging
1445-import argparse
1446-
1447-
1448-def setup_sdn(net_topology):
1449+
1450+
1451+def setup_sdn(net_topology, ignore_env_vars):
1452 overcloud_novarc = mojo_utils.get_overcloud_auth()
1453 # Get os clients
1454 keystonec = mojo_os_utils.get_keystone_client(overcloud_novarc)
1455 neutronc = mojo_os_utils.get_neutron_client(overcloud_novarc)
1456 net_info = mojo_utils.get_mojo_config('network.yaml')[net_topology]
1457+
1458+ # Override network.yaml values with env var values if they exist
1459+ if not ignore_env_vars:
1460+ logging.info('Consuming network environment variables as overrides.')
1461+ net_env_vars = mojo_utils.get_network_env_vars()
1462+ net_info.update(net_env_vars)
1463+
1464+ logging.info('Network info: {}'.format(mojo_utils.dict_to_yaml(net_info)))
1465+
1466 # Resolve the tenant name from the overcloud novarc into a tenant id
1467 tenant_id = mojo_os_utils.get_tenant_id(keystonec,
1468 overcloud_novarc['OS_TENANT_NAME'])
1469@@ -59,9 +68,16 @@
1470 def main(argv):
1471 logging.basicConfig(level=logging.INFO)
1472 parser = argparse.ArgumentParser()
1473- parser.add_argument("net_topology", default='gre', nargs='?')
1474+ parser.add_argument('net_topology',
1475+ help='network topology type, default is GRE',
1476+ default='gre', nargs='?')
1477+ parser.add_argument('--ignore_env_vars', '-i',
1478+ help='do not override using environment variables',
1479+ action='store_true',
1480+ default=False)
1481 options = parser.parse_args()
1482 net_topology = mojo_utils.parse_mojo_arg(options, 'net_topology')
1483+ ignore_env_vars = mojo_utils.parse_mojo_arg(options, 'ignore_env_vars')
1484 logging.info('Setting up %s network' % (net_topology))
1485
1486 # Handle network for Openstack-on-Openstack scenarios
1487@@ -78,7 +94,7 @@
1488 neutronc,
1489 dvr_mode=net_info.get('dvr_enabled', False))
1490
1491- setup_sdn(net_topology)
1492+ setup_sdn(net_topology, ignore_env_vars)
1493
1494
1495 if __name__ == "__main__":
1496
1497=== modified file 'helper/utils/mojo_utils.py'
1498--- helper/utils/mojo_utils.py 2015-03-18 15:51:50 +0000
1499+++ helper/utils/mojo_utils.py 2015-07-30 14:52:37 +0000
1500@@ -1,13 +1,13 @@
1501 #!/usr/bin/python
1502
1503+import logging
1504+import mojo
1505+import os
1506+import shutil
1507 import subprocess
1508+import time
1509 import yaml
1510-import os
1511-import mojo
1512-import logging
1513-import time
1514 from collections import Counter
1515-import shutil
1516
1517 JUJU_STATUSES = {
1518 'good': ['ACTIVE', 'started'],
1519@@ -17,7 +17,7 @@
1520
1521
1522 def get_juju_status(service=None, unit=None):
1523- cmd = ['juju', 'status']
1524+ cmd = ['juju', 'status', '--format=yaml']
1525 if service:
1526 cmd.append(service)
1527 if unit:
1528@@ -466,3 +466,67 @@
1529 juju_check_hooks_complete()
1530 # Check nothing has subsequently gone bad
1531 juju_status_check_and_wait()
1532+
1533+
1534+def dict_to_yaml(dict_data):
1535+ return yaml.dump(dict_data, default_flow_style=False)
1536+
1537+
1538+def get_network_env_vars():
1539+ """Get environment variables with names which are consistent with
1540+ network.yaml keys; Also get network environment variables as commonly
1541+ used by openstack-charm-testing and ubuntu-openstack-ci automation.
1542+ Return a dictionary compatible with mojo-openstack-specs network.yaml
1543+ key structure."""
1544+
1545+ # Example o-c-t & uosci environment variables:
1546+ # NET_ID="a705dd0f-5571-4818-8c30-4132cc494668"
1547+ # GATEWAY="172.17.107.1"
1548+ # CIDR_EXT="172.17.107.0/24"
1549+ # CIDR_PRIV="192.168.121.0/24"
1550+ # NAMESERVER="10.5.0.2"
1551+ # FIP_RANGE="172.17.107.200:172.17.107.249"
1552+ # AMULET_OS_VIP00="172.17.107.250"
1553+ # AMULET_OS_VIP01="172.17.107.251"
1554+ # AMULET_OS_VIP02="172.17.107.252"
1555+ # AMULET_OS_VIP03="172.17.107.253"
1556+ _vars = {}
1557+ _vars['net_id'] = os.environ.get('NET_ID')
1558+ _vars['external_dns'] = os.environ.get('NAMESERVER')
1559+ _vars['default_gateway'] = os.environ.get('GATEWAY')
1560+ _vars['external_net_cidr'] = os.environ.get('CIDR_EXT')
1561+ _vars['private_net_cidr'] = os.environ.get('CIDR_PRIV')
1562+
1563+ _fip_range = os.environ.get('FIP_RANGE')
1564+ if _fip_range and ':' in _fip_range:
1565+ _vars['start_floating_ip'] = os.environ.get('FIP_RANGE').split(':')[0]
1566+ _vars['end_floating_ip'] = os.environ.get('FIP_RANGE').split(':')[1]
1567+
1568+ _vips = [os.environ.get('AMULET_OS_VIP00'),
1569+ os.environ.get('AMULET_OS_VIP01'),
1570+ os.environ.get('AMULET_OS_VIP02'),
1571+ os.environ.get('AMULET_OS_VIP03')]
1572+
1573+ # Env var naming consistent with network.yaml takes priority
1574+ _keys = ['default_gateway'
1575+ 'start_floating_ip',
1576+ 'end_floating_ip',
1577+ 'external_dns',
1578+ 'external_net_cidr',
1579+ 'external_net_name',
1580+ 'external_subnet_name',
1581+ 'network_type',
1582+ 'private_net_cidr',
1583+ 'router_name']
1584+ for _key in _keys:
1585+ _val = os.environ.get(_key)
1586+ if _val:
1587+ _vars[_key] = _val
1588+
1589+ # Remove keys and items with a None value
1590+ _vars['vips'] = filter(None, _vips)
1591+ for k, v in _vars.items():
1592+ if not v:
1593+ del _vars[k]
1594+
1595+ return _vars
1596
1597=== modified file 'specs/dev/nova_cc_legacy_neutron/utils/mojo_utils.py'
1598--- specs/dev/nova_cc_legacy_neutron/utils/mojo_utils.py 2015-03-18 15:51:50 +0000
1599+++ specs/dev/nova_cc_legacy_neutron/utils/mojo_utils.py 2015-07-30 14:52:37 +0000
1600@@ -16,7 +16,7 @@
1601 }
1602
1603 def get_juju_status(service=None):
1604- cmd = ['juju', 'status']
1605+ cmd = ['juju', 'status', '--format=yaml']
1606 if service:
1607 cmd.append(service)
1608 status_file = subprocess.Popen(cmd, stdout=subprocess.PIPE).stdout
1609
1610=== removed symlink 'specs/full_stack/charmhelper_upgrade/icehouse/collect-next'
1611=== target was u'../../../../helper/collect/collect-next'
1612=== added symlink 'specs/full_stack/charmhelper_upgrade/icehouse/collect-next-precise'
1613=== target is u'../../../../helper/collect/collect-next-precise'
1614=== added symlink 'specs/full_stack/charmhelper_upgrade/icehouse/collect-next-trusty'
1615=== target is u'../../../../helper/collect/collect-next'
1616=== modified file 'specs/full_stack/charmhelper_upgrade/icehouse/manifest'
1617--- specs/full_stack/charmhelper_upgrade/icehouse/manifest 2015-02-08 08:31:58 +0000
1618+++ specs/full_stack/charmhelper_upgrade/icehouse/manifest 2015-07-30 14:52:37 +0000
1619@@ -1,5 +1,5 @@
1620 # Collect the charm branches from Launchpad
1621-collect config=collect-next
1622+collect config=collect-next-${MOJO_SERIES}
1623
1624 # Copy the branches to the deployment directory
1625 repo config=repo-next
1626
1627=== removed symlink 'specs/full_stack/charmhelper_upgrade/juno/collect-next'
1628=== target was u'../../../../helper/collect/collect-next'
1629=== added symlink 'specs/full_stack/charmhelper_upgrade/juno/collect-next-trusty'
1630=== target is u'../../../../helper/collect/collect-next'
1631=== added symlink 'specs/full_stack/charmhelper_upgrade/juno/collect-next-utopic'
1632=== target is u'../../../../helper/collect/collect-next'
1633=== modified file 'specs/full_stack/charmhelper_upgrade/juno/manifest'
1634--- specs/full_stack/charmhelper_upgrade/juno/manifest 2015-02-08 08:49:02 +0000
1635+++ specs/full_stack/charmhelper_upgrade/juno/manifest 2015-07-30 14:52:37 +0000
1636@@ -1,5 +1,5 @@
1637 # Collect the charm branches from Launchpad
1638-collect config=collect-next
1639+collect config=collect-next-${MOJO_SERIES}
1640
1641 # Copy the branches to the deployment directory
1642 repo config=repo-next
1643
1644=== removed symlink 'specs/full_stack/charmhelper_upgrade/kilo/collect-next'
1645=== target was u'../../../../helper/collect/collect-next'
1646=== added symlink 'specs/full_stack/charmhelper_upgrade/kilo/collect-next-trusty'
1647=== target is u'../../../../helper/collect/collect-next'
1648=== added symlink 'specs/full_stack/charmhelper_upgrade/kilo/collect-next-vivid'
1649=== target is u'../../../../helper/collect/collect-next'
1650=== modified file 'specs/full_stack/charmhelper_upgrade/kilo/manifest'
1651--- specs/full_stack/charmhelper_upgrade/kilo/manifest 2015-02-08 08:49:02 +0000
1652+++ specs/full_stack/charmhelper_upgrade/kilo/manifest 2015-07-30 14:52:37 +0000
1653@@ -1,5 +1,5 @@
1654 # Collect the charm branches from Launchpad
1655-collect config=collect-next
1656+collect config=collect-next-${MOJO_SERIES}
1657
1658 # Copy the branches to the deployment directory
1659 repo config=repo-next
1660
1661=== added directory 'specs/full_stack/charmhelper_upgrade/liberty'
1662=== added file 'specs/full_stack/charmhelper_upgrade/liberty/SPEC_INFO.txt'
1663--- specs/full_stack/charmhelper_upgrade/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1664+++ specs/full_stack/charmhelper_upgrade/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
1665@@ -0,0 +1,2 @@
1666+This spec collects the charms and then upgrades charmhelpers in each charm
1667+before running a non-ha deployment and testing the resulting cloud
1668
1669=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/check_juju.py'
1670=== target is u'../../../../helper/tests/check_juju.py'
1671=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/collect-next-trusty'
1672=== target is u'../../../../helper/collect/collect-next'
1673=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/collect-next-wily'
1674=== target is u'../../../../helper/collect/collect-next'
1675=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/full.yaml'
1676=== target is u'../../../../helper/bundles/full.yaml'
1677=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/helper'
1678=== target is u'../../../../helper'
1679=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/image_setup.py'
1680=== target is u'../../../../helper/setup/image_setup.py'
1681=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/images.yaml'
1682=== target is u'../../../../helper/setup/images.yaml'
1683=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/keystone_setup.py'
1684=== target is u'../../../../helper/setup/keystone_setup.py'
1685=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/keystone_users.yaml'
1686=== target is u'../../../../helper/setup/keystone_users.yaml'
1687=== added file 'specs/full_stack/charmhelper_upgrade/liberty/manifest'
1688--- specs/full_stack/charmhelper_upgrade/liberty/manifest 1970-01-01 00:00:00 +0000
1689+++ specs/full_stack/charmhelper_upgrade/liberty/manifest 2015-07-30 14:52:37 +0000
1690@@ -0,0 +1,29 @@
1691+# Collect the charm branches from Launchpad
1692+collect config=collect-next-${MOJO_SERIES}
1693+
1694+# Copy the branches to the deployment directory
1695+repo config=repo-next
1696+
1697+# Sync charmhelpers into each charm
1698+script config=sync_charmhelpers.py
1699+
1700+# Use juju deployer with full.yaml bundle
1701+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-liberty
1702+
1703+# Check juju statuses are green and that hooks have finished
1704+verify config=check_juju.py
1705+
1706+# Create sdn on overcloud
1707+script config=network_setup.py
1708+
1709+# Setup glance images
1710+script config=image_setup.py
1711+
1712+# Setup keystone users
1713+script config=keystone_setup.py
1714+
1715+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1716+verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300"
1717+
1718+# Test obj store by sending and recieving files
1719+verify config=test_obj_store.py
1720
1721=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/network.yaml'
1722=== target is u'../../../../helper/setup/network.yaml'
1723=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/network_setup.py'
1724=== target is u'../../../../helper/setup/network_setup.py'
1725=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/repo-next'
1726=== target is u'../../../../helper/collect/repo-next'
1727=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/simple_os_checks.py'
1728=== target is u'../../../../helper/tests/simple_os_checks.py'
1729=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/sync_charmhelpers.py'
1730=== target is u'../../../../helper/setup/sync_charmhelpers.py'
1731=== added symlink 'specs/full_stack/charmhelper_upgrade/liberty/test_obj_store.py'
1732=== target is u'../../../../helper/tests/test_obj_store.py'
1733=== added directory 'specs/full_stack/charmhelper_upgrade_ha/liberty'
1734=== added file 'specs/full_stack/charmhelper_upgrade_ha/liberty/SPEC_INFO.txt'
1735--- specs/full_stack/charmhelper_upgrade_ha/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1736+++ specs/full_stack/charmhelper_upgrade_ha/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
1737@@ -0,0 +1,2 @@
1738+This spec collects the charms and then upgrades charmhelpers in each charm
1739+before running a ha deployment and testing the resulting cloud
1740
1741=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/check_juju.py'
1742=== target is u'../../../../helper/tests/check_juju.py'
1743=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/collect-next-ha'
1744=== target is u'../../../../helper/collect/collect-next-ha'
1745=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/haphase1.yaml'
1746=== target is u'../../../../helper/bundles/haphase1.yaml'
1747=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/haphase2.yaml'
1748=== target is u'../../../../helper/bundles/haphase2.yaml'
1749=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/helper'
1750=== target is u'../../../../helper'
1751=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/image_setup.py'
1752=== target is u'../../../../helper/setup/image_setup.py'
1753=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/images.yaml'
1754=== target is u'../../../../helper/setup/images.yaml'
1755=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/keystone_setup.py'
1756=== target is u'../../../../helper/setup/keystone_setup.py'
1757=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/keystone_users.yaml'
1758=== target is u'../../../../helper/setup/keystone_users.yaml'
1759=== added file 'specs/full_stack/charmhelper_upgrade_ha/liberty/manifest'
1760--- specs/full_stack/charmhelper_upgrade_ha/liberty/manifest 1970-01-01 00:00:00 +0000
1761+++ specs/full_stack/charmhelper_upgrade_ha/liberty/manifest 2015-07-30 14:52:37 +0000
1762@@ -0,0 +1,38 @@
1763+# Collect the charm branches from Launchpad
1764+collect config=collect-next-ha
1765+
1766+# Copy the branches to the deployment directory
1767+repo config=repo-next-ha
1768+
1769+# Sync charmhelpers into each charm
1770+script config=sync_charmhelpers.py
1771+
1772+# Use juju deployer to create the units for the deployment
1773+deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-liberty
1774+
1775+# Check juju statuses are green and that hooks have finished
1776+verify config=check_juju.py
1777+
1778+# Examine the available networks and set vips for services
1779+script config=set_vips.py
1780+
1781+# Use juju deployer to add the relations for the deployment
1782+deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-liberty
1783+
1784+# Check juju statuses are green and that hooks have finished
1785+verify config=check_juju.py
1786+
1787+# Create sdn on overcloud
1788+script config=network_setup.py
1789+
1790+# Setup glance images
1791+script config=image_setup.py
1792+
1793+# Setup keystone users
1794+script config=keystone_setup.py
1795+
1796+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1797+verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300"
1798+
1799+# Test obj store by sending and recieving files
1800+verify config=test_obj_store.py
1801
1802=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/network.yaml'
1803=== target is u'../../../../helper/setup/network.yaml'
1804=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/network_setup.py'
1805=== target is u'../../../../helper/setup/network_setup.py'
1806=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/repo-next-ha'
1807=== target is u'../../../../helper/collect/repo-next-ha'
1808=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/set_vips.py'
1809=== target is u'../../../../helper/setup/set_vips.py'
1810=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/simple_os_checks.py'
1811=== target is u'../../../../helper/tests/simple_os_checks.py'
1812=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/sync_charmhelpers.py'
1813=== target is u'../../../../helper/setup/sync_charmhelpers.py'
1814=== added symlink 'specs/full_stack/charmhelper_upgrade_ha/liberty/test_obj_store.py'
1815=== target is u'../../../../helper/tests/test_obj_store.py'
1816=== added directory 'specs/full_stack/ha_phased/liberty'
1817=== added file 'specs/full_stack/ha_phased/liberty/SPEC_INFO.txt'
1818--- specs/full_stack/ha_phased/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1819+++ specs/full_stack/ha_phased/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
1820@@ -0,0 +1,2 @@
1821+This spec performs a phased ha deploy then runs tests to validate the
1822+deployment
1823
1824=== added symlink 'specs/full_stack/ha_phased/liberty/check_juju.py'
1825=== target is u'../../../../helper/tests/check_juju.py'
1826=== added symlink 'specs/full_stack/ha_phased/liberty/collect-next-ha'
1827=== target is u'../../../../helper/collect/collect-next-ha'
1828=== added symlink 'specs/full_stack/ha_phased/liberty/haphase1.yaml'
1829=== target is u'../../../../helper/bundles/haphase1.yaml'
1830=== added symlink 'specs/full_stack/ha_phased/liberty/haphase2.yaml'
1831=== target is u'../../../../helper/bundles/haphase2.yaml'
1832=== added symlink 'specs/full_stack/ha_phased/liberty/image_setup.py'
1833=== target is u'../../../../helper/setup/image_setup.py'
1834=== added symlink 'specs/full_stack/ha_phased/liberty/images.yaml'
1835=== target is u'../../../../helper/setup/images.yaml'
1836=== added symlink 'specs/full_stack/ha_phased/liberty/keystone_setup.py'
1837=== target is u'../../../../helper/setup/keystone_setup.py'
1838=== added symlink 'specs/full_stack/ha_phased/liberty/keystone_users.yaml'
1839=== target is u'../../../../helper/setup/keystone_users.yaml'
1840=== added file 'specs/full_stack/ha_phased/liberty/manifest'
1841--- specs/full_stack/ha_phased/liberty/manifest 1970-01-01 00:00:00 +0000
1842+++ specs/full_stack/ha_phased/liberty/manifest 2015-07-30 14:52:37 +0000
1843@@ -0,0 +1,35 @@
1844+# Collect the charm branches from Launchpad
1845+collect config=collect-next-ha
1846+
1847+# Copy the branches to the deployment directory
1848+repo config=repo-next-ha
1849+
1850+# Use juju deployer to create the units for the deployment
1851+deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-liberty
1852+
1853+# Check juju statuses are green and that hooks have finished
1854+verify config=check_juju.py
1855+
1856+# Examine the available networks and set vips for services
1857+script config=set_vips.py
1858+
1859+# Use juju deployer to add the relations for the deployment
1860+deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-liberty
1861+
1862+# Check juju statuses are green and that hooks have finished
1863+verify config=check_juju.py
1864+
1865+# Create sdn on overcloud
1866+script config=network_setup.py
1867+
1868+# Setup glance images
1869+script config=image_setup.py
1870+
1871+# Setup keystone users
1872+script config=keystone_setup.py
1873+
1874+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1875+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
1876+
1877+# Test obj store by sending and recieving files
1878+verify config=test_obj_store.py
1879
1880=== added symlink 'specs/full_stack/ha_phased/liberty/network.yaml'
1881=== target is u'../../../../helper/setup/network.yaml'
1882=== added symlink 'specs/full_stack/ha_phased/liberty/network_setup.py'
1883=== target is u'../../../../helper/setup/network_setup.py'
1884=== added symlink 'specs/full_stack/ha_phased/liberty/repo-next-ha'
1885=== target is u'../../../../helper/collect/repo-next-ha'
1886=== added symlink 'specs/full_stack/ha_phased/liberty/set_vips.py'
1887=== target is u'../../../../helper/setup/set_vips.py'
1888=== added symlink 'specs/full_stack/ha_phased/liberty/simple_os_checks.py'
1889=== target is u'../../../../helper/tests/simple_os_checks.py'
1890=== added symlink 'specs/full_stack/ha_phased/liberty/test_obj_store.py'
1891=== target is u'../../../../helper/tests/test_obj_store.py'
1892=== added symlink 'specs/full_stack/ha_phased/liberty/utils'
1893=== target is u'../../../../helper/utils'
1894=== added directory 'specs/full_stack/ha_phased_chaos_pony/liberty'
1895=== added file 'specs/full_stack/ha_phased_chaos_pony/liberty/SPEC_INFO.txt'
1896--- specs/full_stack/ha_phased_chaos_pony/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1897+++ specs/full_stack/ha_phased_chaos_pony/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
1898@@ -0,0 +1,2 @@
1899+This spec performs a phased ha deploy then runs tests to validate the
1900+deployment. iThen chaos pony is used to add and remove units.
1901
1902=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/chaos_pony.py'
1903=== target is u'../../../../helper/setup/chaos_pony.py'
1904=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/check_juju.py'
1905=== target is u'../../../../helper/tests/check_juju.py'
1906=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/collect-next-ha'
1907=== target is u'../../../../helper/collect/collect-next-ha'
1908=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/haphase1.yaml'
1909=== target is u'../../../../helper/bundles/haphase1.yaml'
1910=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/haphase2.yaml'
1911=== target is u'../../../../helper/bundles/haphase2.yaml'
1912=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/image_setup.py'
1913=== target is u'../../../../helper/setup/image_setup.py'
1914=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/images.yaml'
1915=== target is u'../../../../helper/setup/images.yaml'
1916=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/keystone_setup.py'
1917=== target is u'../../../../helper/setup/keystone_setup.py'
1918=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/keystone_users.yaml'
1919=== target is u'../../../../helper/setup/keystone_users.yaml'
1920=== added file 'specs/full_stack/ha_phased_chaos_pony/liberty/manifest'
1921--- specs/full_stack/ha_phased_chaos_pony/liberty/manifest 1970-01-01 00:00:00 +0000
1922+++ specs/full_stack/ha_phased_chaos_pony/liberty/manifest 2015-07-30 14:52:37 +0000
1923@@ -0,0 +1,38 @@
1924+# Collect the charm branches from Launchpad
1925+collect config=collect-next-ha
1926+
1927+# Copy the branches to the deployment directory
1928+repo config=repo-next-ha
1929+
1930+# Use juju deployer to create the units for the deployment
1931+deploy config=haphase1.yaml delay=0 --target=${MOJO_SERIES}-liberty
1932+
1933+# Check juju statuses are green and that hooks have finished
1934+verify config=check_juju.py
1935+
1936+# Examine the available networks and set vips for services
1937+script config=set_vips.py
1938+
1939+# Use juju deployer to add the relations for the deployment
1940+deploy config=haphase2.yaml delay=0 --target=${MOJO_SERIES}-liberty
1941+
1942+# Check juju statuses are green and that hooks have finished
1943+verify config=check_juju.py
1944+
1945+# Create sdn on overcloud
1946+script config=network_setup.py
1947+
1948+# Setup glance images
1949+script config=image_setup.py
1950+
1951+# Setup keystone users
1952+script config=keystone_setup.py
1953+
1954+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1955+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
1956+
1957+# Test obj store by sending and recieving files
1958+verify config=test_obj_store.py
1959+
1960+# Run chaos pony to destroy and add services
1961+script config=chaos_pony.py
1962
1963=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/network.yaml'
1964=== target is u'../../../../helper/setup/network.yaml'
1965=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/network_setup.py'
1966=== target is u'../../../../helper/setup/network_setup.py'
1967=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/repo-next-ha'
1968=== target is u'../../../../helper/collect/repo-next-ha'
1969=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/set_vips.py'
1970=== target is u'../../../../helper/setup/set_vips.py'
1971=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/simple_os_checks.py'
1972=== target is u'../../../../helper/tests/simple_os_checks.py'
1973=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/test_obj_store.py'
1974=== target is u'../../../../helper/tests/test_obj_store.py'
1975=== added symlink 'specs/full_stack/ha_phased_chaos_pony/liberty/utils'
1976=== target is u'../../../../helper/utils'
1977=== removed symlink 'specs/full_stack/next_deploy/icehouse/collect-next'
1978=== target was u'../../../../helper/collect/collect-next'
1979=== added symlink 'specs/full_stack/next_deploy/icehouse/collect-next-precise'
1980=== target is u'../../../../helper/collect/collect-next-precise'
1981=== added symlink 'specs/full_stack/next_deploy/icehouse/collect-next-trusty'
1982=== target is u'../../../../helper/collect/collect-next'
1983=== modified file 'specs/full_stack/next_deploy/icehouse/manifest'
1984--- specs/full_stack/next_deploy/icehouse/manifest 2015-02-08 08:31:58 +0000
1985+++ specs/full_stack/next_deploy/icehouse/manifest 2015-07-30 14:52:37 +0000
1986@@ -1,5 +1,5 @@
1987 # Collect the charm branches from Launchpad
1988-collect config=collect-next
1989+collect config=collect-next-${MOJO_SERIES}
1990
1991 # Copy the branches to the deployment directory
1992 repo config=repo-next
1993
1994=== removed symlink 'specs/full_stack/next_deploy/juno/collect-next'
1995=== target was u'../../../../helper/collect/collect-next'
1996=== added symlink 'specs/full_stack/next_deploy/juno/collect-next-trusty'
1997=== target is u'../../../../helper/collect/collect-next'
1998=== added symlink 'specs/full_stack/next_deploy/juno/collect-next-utopic'
1999=== target is u'../../../../helper/collect/collect-next'
2000=== modified file 'specs/full_stack/next_deploy/juno/manifest'
2001--- specs/full_stack/next_deploy/juno/manifest 2015-02-08 08:49:02 +0000
2002+++ specs/full_stack/next_deploy/juno/manifest 2015-07-30 14:52:37 +0000
2003@@ -1,5 +1,5 @@
2004 # Collect the charm branches from Launchpad
2005-collect config=collect-next
2006+collect config=collect-next-${MOJO_SERIES}
2007
2008 # Copy the branches to the deployment directory
2009 repo config=repo-next
2010
2011=== removed symlink 'specs/full_stack/next_deploy/kilo/collect-next'
2012=== target was u'../../../../helper/collect/collect-next'
2013=== added symlink 'specs/full_stack/next_deploy/kilo/collect-next-trusty'
2014=== target is u'../../../../helper/collect/collect-next'
2015=== added symlink 'specs/full_stack/next_deploy/kilo/collect-next-vivid'
2016=== target is u'../../../../helper/collect/collect-next'
2017=== modified file 'specs/full_stack/next_deploy/kilo/manifest'
2018--- specs/full_stack/next_deploy/kilo/manifest 2015-02-08 08:49:02 +0000
2019+++ specs/full_stack/next_deploy/kilo/manifest 2015-07-30 14:52:37 +0000
2020@@ -1,5 +1,5 @@
2021 # Collect the charm branches from Launchpad
2022-collect config=collect-next
2023+collect config=collect-next-${MOJO_SERIES}
2024
2025 # Copy the branches to the deployment directory
2026 repo config=repo-next
2027
2028=== added directory 'specs/full_stack/next_deploy/liberty'
2029=== added file 'specs/full_stack/next_deploy/liberty/SPEC_INFO.txt'
2030--- specs/full_stack/next_deploy/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2031+++ specs/full_stack/next_deploy/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2032@@ -0,0 +1,2 @@
2033+This spec performs a non-ha deploy using the next charms and then runs tests
2034+to validate the deployment
2035
2036=== added symlink 'specs/full_stack/next_deploy/liberty/check_juju.py'
2037=== target is u'../../../../helper/tests/check_juju.py'
2038=== added symlink 'specs/full_stack/next_deploy/liberty/collect-next-trusty'
2039=== target is u'../../../../helper/collect/collect-next'
2040=== added symlink 'specs/full_stack/next_deploy/liberty/collect-next-wily'
2041=== target is u'../../../../helper/collect/collect-next'
2042=== added symlink 'specs/full_stack/next_deploy/liberty/full.yaml'
2043=== target is u'../../../../helper/bundles/full.yaml'
2044=== added symlink 'specs/full_stack/next_deploy/liberty/image_setup.py'
2045=== target is u'../../../../helper/setup/image_setup.py'
2046=== added symlink 'specs/full_stack/next_deploy/liberty/images.yaml'
2047=== target is u'../../../../helper/setup/images.yaml'
2048=== added symlink 'specs/full_stack/next_deploy/liberty/keystone_setup.py'
2049=== target is u'../../../../helper/setup/keystone_setup.py'
2050=== added symlink 'specs/full_stack/next_deploy/liberty/keystone_users.yaml'
2051=== target is u'../../../../helper/setup/keystone_users.yaml'
2052=== added file 'specs/full_stack/next_deploy/liberty/manifest'
2053--- specs/full_stack/next_deploy/liberty/manifest 1970-01-01 00:00:00 +0000
2054+++ specs/full_stack/next_deploy/liberty/manifest 2015-07-30 14:52:37 +0000
2055@@ -0,0 +1,23 @@
2056+# Collect the charm branches from Launchpad
2057+collect config=collect-next-${MOJO_SERIES}
2058+
2059+# Copy the branches to the deployment directory
2060+repo config=repo-next
2061+
2062+# Use juju deployer with full.yaml bundle
2063+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-liberty
2064+
2065+# Check juju statuses are green and that hooks have finished
2066+verify config=check_juju.py
2067+
2068+# Create sdn on overcloud
2069+script config=network_setup.py
2070+
2071+# Setup glance images
2072+script config=image_setup.py
2073+
2074+# Setup keystone users
2075+script config=keystone_setup.py
2076+
2077+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
2078+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2079
2080=== added symlink 'specs/full_stack/next_deploy/liberty/network.yaml'
2081=== target is u'../../../../helper/setup/network.yaml'
2082=== added symlink 'specs/full_stack/next_deploy/liberty/network_setup.py'
2083=== target is u'../../../../helper/setup/network_setup.py'
2084=== added symlink 'specs/full_stack/next_deploy/liberty/repo-next'
2085=== target is u'../../../../helper/collect/repo-next'
2086=== added symlink 'specs/full_stack/next_deploy/liberty/simple_os_checks.py'
2087=== target is u'../../../../helper/tests/simple_os_checks.py'
2088=== added symlink 'specs/full_stack/next_deploy/liberty/utils'
2089=== target is u'../../../../helper/utils'
2090=== removed symlink 'specs/full_stack/next_deploy_baremetal/icehouse/collect-next'
2091=== target was u'../../../../helper/collect/collect-next'
2092=== added symlink 'specs/full_stack/next_deploy_baremetal/icehouse/collect-next-precise'
2093=== target is u'../../../../helper/collect/collect-next-precise'
2094=== added symlink 'specs/full_stack/next_deploy_baremetal/icehouse/collect-next-trusty'
2095=== target is u'../../../../helper/collect/collect-next'
2096=== modified file 'specs/full_stack/next_deploy_baremetal/icehouse/manifest'
2097--- specs/full_stack/next_deploy_baremetal/icehouse/manifest 2015-04-22 18:46:43 +0000
2098+++ specs/full_stack/next_deploy_baremetal/icehouse/manifest 2015-07-30 14:52:37 +0000
2099@@ -1,9 +1,13 @@
2100 # Collect the charm branches from Launchpad
2101-collect config=collect-next
2102+collect config=collect-next-${MOJO_SERIES}
2103
2104 # Copy the branches to the deployment directory
2105 repo config=repo-next
2106
2107+# Optionally inject juju/maas tags into bundle if env var is set
2108+# FYI: Env vars are lost if lxc is not False.
2109+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2110+
2111 # Use juju deployer with baremetal7.yaml bundle
2112 deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-icehouse
2113
2114
2115=== added symlink 'specs/full_stack/next_deploy_baremetal/icehouse/scripts'
2116=== target is u'../../../../helper/scripts'
2117=== removed symlink 'specs/full_stack/next_deploy_baremetal/juno/collect-next'
2118=== target was u'../../../../helper/collect/collect-next'
2119=== added symlink 'specs/full_stack/next_deploy_baremetal/juno/collect-next-trusty'
2120=== target is u'../../../../helper/collect/collect-next'
2121=== added symlink 'specs/full_stack/next_deploy_baremetal/juno/collect-next-utopic'
2122=== target is u'../../../../helper/collect/collect-next'
2123=== modified file 'specs/full_stack/next_deploy_baremetal/juno/manifest'
2124--- specs/full_stack/next_deploy_baremetal/juno/manifest 2015-03-26 17:15:16 +0000
2125+++ specs/full_stack/next_deploy_baremetal/juno/manifest 2015-07-30 14:52:37 +0000
2126@@ -1,9 +1,12 @@
2127 # Collect the charm branches from Launchpad
2128-collect config=collect-next
2129+collect config=collect-next-${MOJO_SERIES}
2130
2131 # Copy the branches to the deployment directory
2132 repo config=repo-next
2133
2134+# Optionally inject juju/maas tags into bundle if env var is set
2135+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2136+
2137 # Use juju deployer with baremetal7.yaml bundle
2138 deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-juno
2139
2140
2141=== added symlink 'specs/full_stack/next_deploy_baremetal/juno/scripts'
2142=== target is u'../../../../helper/scripts/'
2143=== removed symlink 'specs/full_stack/next_deploy_baremetal/kilo/collect-next'
2144=== target was u'../../../../helper/collect/collect-next'
2145=== added symlink 'specs/full_stack/next_deploy_baremetal/kilo/collect-next-trusty'
2146=== target is u'../../../../helper/collect/collect-next'
2147=== added symlink 'specs/full_stack/next_deploy_baremetal/kilo/collect-next-vivid'
2148=== target is u'../../../../helper/collect/collect-next'
2149=== modified file 'specs/full_stack/next_deploy_baremetal/kilo/manifest'
2150--- specs/full_stack/next_deploy_baremetal/kilo/manifest 2015-03-26 17:15:16 +0000
2151+++ specs/full_stack/next_deploy_baremetal/kilo/manifest 2015-07-30 14:52:37 +0000
2152@@ -1,9 +1,12 @@
2153 # Collect the charm branches from Launchpad
2154-collect config=collect-next
2155+collect config=collect-next-${MOJO_SERIES}
2156
2157 # Copy the branches to the deployment directory
2158 repo config=repo-next
2159
2160+# Optionally inject juju/maas tags into bundle if env var is set
2161+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2162+
2163 # Use juju deployer with baremetal7.yaml bundle
2164 deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-kilo
2165
2166
2167=== added symlink 'specs/full_stack/next_deploy_baremetal/kilo/scripts'
2168=== target is u'../../../../helper/scripts/'
2169=== added directory 'specs/full_stack/next_deploy_baremetal/liberty'
2170=== added file 'specs/full_stack/next_deploy_baremetal/liberty/SPEC_INFO.txt'
2171--- specs/full_stack/next_deploy_baremetal/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2172+++ specs/full_stack/next_deploy_baremetal/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2173@@ -0,0 +1,4 @@
2174+This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal
2175+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
2176+roughly equivalent to the next/default yamls. As swift is the object store,
2177+ceph-radosgw is not exercised.
2178
2179=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/baremetal7.yaml'
2180=== target is u'../../../../helper/bundles/baremetal7.yaml'
2181=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/check_juju.py'
2182=== target is u'../../../../helper/tests/check_juju.py'
2183=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/collect-next-trusty'
2184=== target is u'../../../../helper/collect/collect-next'
2185=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/collect-next-wily'
2186=== target is u'../../../../helper/collect/collect-next'
2187=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/image_setup.py'
2188=== target is u'../../../../helper/setup/image_setup.py'
2189=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/images.yaml'
2190=== target is u'../../../../helper/setup/images.yaml'
2191=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/keystone_setup.py'
2192=== target is u'../../../../helper/setup/keystone_setup.py'
2193=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/keystone_users.yaml'
2194=== target is u'../../../../helper/setup/keystone_users.yaml'
2195=== added file 'specs/full_stack/next_deploy_baremetal/liberty/manifest'
2196--- specs/full_stack/next_deploy_baremetal/liberty/manifest 1970-01-01 00:00:00 +0000
2197+++ specs/full_stack/next_deploy_baremetal/liberty/manifest 2015-07-30 14:52:37 +0000
2198@@ -0,0 +1,26 @@
2199+# Collect the charm branches from Launchpad
2200+collect config=collect-next-${MOJO_SERIES}
2201+
2202+# Copy the branches to the deployment directory
2203+repo config=repo-next
2204+
2205+# Optionally inject juju/maas tags into bundle if env var is set
2206+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2207+
2208+# Use juju deployer with baremetal7.yaml bundle
2209+deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-liberty
2210+
2211+# Check juju statuses are green and that hooks have finished
2212+verify config=check_juju.py
2213+
2214+# Create sdn on overcloud
2215+script config=network_setup.py
2216+
2217+# Setup glance images
2218+script config=image_setup.py
2219+
2220+# Setup keystone users
2221+script config=keystone_setup.py
2222+
2223+# Create and check instances on the deployed cloud
2224+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2225
2226=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/network.yaml'
2227=== target is u'../../../../helper/setup/network-dellstack.yaml'
2228=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/network_setup.py'
2229=== target is u'../../../../helper/setup/network_setup.py'
2230=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/repo-next'
2231=== target is u'../../../../helper/collect/repo-next'
2232=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/scripts'
2233=== target is u'../../../../helper/scripts/'
2234=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/simple_os_checks.py'
2235=== target is u'../../../../helper/tests/simple_os_checks.py'
2236=== added symlink 'specs/full_stack/next_deploy_baremetal/liberty/utils'
2237=== target is u'../../../../helper/utils'
2238=== removed symlink 'specs/full_stack/next_deploy_ssl/icehouse/collect-next'
2239=== target was u'../../../../helper/collect/collect-next'
2240=== added symlink 'specs/full_stack/next_deploy_ssl/icehouse/collect-next-precise'
2241=== target is u'../../../../helper/collect/collect-next-precise'
2242=== added symlink 'specs/full_stack/next_deploy_ssl/icehouse/collect-next-trusty'
2243=== target is u'../../../../helper/collect/collect-next'
2244=== modified file 'specs/full_stack/next_deploy_ssl/icehouse/manifest'
2245--- specs/full_stack/next_deploy_ssl/icehouse/manifest 2015-02-08 08:31:58 +0000
2246+++ specs/full_stack/next_deploy_ssl/icehouse/manifest 2015-07-30 14:52:37 +0000
2247@@ -1,5 +1,5 @@
2248 # Collect the charm branches from Launchpad
2249-collect config=collect-next
2250+collect config=collect-next-${MOJO_SERIES}
2251
2252 # Copy the branches to the deployment directory
2253 repo config=repo-next
2254
2255=== removed symlink 'specs/full_stack/next_deploy_ssl/juno/collect-next'
2256=== target was u'../../../../helper/collect/collect-next'
2257=== added symlink 'specs/full_stack/next_deploy_ssl/juno/collect-next-trusty'
2258=== target is u'../../../../helper/collect/collect-next'
2259=== added symlink 'specs/full_stack/next_deploy_ssl/juno/collect-next-utopic'
2260=== target is u'../../../../helper/collect/collect-next'
2261=== modified file 'specs/full_stack/next_deploy_ssl/juno/manifest'
2262--- specs/full_stack/next_deploy_ssl/juno/manifest 2015-02-08 08:49:02 +0000
2263+++ specs/full_stack/next_deploy_ssl/juno/manifest 2015-07-30 14:52:37 +0000
2264@@ -1,5 +1,5 @@
2265 # Collect the charm branches from Launchpad
2266-collect config=collect-next
2267+collect config=collect-next-${MOJO_SERIES}
2268
2269 # Copy the branches to the deployment directory
2270 repo config=repo-next
2271
2272=== removed symlink 'specs/full_stack/next_deploy_ssl/kilo/collect-next'
2273=== target was u'../../../../helper/collect/collect-next'
2274=== added symlink 'specs/full_stack/next_deploy_ssl/kilo/collect-next-trusty'
2275=== target is u'../../../../helper/collect/collect-next'
2276=== added symlink 'specs/full_stack/next_deploy_ssl/kilo/collect-next-vivid'
2277=== target is u'../../../../helper/collect/collect-next'
2278=== modified file 'specs/full_stack/next_deploy_ssl/kilo/manifest'
2279--- specs/full_stack/next_deploy_ssl/kilo/manifest 2015-02-08 08:49:02 +0000
2280+++ specs/full_stack/next_deploy_ssl/kilo/manifest 2015-07-30 14:52:37 +0000
2281@@ -1,5 +1,5 @@
2282 # Collect the charm branches from Launchpad
2283-collect config=collect-next
2284+collect config=collect-next-${MOJO_SERIES}
2285
2286 # Copy the branches to the deployment directory
2287 repo config=repo-next
2288
2289=== added directory 'specs/full_stack/next_deploy_ssl/liberty'
2290=== added file 'specs/full_stack/next_deploy_ssl/liberty/SPEC_INFO.txt'
2291--- specs/full_stack/next_deploy_ssl/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2292+++ specs/full_stack/next_deploy_ssl/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2293@@ -0,0 +1,2 @@
2294+This spec performs a non-ha deploy using the next charms wil ssl enabled
2295+and then runs tests to validate the deployment
2296
2297=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/check_juju.py'
2298=== target is u'../../../../helper/tests/check_juju.py'
2299=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/collect-next-trusty'
2300=== target is u'../../../../helper/collect/collect-next'
2301=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/collect-next-wily'
2302=== target is u'../../../../helper/collect/collect-next'
2303=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/full_ssl.yaml'
2304=== target is u'../../../../helper/bundles/full_ssl.yaml'
2305=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/image_setup.py'
2306=== target is u'../../../../helper/setup/image_setup.py'
2307=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/images.yaml'
2308=== target is u'../../../../helper/setup/images.yaml'
2309=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/keystone_setup.py'
2310=== target is u'../../../../helper/setup/keystone_setup.py'
2311=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/keystone_users.yaml'
2312=== target is u'../../../../helper/setup/keystone_users.yaml'
2313=== added file 'specs/full_stack/next_deploy_ssl/liberty/manifest'
2314--- specs/full_stack/next_deploy_ssl/liberty/manifest 1970-01-01 00:00:00 +0000
2315+++ specs/full_stack/next_deploy_ssl/liberty/manifest 2015-07-30 14:52:37 +0000
2316@@ -0,0 +1,23 @@
2317+# Collect the charm branches from Launchpad
2318+collect config=collect-next-${MOJO_SERIES}
2319+
2320+# Copy the branches to the deployment directory
2321+repo config=repo-next
2322+
2323+# Use juju deployer with full.yaml bundle
2324+deploy config=full_ssl.yaml delay=0 target=${MOJO_SERIES}-liberty
2325+
2326+# Check juju statuses are green and that hooks have finished
2327+verify config=check_juju.py
2328+
2329+# Create sdn on overcloud
2330+script config=network_setup.py
2331+
2332+# Setup glance images
2333+script config=image_setup.py
2334+
2335+# Setup keystone users
2336+script config=keystone_setup.py
2337+
2338+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
2339+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2340
2341=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/network.yaml'
2342=== target is u'../../../../helper/setup/network.yaml'
2343=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/network_setup.py'
2344=== target is u'../../../../helper/setup/network_setup.py'
2345=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/repo-next'
2346=== target is u'../../../../helper/collect/repo-next'
2347=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/simple_os_checks.py'
2348=== target is u'../../../../helper/tests/simple_os_checks.py'
2349=== added symlink 'specs/full_stack/next_deploy_ssl/liberty/utils'
2350=== target is u'../../../../helper/utils'
2351=== added directory 'specs/full_stack/stable_deploy'
2352=== added directory 'specs/full_stack/stable_deploy/icehouse'
2353=== added file 'specs/full_stack/stable_deploy/icehouse/SPEC_INFO.txt'
2354--- specs/full_stack/stable_deploy/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2355+++ specs/full_stack/stable_deploy/icehouse/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2356@@ -0,0 +1,2 @@
2357+This spec performs a non-ha deploy using the stable charms and then runs tests
2358+to validate the deployment
2359
2360=== added symlink 'specs/full_stack/stable_deploy/icehouse/check_juju.py'
2361=== target is u'../../../../helper/tests/check_juju.py'
2362=== added symlink 'specs/full_stack/stable_deploy/icehouse/collect-stable-precise'
2363=== target is u'../../../../helper/collect/collect-stable-precise'
2364=== added symlink 'specs/full_stack/stable_deploy/icehouse/collect-stable-trusty'
2365=== target is u'../../../../helper/collect/collect-stable-trusty'
2366=== added symlink 'specs/full_stack/stable_deploy/icehouse/full.yaml'
2367=== target is u'../../../../helper/bundles/full.yaml'
2368=== added symlink 'specs/full_stack/stable_deploy/icehouse/image_setup.py'
2369=== target is u'../../../../helper/setup/image_setup.py'
2370=== added symlink 'specs/full_stack/stable_deploy/icehouse/images.yaml'
2371=== target is u'../../../../helper/setup/images.yaml'
2372=== added symlink 'specs/full_stack/stable_deploy/icehouse/keystone_setup.py'
2373=== target is u'../../../../helper/setup/keystone_setup.py'
2374=== added symlink 'specs/full_stack/stable_deploy/icehouse/keystone_users.yaml'
2375=== target is u'../../../../helper/setup/keystone_users.yaml'
2376=== added file 'specs/full_stack/stable_deploy/icehouse/manifest'
2377--- specs/full_stack/stable_deploy/icehouse/manifest 1970-01-01 00:00:00 +0000
2378+++ specs/full_stack/stable_deploy/icehouse/manifest 2015-07-30 14:52:37 +0000
2379@@ -0,0 +1,23 @@
2380+# Collect the charm branches from Launchpad
2381+collect config=collect-stable-${MOJO_SERIES}
2382+
2383+# Copy the branches to the deployment directory
2384+repo config=repo-stable
2385+
2386+# Use juju deployer with full.yaml bundle
2387+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse
2388+
2389+# Check juju statuses are green and that hooks have finished
2390+verify config=check_juju.py
2391+
2392+# Create sdn on overcloud
2393+script config=network_setup.py
2394+
2395+# Setup glance images
2396+script config=image_setup.py
2397+
2398+# Setup keystone users
2399+script config=keystone_setup.py
2400+
2401+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
2402+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2403
2404=== added symlink 'specs/full_stack/stable_deploy/icehouse/network.yaml'
2405=== target is u'../../../../helper/setup/network.yaml'
2406=== added symlink 'specs/full_stack/stable_deploy/icehouse/network_setup.py'
2407=== target is u'../../../../helper/setup/network_setup.py'
2408=== added symlink 'specs/full_stack/stable_deploy/icehouse/repo-stable'
2409=== target is u'../../../../helper/collect/repo-stable'
2410=== added symlink 'specs/full_stack/stable_deploy/icehouse/simple_os_checks.py'
2411=== target is u'../../../../helper/tests/simple_os_checks.py'
2412=== added symlink 'specs/full_stack/stable_deploy/icehouse/utils'
2413=== target is u'../../../../helper/utils'
2414=== added directory 'specs/full_stack/stable_deploy/juno'
2415=== added file 'specs/full_stack/stable_deploy/juno/SPEC_INFO.txt'
2416--- specs/full_stack/stable_deploy/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2417+++ specs/full_stack/stable_deploy/juno/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2418@@ -0,0 +1,2 @@
2419+This spec performs a non-ha deploy using the stable charms and then runs tests
2420+to validate the deployment
2421
2422=== added symlink 'specs/full_stack/stable_deploy/juno/check_juju.py'
2423=== target is u'../../../../helper/tests/check_juju.py'
2424=== added symlink 'specs/full_stack/stable_deploy/juno/collect-stable-trusty'
2425=== target is u'../../../../helper/collect/collect-stable-trusty'
2426=== added symlink 'specs/full_stack/stable_deploy/juno/collect-stable-utopic'
2427=== target is u'../../../../helper/collect/collect-stable-trusty'
2428=== added symlink 'specs/full_stack/stable_deploy/juno/full.yaml'
2429=== target is u'../../../../helper/bundles/full.yaml'
2430=== added symlink 'specs/full_stack/stable_deploy/juno/image_setup.py'
2431=== target is u'../../../../helper/setup/image_setup.py'
2432=== added symlink 'specs/full_stack/stable_deploy/juno/images.yaml'
2433=== target is u'../../../../helper/setup/images.yaml'
2434=== added symlink 'specs/full_stack/stable_deploy/juno/keystone_setup.py'
2435=== target is u'../../../../helper/setup/keystone_setup.py'
2436=== added symlink 'specs/full_stack/stable_deploy/juno/keystone_users.yaml'
2437=== target is u'../../../../helper/setup/keystone_users.yaml'
2438=== added file 'specs/full_stack/stable_deploy/juno/manifest'
2439--- specs/full_stack/stable_deploy/juno/manifest 1970-01-01 00:00:00 +0000
2440+++ specs/full_stack/stable_deploy/juno/manifest 2015-07-30 14:52:37 +0000
2441@@ -0,0 +1,23 @@
2442+# Collect the charm branches from Launchpad
2443+collect config=collect-stable-${MOJO_SERIES}
2444+
2445+# Copy the branches to the deployment directory
2446+repo config=repo-stable
2447+
2448+# Use juju deployer with full.yaml bundle
2449+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-juno
2450+
2451+# Check juju statuses are green and that hooks have finished
2452+verify config=check_juju.py
2453+
2454+# Create sdn on overcloud
2455+script config=network_setup.py
2456+
2457+# Setup glance images
2458+script config=image_setup.py
2459+
2460+# Setup keystone users
2461+script config=keystone_setup.py
2462+
2463+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
2464+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2465
2466=== added symlink 'specs/full_stack/stable_deploy/juno/network.yaml'
2467=== target is u'../../../../helper/setup/network.yaml'
2468=== added symlink 'specs/full_stack/stable_deploy/juno/network_setup.py'
2469=== target is u'../../../../helper/setup/network_setup.py'
2470=== added symlink 'specs/full_stack/stable_deploy/juno/repo-stable'
2471=== target is u'../../../../helper/collect/repo-stable'
2472=== added symlink 'specs/full_stack/stable_deploy/juno/simple_os_checks.py'
2473=== target is u'../../../../helper/tests/simple_os_checks.py'
2474=== added symlink 'specs/full_stack/stable_deploy/juno/utils'
2475=== target is u'../../../../helper/utils'
2476=== added directory 'specs/full_stack/stable_deploy/kilo'
2477=== added file 'specs/full_stack/stable_deploy/kilo/SPEC_INFO.txt'
2478--- specs/full_stack/stable_deploy/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2479+++ specs/full_stack/stable_deploy/kilo/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2480@@ -0,0 +1,2 @@
2481+This spec performs a non-ha deploy using the stable charms and then runs tests
2482+to validate the deployment
2483
2484=== added symlink 'specs/full_stack/stable_deploy/kilo/check_juju.py'
2485=== target is u'../../../../helper/tests/check_juju.py'
2486=== added symlink 'specs/full_stack/stable_deploy/kilo/collect-stable-trusty'
2487=== target is u'../../../../helper/collect/collect-stable-trusty'
2488=== added symlink 'specs/full_stack/stable_deploy/kilo/collect-stable-vivid'
2489=== target is u'../../../../helper/collect/collect-stable-trusty'
2490=== added symlink 'specs/full_stack/stable_deploy/kilo/full.yaml'
2491=== target is u'../../../../helper/bundles/full.yaml'
2492=== added symlink 'specs/full_stack/stable_deploy/kilo/image_setup.py'
2493=== target is u'../../../../helper/setup/image_setup.py'
2494=== added symlink 'specs/full_stack/stable_deploy/kilo/images.yaml'
2495=== target is u'../../../../helper/setup/images.yaml'
2496=== added symlink 'specs/full_stack/stable_deploy/kilo/keystone_setup.py'
2497=== target is u'../../../../helper/setup/keystone_setup.py'
2498=== added symlink 'specs/full_stack/stable_deploy/kilo/keystone_users.yaml'
2499=== target is u'../../../../helper/setup/keystone_users.yaml'
2500=== added file 'specs/full_stack/stable_deploy/kilo/manifest'
2501--- specs/full_stack/stable_deploy/kilo/manifest 1970-01-01 00:00:00 +0000
2502+++ specs/full_stack/stable_deploy/kilo/manifest 2015-07-30 14:52:37 +0000
2503@@ -0,0 +1,23 @@
2504+# Collect the charm branches from Launchpad
2505+collect config=collect-stable-${MOJO_SERIES}
2506+
2507+# Copy the branches to the deployment directory
2508+repo config=repo-stable
2509+
2510+# Use juju deployer with full.yaml bundle
2511+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-kilo
2512+
2513+# Check juju statuses are green and that hooks have finished
2514+verify config=check_juju.py
2515+
2516+# Create sdn on overcloud
2517+script config=network_setup.py
2518+
2519+# Setup glance images
2520+script config=image_setup.py
2521+
2522+# Setup keystone users
2523+script config=keystone_setup.py
2524+
2525+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
2526+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2527
2528=== added symlink 'specs/full_stack/stable_deploy/kilo/network.yaml'
2529=== target is u'../../../../helper/setup/network.yaml'
2530=== added symlink 'specs/full_stack/stable_deploy/kilo/network_setup.py'
2531=== target is u'../../../../helper/setup/network_setup.py'
2532=== added symlink 'specs/full_stack/stable_deploy/kilo/repo-stable'
2533=== target is u'../../../../helper/collect/repo-stable'
2534=== added symlink 'specs/full_stack/stable_deploy/kilo/simple_os_checks.py'
2535=== target is u'../../../../helper/tests/simple_os_checks.py'
2536=== added symlink 'specs/full_stack/stable_deploy/kilo/utils'
2537=== target is u'../../../../helper/utils'
2538=== added directory 'specs/full_stack/stable_deploy/liberty'
2539=== added file 'specs/full_stack/stable_deploy/liberty/SPEC_INFO.txt'
2540--- specs/full_stack/stable_deploy/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2541+++ specs/full_stack/stable_deploy/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2542@@ -0,0 +1,2 @@
2543+This spec performs a non-ha deploy using the stable charms and then runs tests
2544+to validate the deployment
2545
2546=== added symlink 'specs/full_stack/stable_deploy/liberty/check_juju.py'
2547=== target is u'../../../../helper/tests/check_juju.py'
2548=== added symlink 'specs/full_stack/stable_deploy/liberty/collect-stable-trusty'
2549=== target is u'../../../../helper/collect/collect-stable-trusty'
2550=== added symlink 'specs/full_stack/stable_deploy/liberty/collect-stable-wily'
2551=== target is u'../../../../helper/collect/collect-stable-trusty'
2552=== added symlink 'specs/full_stack/stable_deploy/liberty/full.yaml'
2553=== target is u'../../../../helper/bundles/full.yaml'
2554=== added symlink 'specs/full_stack/stable_deploy/liberty/image_setup.py'
2555=== target is u'../../../../helper/setup/image_setup.py'
2556=== added symlink 'specs/full_stack/stable_deploy/liberty/images.yaml'
2557=== target is u'../../../../helper/setup/images.yaml'
2558=== added symlink 'specs/full_stack/stable_deploy/liberty/keystone_setup.py'
2559=== target is u'../../../../helper/setup/keystone_setup.py'
2560=== added symlink 'specs/full_stack/stable_deploy/liberty/keystone_users.yaml'
2561=== target is u'../../../../helper/setup/keystone_users.yaml'
2562=== added file 'specs/full_stack/stable_deploy/liberty/manifest'
2563--- specs/full_stack/stable_deploy/liberty/manifest 1970-01-01 00:00:00 +0000
2564+++ specs/full_stack/stable_deploy/liberty/manifest 2015-07-30 14:52:37 +0000
2565@@ -0,0 +1,23 @@
2566+# Collect the charm branches from Launchpad
2567+collect config=collect-stable-${MOJO_SERIES}
2568+
2569+# Copy the branches to the deployment directory
2570+repo config=repo-stable
2571+
2572+# Use juju deployer with full.yaml bundle
2573+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-liberty
2574+
2575+# Check juju statuses are green and that hooks have finished
2576+verify config=check_juju.py
2577+
2578+# Create sdn on overcloud
2579+script config=network_setup.py
2580+
2581+# Setup glance images
2582+script config=image_setup.py
2583+
2584+# Setup keystone users
2585+script config=keystone_setup.py
2586+
2587+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
2588+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2589
2590=== added symlink 'specs/full_stack/stable_deploy/liberty/network.yaml'
2591=== target is u'../../../../helper/setup/network.yaml'
2592=== added symlink 'specs/full_stack/stable_deploy/liberty/network_setup.py'
2593=== target is u'../../../../helper/setup/network_setup.py'
2594=== added symlink 'specs/full_stack/stable_deploy/liberty/repo-stable'
2595=== target is u'../../../../helper/collect/repo-stable'
2596=== added symlink 'specs/full_stack/stable_deploy/liberty/simple_os_checks.py'
2597=== target is u'../../../../helper/tests/simple_os_checks.py'
2598=== added symlink 'specs/full_stack/stable_deploy/liberty/utils'
2599=== target is u'../../../../helper/utils'
2600=== added directory 'specs/full_stack/stable_deploy_baremetal'
2601=== added directory 'specs/full_stack/stable_deploy_baremetal/icehouse'
2602=== added file 'specs/full_stack/stable_deploy_baremetal/icehouse/SPEC_INFO.txt'
2603--- specs/full_stack/stable_deploy_baremetal/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2604+++ specs/full_stack/stable_deploy_baremetal/icehouse/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2605@@ -0,0 +1,4 @@
2606+This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal
2607+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
2608+roughly equivalent to the next/default yamls. As swift is the object store,
2609+ceph-radosgw is not exercised.
2610
2611=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/baremetal7.yaml'
2612=== target is u'../../../../helper/bundles/baremetal7.yaml'
2613=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/check_juju.py'
2614=== target is u'../../../../helper/tests/check_juju.py'
2615=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/collect-stable-precise'
2616=== target is u'../../../../helper/collect/collect-stable-precise'
2617=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/collect-stable-trusty'
2618=== target is u'../../../../helper/collect/collect-stable-trusty'
2619=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/image_setup.py'
2620=== target is u'../../../../helper/setup/image_setup.py'
2621=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/images.yaml'
2622=== target is u'../../../../helper/setup/images.yaml'
2623=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/keystone_setup.py'
2624=== target is u'../../../../helper/setup/keystone_setup.py'
2625=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/keystone_users.yaml'
2626=== target is u'../../../../helper/setup/keystone_users.yaml'
2627=== added file 'specs/full_stack/stable_deploy_baremetal/icehouse/manifest'
2628--- specs/full_stack/stable_deploy_baremetal/icehouse/manifest 1970-01-01 00:00:00 +0000
2629+++ specs/full_stack/stable_deploy_baremetal/icehouse/manifest 2015-07-30 14:52:37 +0000
2630@@ -0,0 +1,27 @@
2631+# Collect the charm branches from Launchpad
2632+collect config=collect-stable-${MOJO_SERIES}
2633+
2634+# Copy the branches to the deployment directory
2635+repo config=repo-stable
2636+
2637+# Optionally inject juju/maas tags into bundle if env var is set
2638+# FYI: Env vars are lost if lxc is not False.
2639+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2640+
2641+# Use juju deployer with baremetal7.yaml bundle
2642+deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-icehouse
2643+
2644+# Check juju statuses are green and that hooks have finished
2645+verify config=check_juju.py
2646+
2647+# Create sdn on overcloud
2648+script config=network_setup.py
2649+
2650+# Setup glance images
2651+script config=image_setup.py
2652+
2653+# Setup keystone users
2654+script config=keystone_setup.py
2655+
2656+# Create and check instances on the deployed cloud
2657+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2658
2659=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/network.yaml'
2660=== target is u'../../../../helper/setup/network-dellstack.yaml'
2661=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/network_setup.py'
2662=== target is u'../../../../helper/setup/network_setup.py'
2663=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/repo-stable'
2664=== target is u'../../../../helper/collect/repo-stable'
2665=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/scripts'
2666=== target is u'../../../../helper/scripts'
2667=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/simple_os_checks.py'
2668=== target is u'../../../../helper/tests/simple_os_checks.py'
2669=== added symlink 'specs/full_stack/stable_deploy_baremetal/icehouse/utils'
2670=== target is u'../../../../helper/utils'
2671=== added directory 'specs/full_stack/stable_deploy_baremetal/juno'
2672=== added file 'specs/full_stack/stable_deploy_baremetal/juno/SPEC_INFO.txt'
2673--- specs/full_stack/stable_deploy_baremetal/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2674+++ specs/full_stack/stable_deploy_baremetal/juno/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2675@@ -0,0 +1,4 @@
2676+This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal
2677+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
2678+roughly equivalent to the next/default yamls. As swift is the object store,
2679+ceph-radosgw is not exercised.
2680
2681=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/baremetal7.yaml'
2682=== target is u'../../../../helper/bundles/baremetal7.yaml'
2683=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/check_juju.py'
2684=== target is u'../../../../helper/tests/check_juju.py'
2685=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/collect-stable-trusty'
2686=== target is u'../../../../helper/collect/collect-stable-trusty'
2687=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/collect-stable-utopic'
2688=== target is u'../../../../helper/collect/collect-stable-trusty'
2689=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/image_setup.py'
2690=== target is u'../../../../helper/setup/image_setup.py'
2691=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/images.yaml'
2692=== target is u'../../../../helper/setup/images.yaml'
2693=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/keystone_setup.py'
2694=== target is u'../../../../helper/setup/keystone_setup.py'
2695=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/keystone_users.yaml'
2696=== target is u'../../../../helper/setup/keystone_users.yaml'
2697=== added file 'specs/full_stack/stable_deploy_baremetal/juno/manifest'
2698--- specs/full_stack/stable_deploy_baremetal/juno/manifest 1970-01-01 00:00:00 +0000
2699+++ specs/full_stack/stable_deploy_baremetal/juno/manifest 2015-07-30 14:52:37 +0000
2700@@ -0,0 +1,27 @@
2701+# Collect the charm branches from Launchpad
2702+collect config=collect-stable-${MOJO_SERIES}
2703+
2704+# Copy the branches to the deployment directory
2705+repo config=repo-stable
2706+
2707+# Optionally inject juju/maas tags into bundle if env var is set
2708+# FYI: Env vars are lost if lxc is not False.
2709+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2710+
2711+# Use juju deployer with baremetal7.yaml bundle
2712+deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-juno
2713+
2714+# Check juju statuses are green and that hooks have finished
2715+verify config=check_juju.py
2716+
2717+# Create sdn on overcloud
2718+script config=network_setup.py
2719+
2720+# Setup glance images
2721+script config=image_setup.py
2722+
2723+# Setup keystone users
2724+script config=keystone_setup.py
2725+
2726+# Create and check instances on the deployed cloud
2727+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2728
2729=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/network.yaml'
2730=== target is u'../../../../helper/setup/network-dellstack.yaml'
2731=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/network_setup.py'
2732=== target is u'../../../../helper/setup/network_setup.py'
2733=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/repo-stable'
2734=== target is u'../../../../helper/collect/repo-stable'
2735=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/scripts'
2736=== target is u'../../../../helper/scripts'
2737=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/simple_os_checks.py'
2738=== target is u'../../../../helper/tests/simple_os_checks.py'
2739=== added symlink 'specs/full_stack/stable_deploy_baremetal/juno/utils'
2740=== target is u'../../../../helper/utils'
2741=== added directory 'specs/full_stack/stable_deploy_baremetal/kilo'
2742=== added file 'specs/full_stack/stable_deploy_baremetal/kilo/SPEC_INFO.txt'
2743--- specs/full_stack/stable_deploy_baremetal/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2744+++ specs/full_stack/stable_deploy_baremetal/kilo/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2745@@ -0,0 +1,4 @@
2746+This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
2747+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
2748+roughly equivalent to the next/default yamls. As swift is the object store,
2749+ceph-radosgw is not exercised.
2750
2751=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/baremetal7.yaml'
2752=== target is u'../../../../helper/bundles/baremetal7.yaml'
2753=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/check_juju.py'
2754=== target is u'../../../../helper/tests/check_juju.py'
2755=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/collect-stable-trusty'
2756=== target is u'../../../../helper/collect/collect-stable-trusty'
2757=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/collect-stable-vivid'
2758=== target is u'../../../../helper/collect/collect-stable-trusty'
2759=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/image_setup.py'
2760=== target is u'../../../../helper/setup/image_setup.py'
2761=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/images.yaml'
2762=== target is u'../../../../helper/setup/images.yaml'
2763=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/keystone_setup.py'
2764=== target is u'../../../../helper/setup/keystone_setup.py'
2765=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/keystone_users.yaml'
2766=== target is u'../../../../helper/setup/keystone_users.yaml'
2767=== added file 'specs/full_stack/stable_deploy_baremetal/kilo/manifest'
2768--- specs/full_stack/stable_deploy_baremetal/kilo/manifest 1970-01-01 00:00:00 +0000
2769+++ specs/full_stack/stable_deploy_baremetal/kilo/manifest 2015-07-30 14:52:37 +0000
2770@@ -0,0 +1,27 @@
2771+# Collect the charm branches from Launchpad
2772+collect config=collect-stable-${MOJO_SERIES}
2773+
2774+# Copy the branches to the deployment directory
2775+repo config=repo-stable
2776+
2777+# Optionally inject juju/maas tags into bundle if env var is set
2778+# FYI: Env vars are lost if lxc is not False.
2779+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2780+
2781+# Use juju deployer with baremetal7.yaml bundle
2782+deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-kilo
2783+
2784+# Check juju statuses are green and that hooks have finished
2785+verify config=check_juju.py
2786+
2787+# Create sdn on overcloud
2788+script config=network_setup.py
2789+
2790+# Setup glance images
2791+script config=image_setup.py
2792+
2793+# Setup keystone users
2794+script config=keystone_setup.py
2795+
2796+# Create and check instances on the deployed cloud
2797+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2798
2799=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/network.yaml'
2800=== target is u'../../../../helper/setup/network-dellstack.yaml'
2801=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/network_setup.py'
2802=== target is u'../../../../helper/setup/network_setup.py'
2803=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/repo-stable'
2804=== target is u'../../../../helper/collect/repo-stable'
2805=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/scripts'
2806=== target is u'../../../../helper/scripts'
2807=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/simple_os_checks.py'
2808=== target is u'../../../../helper/tests/simple_os_checks.py'
2809=== added symlink 'specs/full_stack/stable_deploy_baremetal/kilo/utils'
2810=== target is u'../../../../helper/utils'
2811=== added directory 'specs/full_stack/stable_deploy_baremetal/liberty'
2812=== added file 'specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt'
2813--- specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2814+++ specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2815@@ -0,0 +1,4 @@
2816+This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
2817+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
2818+roughly equivalent to the next/default yamls. As swift is the object store,
2819+ceph-radosgw is not exercised.
2820
2821=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/baremetal7.yaml'
2822=== target is u'../../../../helper/bundles/baremetal7.yaml'
2823=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/check_juju.py'
2824=== target is u'../../../../helper/tests/check_juju.py'
2825=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/collect-stable-trusty'
2826=== target is u'../../../../helper/collect/collect-stable-trusty'
2827=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/collect-stable-wily'
2828=== target is u'../../../../helper/collect/collect-stable-trusty'
2829=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/image_setup.py'
2830=== target is u'../../../../helper/setup/image_setup.py'
2831=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/images.yaml'
2832=== target is u'../../../../helper/setup/images.yaml'
2833=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/keystone_setup.py'
2834=== target is u'../../../../helper/setup/keystone_setup.py'
2835=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/keystone_users.yaml'
2836=== target is u'../../../../helper/setup/keystone_users.yaml'
2837=== added file 'specs/full_stack/stable_deploy_baremetal/liberty/manifest'
2838--- specs/full_stack/stable_deploy_baremetal/liberty/manifest 1970-01-01 00:00:00 +0000
2839+++ specs/full_stack/stable_deploy_baremetal/liberty/manifest 2015-07-30 14:52:37 +0000
2840@@ -0,0 +1,27 @@
2841+# Collect the charm branches from Launchpad
2842+collect config=collect-stable-${MOJO_SERIES}
2843+
2844+# Copy the branches to the deployment directory
2845+repo config=repo-stable
2846+
2847+# Optionally inject juju/maas tags into bundle if env var is set
2848+# FYI: Env vars are lost if lxc is not False.
2849+script config=scripts/bundle_constrainer_inject_tags.sh lxc=False
2850+
2851+# Use juju deployer with baremetal7.yaml bundle
2852+deploy config=baremetal7.yaml delay=0 target=${MOJO_SERIES}-liberty
2853+
2854+# Check juju statuses are green and that hooks have finished
2855+verify config=check_juju.py
2856+
2857+# Create sdn on overcloud
2858+script config=network_setup.py
2859+
2860+# Setup glance images
2861+script config=image_setup.py
2862+
2863+# Setup keystone users
2864+script config=keystone_setup.py
2865+
2866+# Create and check instances on the deployed cloud
2867+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
2868
2869=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/network.yaml'
2870=== target is u'../../../../helper/setup/network-dellstack.yaml'
2871=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/network_setup.py'
2872=== target is u'../../../../helper/setup/network_setup.py'
2873=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/repo-stable'
2874=== target is u'../../../../helper/collect/repo-stable'
2875=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/scripts'
2876=== target is u'../../../../helper/scripts'
2877=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/simple_os_checks.py'
2878=== target is u'../../../../helper/tests/simple_os_checks.py'
2879=== added symlink 'specs/full_stack/stable_deploy_baremetal/liberty/utils'
2880=== target is u'../../../../helper/utils'
2881=== removed symlink 'specs/full_stack/stable_to_next/icehouse/collect-next'
2882=== target was u'../../../../helper/collect/collect-next'
2883=== added symlink 'specs/full_stack/stable_to_next/icehouse/collect-next-precise'
2884=== target is u'../../../../helper/collect/collect-next-precise'
2885=== added symlink 'specs/full_stack/stable_to_next/icehouse/collect-next-trusty'
2886=== target is u'../../../../helper/collect/collect-next'
2887=== modified file 'specs/full_stack/stable_to_next/icehouse/manifest'
2888--- specs/full_stack/stable_to_next/icehouse/manifest 2015-02-08 08:31:58 +0000
2889+++ specs/full_stack/stable_to_next/icehouse/manifest 2015-07-30 14:52:37 +0000
2890@@ -26,7 +26,7 @@
2891 script config=wipe_charm_dir.py
2892
2893 # Collect the next (devel) charm branches from Launchpad
2894-collect config=collect-next
2895+collect config=collect-next-${MOJO_SERIES}
2896
2897 # Copy the branches to the deployment directory
2898 repo config=repo-next
2899
2900=== removed symlink 'specs/full_stack/stable_to_next/juno/collect-next'
2901=== target was u'../../../../helper/collect/collect-next'
2902=== added symlink 'specs/full_stack/stable_to_next/juno/collect-next-trusty'
2903=== target is u'../../../../helper/collect/collect-next'
2904=== added symlink 'specs/full_stack/stable_to_next/juno/collect-next-utopic'
2905=== target is u'../../../../helper/collect/collect-next'
2906=== removed symlink 'specs/full_stack/stable_to_next/juno/collect-stable-precise'
2907=== target was u'../../../../helper/collect/collect-stable-precise'
2908=== added symlink 'specs/full_stack/stable_to_next/juno/collect-stable-utopic'
2909=== target is u'../../../../helper/collect/collect-stable-trusty'
2910=== modified file 'specs/full_stack/stable_to_next/juno/manifest'
2911--- specs/full_stack/stable_to_next/juno/manifest 2015-02-08 08:49:02 +0000
2912+++ specs/full_stack/stable_to_next/juno/manifest 2015-07-30 14:52:37 +0000
2913@@ -26,7 +26,7 @@
2914 script config=wipe_charm_dir.py
2915
2916 # Collect the next (devel) charm branches from Launchpad
2917-collect config=collect-next
2918+collect config=collect-next-${MOJO_SERIES}
2919
2920 # Copy the branches to the deployment directory
2921 repo config=repo-next
2922
2923=== removed symlink 'specs/full_stack/stable_to_next/kilo/collect-next'
2924=== target was u'../../../../helper/collect/collect-next'
2925=== added symlink 'specs/full_stack/stable_to_next/kilo/collect-next-trusty'
2926=== target is u'../../../../helper/collect/collect-next'
2927=== added symlink 'specs/full_stack/stable_to_next/kilo/collect-next-vivid'
2928=== target is u'../../../../helper/collect/collect-next'
2929=== removed symlink 'specs/full_stack/stable_to_next/kilo/collect-stable-precise'
2930=== target was u'../../../../helper/collect/collect-stable-precise'
2931=== added symlink 'specs/full_stack/stable_to_next/kilo/collect-stable-vivid'
2932=== target is u'../../../../helper/collect/collect-stable-trusty'
2933=== modified file 'specs/full_stack/stable_to_next/kilo/manifest'
2934--- specs/full_stack/stable_to_next/kilo/manifest 2015-02-08 08:49:02 +0000
2935+++ specs/full_stack/stable_to_next/kilo/manifest 2015-07-30 14:52:37 +0000
2936@@ -26,7 +26,7 @@
2937 script config=wipe_charm_dir.py
2938
2939 # Collect the next (devel) charm branches from Launchpad
2940-collect config=collect-next
2941+collect config=collect-next-${MOJO_SERIES}
2942
2943 # Copy the branches to the deployment directory
2944 repo config=repo-next
2945
2946=== added directory 'specs/full_stack/stable_to_next/liberty'
2947=== added file 'specs/full_stack/stable_to_next/liberty/SPEC_INFO.txt'
2948--- specs/full_stack/stable_to_next/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
2949+++ specs/full_stack/stable_to_next/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
2950@@ -0,0 +1,2 @@
2951+This spec performs a non-ha deploy using the stable charms, then upgrades the
2952+charms to the devel versions and then runs tests to validate the deployment
2953
2954=== added symlink 'specs/full_stack/stable_to_next/liberty/check_juju.py'
2955=== target is u'../../../../helper/tests/check_juju.py'
2956=== added symlink 'specs/full_stack/stable_to_next/liberty/collect-next-trusty'
2957=== target is u'../../../../helper/collect/collect-next'
2958=== added symlink 'specs/full_stack/stable_to_next/liberty/collect-next-wily'
2959=== target is u'../../../../helper/collect/collect-next'
2960=== added symlink 'specs/full_stack/stable_to_next/liberty/collect-stable-trusty'
2961=== target is u'../../../../helper/collect/collect-stable-trusty'
2962=== added symlink 'specs/full_stack/stable_to_next/liberty/collect-stable-wily'
2963=== target is u'../../../../helper/collect/collect-stable-trusty'
2964=== added symlink 'specs/full_stack/stable_to_next/liberty/full.yaml'
2965=== target is u'../../../../helper/bundles/full.yaml'
2966=== added symlink 'specs/full_stack/stable_to_next/liberty/image_setup.py'
2967=== target is u'../../../../helper/setup/image_setup.py'
2968=== added symlink 'specs/full_stack/stable_to_next/liberty/images.yaml'
2969=== target is u'../../../../helper/setup/images.yaml'
2970=== added symlink 'specs/full_stack/stable_to_next/liberty/keystone_setup.py'
2971=== target is u'../../../../helper/setup/keystone_setup.py'
2972=== added symlink 'specs/full_stack/stable_to_next/liberty/keystone_users.yaml'
2973=== target is u'../../../../helper/setup/keystone_users.yaml'
2974=== added file 'specs/full_stack/stable_to_next/liberty/manifest'
2975--- specs/full_stack/stable_to_next/liberty/manifest 1970-01-01 00:00:00 +0000
2976+++ specs/full_stack/stable_to_next/liberty/manifest 2015-07-30 14:52:37 +0000
2977@@ -0,0 +1,41 @@
2978+# Collect the stable charm branches from Launchpad
2979+collect config=collect-stable-${MOJO_SERIES}
2980+
2981+# Copy the branches to the deployment directory
2982+repo config=repo-next
2983+
2984+# Use juju deployer with full.yaml bundle
2985+deploy config=full.yaml delay=0 target=${MOJO_SERIES}-liberty
2986+
2987+# Check juju statuses are green and that hooks have finished
2988+verify config=check_juju.py
2989+
2990+# Create sdn on overcloud
2991+script config=network_setup.py
2992+
2993+# Setup glance images
2994+script config=image_setup.py
2995+
2996+# Setup keystone users
2997+script config=keystone_setup.py
2998+
2999+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
3000+verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300"
3001+
3002+# Remove charms directories
3003+script config=wipe_charm_dir.py
3004+
3005+# Collect the next (devel) charm branches from Launchpad
3006+collect config=collect-next-${MOJO_SERIES}
3007+
3008+# Copy the branches to the deployment directory
3009+repo config=repo-next
3010+
3011+# Run upgrade-charm on all services
3012+script config=upgrade_all_services.py
3013+
3014+# Check juju statuses are green and that hooks have finished
3015+verify config=check_juju.py
3016+
3017+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
3018+verify config=simple_os_checks.py MACHINES='cirros:m1.small:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
3019
3020=== added symlink 'specs/full_stack/stable_to_next/liberty/network.yaml'
3021=== target is u'../../../../helper/setup/network.yaml'
3022=== added symlink 'specs/full_stack/stable_to_next/liberty/network_setup.py'
3023=== target is u'../../../../helper/setup/network_setup.py'
3024=== added symlink 'specs/full_stack/stable_to_next/liberty/repo-next'
3025=== target is u'../../../../helper/collect/repo-next'
3026=== added symlink 'specs/full_stack/stable_to_next/liberty/simple_os_checks.py'
3027=== target is u'../../../../helper/tests/simple_os_checks.py'
3028=== added symlink 'specs/full_stack/stable_to_next/liberty/upgrade_all_services.py'
3029=== target is u'../../../../helper/setup/upgrade_all_services.py'
3030=== added symlink 'specs/full_stack/stable_to_next/liberty/utils'
3031=== target is u'../../../../helper/utils'
3032=== added symlink 'specs/full_stack/stable_to_next/liberty/wipe_charm_dir.py'
3033=== target is u'../../../../helper/setup/wipe_charm_dir.py'
3034=== removed symlink 'specs/full_stack/stable_to_next_ha/juno/collect-next-ha'
3035=== target was u'../../../../helper/collect/collect-next-ha'
3036=== added symlink 'specs/full_stack/stable_to_next_ha/juno/collect-next-ha-trusty'
3037=== target is u'../../../../helper/collect/collect-next-ha'
3038=== added symlink 'specs/full_stack/stable_to_next_ha/juno/collect-next-ha-utopic'
3039=== target is u'../../../../helper/collect/collect-next-ha'
3040=== removed symlink 'specs/full_stack/stable_to_next_ha/juno/collect-stable-ha-precise'
3041=== target was u'../../../../helper/collect/collect-stable-ha-precise'
3042=== added symlink 'specs/full_stack/stable_to_next_ha/juno/collect-stable-ha-utopic'
3043=== target is u'../../../../helper/collect/collect-stable-ha-trusty'
3044=== modified file 'specs/full_stack/stable_to_next_ha/juno/manifest'
3045--- specs/full_stack/stable_to_next_ha/juno/manifest 2015-04-20 09:35:09 +0000
3046+++ specs/full_stack/stable_to_next_ha/juno/manifest 2015-07-30 14:52:37 +0000
3047@@ -38,7 +38,7 @@
3048 script config=wipe_charm_dir.py
3049
3050 # Collect the next (devel) charm branches from Launchpad
3051-collect config=collect-next-ha
3052+collect config=collect-next-ha-${MOJO_SERIES}
3053
3054 # Copy the branches to the deployment directory
3055 repo config=repo-next-ha
3056
3057=== removed symlink 'specs/full_stack/stable_to_next_ha/kilo/collect-next-ha'
3058=== target was u'../../../../helper/collect/collect-next-ha'
3059=== added symlink 'specs/full_stack/stable_to_next_ha/kilo/collect-next-ha-trusty'
3060=== target is u'../../../../helper/collect/collect-next-ha'
3061=== added symlink 'specs/full_stack/stable_to_next_ha/kilo/collect-next-ha-vivid'
3062=== target is u'../../../../helper/collect/collect-next-ha'
3063=== removed symlink 'specs/full_stack/stable_to_next_ha/kilo/collect-stable-ha-precise'
3064=== target was u'../../../../helper/collect/collect-stable-ha-precise'
3065=== added symlink 'specs/full_stack/stable_to_next_ha/kilo/collect-stable-ha-vivid'
3066=== target is u'../../../../helper/collect/collect-stable-ha-trusty'
3067=== modified file 'specs/full_stack/stable_to_next_ha/kilo/manifest'
3068--- specs/full_stack/stable_to_next_ha/kilo/manifest 2015-04-20 09:35:09 +0000
3069+++ specs/full_stack/stable_to_next_ha/kilo/manifest 2015-07-30 14:52:37 +0000
3070@@ -38,7 +38,7 @@
3071 script config=wipe_charm_dir.py
3072
3073 # Collect the next (devel) charm branches from Launchpad
3074-collect config=collect-next-ha
3075+collect config=collect-next-ha-${MOJO_SERIES}
3076
3077 # Copy the branches to the deployment directory
3078 repo config=repo-next-ha
3079
3080=== added directory 'specs/full_stack/stable_to_next_ha/liberty'
3081=== added file 'specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt'
3082--- specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
3083+++ specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt 2015-07-30 14:52:37 +0000
3084@@ -0,0 +1,2 @@
3085+This spec performs a phased ha deploy then runs tests to validate the
3086+deployment
3087
3088=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/check_juju.py'
3089=== target is u'../../../../helper/tests/check_juju.py'
3090=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/collect-next-ha-trusty'
3091=== target is u'../../../../helper/collect/collect-next-ha'
3092=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/collect-next-ha-wily'
3093=== target is u'../../../../helper/collect/collect-next-ha'
3094=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/collect-stable-ha-trusty'
3095=== target is u'../../../../helper/collect/collect-stable-ha-trusty'
3096=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/collect-stable-ha-wily'
3097=== target is u'../../../../helper/collect/collect-stable-ha-trusty'
3098=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/haphase1.yaml'
3099=== target is u'../../../../helper/bundles/haphase1.yaml'
3100=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/haphase2.yaml'
3101=== target is u'../../../../helper/bundles/haphase2.yaml'
3102=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/image_setup.py'
3103=== target is u'../../../../helper/setup/image_setup.py'
3104=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/images.yaml'
3105=== target is u'../../../../helper/setup/images.yaml'
3106=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/keystone_setup.py'
3107=== target is u'../../../../helper/setup/keystone_setup.py'
3108=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/keystone_users.yaml'
3109=== target is u'../../../../helper/setup/keystone_users.yaml'
3110=== added file 'specs/full_stack/stable_to_next_ha/liberty/manifest'
3111--- specs/full_stack/stable_to_next_ha/liberty/manifest 1970-01-01 00:00:00 +0000
3112+++ specs/full_stack/stable_to_next_ha/liberty/manifest 2015-07-30 14:52:37 +0000
3113@@ -0,0 +1,56 @@
3114+# Collect the charm branches from Launchpad
3115+collect config=collect-stable-ha-${MOJO_SERIES}
3116+
3117+# Copy the branches to the deployment directory
3118+repo config=repo-next-ha
3119+
3120+# Use juju deployer to create the units for the deployment
3121+deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-liberty
3122+
3123+# Check juju statuses are green and that hooks have finished
3124+verify config=check_juju.py
3125+
3126+# Examine the available networks and set vips for services
3127+script config=set_vips.py
3128+
3129+# Use juju deployer to add the relations for the deployment
3130+deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-liberty
3131+
3132+# Check juju statuses are green and that hooks have finished
3133+verify config=check_juju.py
3134+
3135+# Create sdn on overcloud
3136+script config=network_setup.py
3137+
3138+# Setup glance images
3139+script config=image_setup.py
3140+
3141+# Setup keystone users
3142+script config=keystone_setup.py
3143+
3144+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
3145+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
3146+
3147+# Test obj store by sending and recieving files
3148+verify config=test_obj_store.py
3149+
3150+# Remove charms directories
3151+script config=wipe_charm_dir.py
3152+
3153+# Collect the next (devel) charm branches from Launchpad
3154+collect config=collect-next-ha-${MOJO_SERIES}
3155+
3156+# Copy the branches to the deployment directory
3157+repo config=repo-next-ha
3158+
3159+# Run upgrade-charm on all services
3160+script config=upgrade_all_services.py
3161+
3162+# Check juju statuses are green and that hooks have finished
3163+verify config=check_juju.py
3164+
3165+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
3166+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
3167+
3168+# Test obj store by sending and recieving files
3169+verify config=test_obj_store.py
3170
3171=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/network.yaml'
3172=== target is u'../../../../helper/setup/network.yaml'
3173=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/network_setup.py'
3174=== target is u'../../../../helper/setup/network_setup.py'
3175=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/repo-next-ha'
3176=== target is u'../../../../helper/collect/repo-next-ha'
3177=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/set_vips.py'
3178=== target is u'../../../../helper/setup/set_vips.py'
3179=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/simple_os_checks.py'
3180=== target is u'../../../../helper/tests/simple_os_checks.py'
3181=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/test_obj_store.py'
3182=== target is u'../../../../helper/tests/test_obj_store.py'
3183=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/upgrade_all_services.py'
3184=== target is u'../../../../helper/setup/upgrade_all_services.py'
3185=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/utils'
3186=== target is u'../../../../helper/utils'
3187=== added symlink 'specs/full_stack/stable_to_next_ha/liberty/wipe_charm_dir.py'
3188=== target is u'../../../../helper/setup/wipe_charm_dir.py'

Subscribers

People subscribed via source and target branches