Merge lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-ha into lp:openstack-mojo-specs

Proposed by Liam Young
Status: Merged
Merged at revision: 224
Proposed branch: lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-ha
Merge into: lp:openstack-mojo-specs
Diff against target: 1578 lines (+1004/-220)
21 files modified
SPEC_SUMMARY.txt (+212/-197)
helper/bundles/ha.yaml (+522/-0)
helper/collect/collect-next-ha (+4/-2)
helper/collect/collect-stable-ha-trusty (+7/-5)
helper/collect/collect-stable-precise (+0/-1)
helper/collect/repo-next-ha (+2/-0)
helper/setup/leader_chaos.py (+108/-0)
helper/setup/upgrade_all_services.py (+6/-1)
helper/utils/mojo_os_utils.py (+14/-0)
helper/utils/mojo_utils.py (+15/-5)
specs/full_stack/ha_oneshot/icehouse/SPEC_INFO.txt (+3/-0)
specs/full_stack/ha_oneshot/icehouse/manifest (+32/-0)
specs/full_stack/ha_oneshot/juno/SPEC_INFO.txt (+3/-0)
specs/full_stack/ha_oneshot/juno/manifest (+32/-0)
specs/full_stack/ha_oneshot/kilo/SPEC_INFO.txt (+3/-0)
specs/full_stack/ha_oneshot/kilo/manifest (+32/-0)
specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt (+1/-1)
specs/full_stack/stable_to_next_ha/icehouse/SPEC_INFO.txt (+2/-2)
specs/full_stack/stable_to_next_ha/juno/SPEC_INFO.txt (+2/-2)
specs/full_stack/stable_to_next_ha/kilo/SPEC_INFO.txt (+2/-2)
specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt (+2/-2)
To merge this branch: bzr merge lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-ha
Reviewer Review Type Date Requested Status
Ryan Beisner Approve
Review via email: mp+266239@code.launchpad.net
To post a comment you must log in.
228. By Liam Young

Uncomment oneshot deployment tests

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7178 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11959944/
Build: http://10.245.162.77:8080/job/charm_lint_check/7178/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7179 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11960092/
Build: http://10.245.162.77:8080/job/charm_lint_check/7179/

229. By Liam Young

Fix ha_oneshot

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7180 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11960254/
Build: http://10.245.162.77:8080/job/charm_lint_check/7180/

230. By Liam Young

Disable auto-vip setting as charms ignore this atm

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7263 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11965623/
Build: http://10.245.162.77:8080/job/charm_lint_check/7263/

231. By Liam Young

Ressurect adding additional interfaces to gateways

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7266 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11965849/
Build: http://10.245.162.77:8080/job/charm_lint_check/7266/

232. By Liam Young

Add ha icehouse oneshot target

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7328 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11971508/
Build: http://10.245.162.77:8080/job/charm_lint_check/7328/

233. By Liam Young

Fix typo in yaml

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7329 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11971606/
Build: http://10.245.162.77:8080/job/charm_lint_check/7329/

234. By Liam Young

Add kilo oneshot support

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7330 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11971814/
Build: http://10.245.162.77:8080/job/charm_lint_check/7330/

235. By Liam Young

Fix mongodb location

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7331 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11972032/
Build: http://10.245.162.77:8080/job/charm_lint_check/7331/

236. By Liam Young

Another nosmart casualty

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7454 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11991694/
Build: http://10.245.162.77:8080/job/charm_lint_check/7454/

237. By Liam Young

Another nosmart casualty

238. By Liam Young

Another nosmart casualty

239. By Liam Young

Added missing lp:charms/trusty/ceph-osd

240. By Liam Young

Fix qg name

241. By Liam Young

Try another gq fix

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7455 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11991807/
Build: http://10.245.162.77:8080/job/charm_lint_check/7455/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7459 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11992047/
Build: http://10.245.162.77:8080/job/charm_lint_check/7459/

242. By Liam Young

Add ceph-osd in

243. By Liam Young

Merged trunk in

244. By Liam Young

Fix precise quantum gw

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7484 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11993645/
Build: http://10.245.162.77:8080/job/charm_lint_check/7484/

245. By Liam Young

Add missing ntp

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7514 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11998175/
Build: http://10.245.162.77:8080/job/charm_lint_check/7514/

246. By Liam Young

Updated ha stable collect

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7516 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11998374/
Build: http://10.245.162.77:8080/job/charm_lint_check/7516/

247. By Liam Young

Restore hacluster location

248. By Liam Young

Add ntp

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7517 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11998731/
Build: http://10.245.162.77:8080/job/charm_lint_check/7517/

249. By Liam Young

Add ceph-osd

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7518 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11998841/
Build: http://10.245.162.77:8080/job/charm_lint_check/7518/

250. By Liam Young

Add ntp

251. By Liam Young

Add ceph-osd

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7519 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/11999466/
Build: http://10.245.162.77:8080/job/charm_lint_check/7519/

252. By Liam Young

Try adding delay to avoid servestack timeouts

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7521 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/12000057/
Build: http://10.245.162.77:8080/job/charm_lint_check/7521/

253. By Liam Young

Remove deploy delay

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7547 mojo-openstack-specs for gnuoy mp266239
    LINT FAIL: lint-test failed

LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.

Full lint test output: http://paste.ubuntu.com/12000787/
Build: http://10.245.162.77:8080/job/charm_lint_check/7547/

254. By Liam Young

Merged trunk in

255. By Liam Young

Lint and spec summary fixes

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #7576 mojo-openstack-specs for gnuoy mp266239
    LINT OK: passed

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

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Thanks for this work! Let's land this, then I'll rebase the branch that uosci is consuming.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'SPEC_SUMMARY.txt'
2--- SPEC_SUMMARY.txt 2015-07-21 04:32:11 +0000
3+++ SPEC_SUMMARY.txt 2015-08-05 09:14:07 +0000
4@@ -1,105 +1,67 @@
5-./specs/dev/vxlan/
6-This spec deploys and tests a deployment with neutron DVR enabled
7-
8-./specs/dev/dvr/
9-This spec deploys and tests a deployment with neutron DVR enabled
10-
11-./specs/object_storage/swift_proxy/ha_parallel_scaleout/icehouse/
12-This spec deploys a swift cluster fronted by multiple swift proxy front ends.
13-Swift proxy and swift storage are then simultaniously scaled out and the
14-resulting object store retested. WARNING: Scaling swift-proxy and
15-swift-storage is simultaiously is currently not supported so this spec is
16-known to fail
17-
18-./specs/object_storage/swift_proxy/ha_serial_scaleout/icehouse/
19-This spec deploys a swift cluster fronted by multiple swift proxy front ends.
20-Swift proxy is then scaled out and once that has completed swift storage is
21-scaled out. The resulting object store is then retested.
22-
23-./specs/object_storage/swift_proxy/ha_serial_scaleout/juno/
24-This spec deploys a swift cluster fronted by multiple swift proxy front ends.
25-Swift proxy is then scaled out and once that has completed swift storage is
26-scaled out. The resulting object store is then retested.
27-
28-./specs/object_storage/swift_proxy/ha_serial_scaleout/kilo/
29-This spec deploys a swift cluster fronted by multiple swift proxy front ends.
30-Swift proxy is then scaled out and once that has completed swift storage is
31-scaled out. The resulting object store is then retested.
32-
33-./specs/object_storage/swift_proxy/simple_nonha/icehouse/
34-This spec deploys a swift cluster fronted by a single swift proxy. The
35-resulting object store is then tested.
36-
37-./specs/object_storage/swift_proxy/simple_nonha/juno/
38-This spec deploys a swift cluster fronted by a single swift proxy. The
39-resulting object store is then tested.
40-
41-./specs/object_storage/swift_proxy/simple_nonha/kilo/
42-This spec deploys a swift cluster fronted by a single swift proxy. The
43-resulting object store is then tested.
44-
45-./specs/object_storage/ceph_radosgw/simple_nonha/icehouse/
46-This spec deploys a ceph cluster fronted by a single ceph rados gateway node.
47-The cluster is then tested with mulitple object store gets and retrivals.
48-Glance integeration is also tested.
49-
50-./specs/object_storage/ceph_radosgw/simple_nonha/juno/
51-This spec deploys a ceph cluster fronted by a single ceph rados gateway node.
52-The cluster is then tested with mulitple object store gets and retrivals.
53-Glance integeration is also tested.
54-
55-./specs/object_storage/ceph_radosgw/simple_nonha/kilo/
56-This spec deploys a ceph cluster fronted by a single ceph rados gateway node.
57-The cluster is then tested with mulitple object store gets and retrivals.
58-Glance integeration is also tested.
59-
60-./specs/object_storage/ceph_radosgw/ha/icehouse/
61-This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes.
62-The rados gw leader is removed and additional units added. With tests run
63-after each change
64-
65-./specs/object_storage/ceph_radosgw/ha/juno/
66-This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes.
67-The rados gw leader is removed and additional units added. With tests run
68-after each change
69-
70-./specs/object_storage/ceph_radosgw/ha/kilo/
71-This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes.
72-The rados gw leader is removed and additional units added. With tests run
73-after each change
74-
75-./specs/full_stack/next_deploy_baremetal/icehouse/
76+./specs/full_stack/stable_deploy/juno/
77+This spec performs a non-ha deploy using the stable charms and then runs tests
78+to validate the deployment
79+
80+./specs/full_stack/stable_deploy/icehouse/
81+This spec performs a non-ha deploy using the stable charms and then runs tests
82+to validate the deployment
83+
84+./specs/full_stack/stable_deploy/kilo/
85+This spec performs a non-ha deploy using the stable charms and then runs tests
86+to validate the deployment
87+
88+./specs/full_stack/stable_deploy/liberty/
89+This spec performs a non-ha deploy using the stable charms and then runs tests
90+to validate the deployment
91+
92+./specs/full_stack/stable_deploy_baremetal/juno/
93+This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal
94+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
95+roughly equivalent to the next/default yamls. As swift is the object store,
96+ceph-radosgw is not exercised.
97+
98+./specs/full_stack/stable_deploy_baremetal/icehouse/
99 This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal
100 with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
101 roughly equivalent to the next/default yamls. As swift is the object store,
102 ceph-radosgw is not exercised.
103
104-./specs/full_stack/next_deploy_baremetal/juno/
105-This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal
106-with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
107-roughly equivalent to the next/default yamls. As swift is the object store,
108-ceph-radosgw is not exercised.
109-
110-./specs/full_stack/next_deploy_baremetal/kilo/
111+./specs/full_stack/stable_deploy_baremetal/kilo/
112 This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
113 with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
114 roughly equivalent to the next/default yamls. As swift is the object store,
115 ceph-radosgw is not exercised.
116
117-./specs/full_stack/next_deploy_baremetal/liberty/
118+./specs/full_stack/stable_deploy_baremetal/liberty/
119 This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal
120 with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
121 roughly equivalent to the next/default yamls. As swift is the object store,
122 ceph-radosgw is not exercised.
123
124+./specs/full_stack/stable_to_next_ha/juno/
125+This spec performs a phased ha deploy using the stable charms then upgrades
126+charms to the next branches then runs tests to validate the deployment
127+
128+./specs/full_stack/stable_to_next_ha/icehouse/
129+This spec performs a phased ha deploy using the stable charms then upgrades
130+charms to the next branches then runs tests to validate the deployment
131+
132+./specs/full_stack/stable_to_next_ha/kilo/
133+This spec performs a phased ha deploy using the stable charms then upgrades
134+charms to the next branches then runs tests to validate the deployment
135+
136+./specs/full_stack/stable_to_next_ha/liberty/
137+This spec performs a phased ha deploy using the stable charms then upgrades
138+charms to the next branches then runs tests to validate the deployment
139+
140+./specs/full_stack/next_deploy/juno/
141+This spec performs a non-ha deploy using the next charms and then runs tests
142+to validate the deployment
143+
144 ./specs/full_stack/next_deploy/icehouse/
145 This spec performs a non-ha deploy using the next charms and then runs tests
146 to validate the deployment
147
148-./specs/full_stack/next_deploy/juno/
149-This spec performs a non-ha deploy using the next charms and then runs tests
150-to validate the deployment
151-
152 ./specs/full_stack/next_deploy/kilo/
153 This spec performs a non-ha deploy using the next charms and then runs tests
154 to validate the deployment
155@@ -108,70 +70,30 @@
156 This spec performs a non-ha deploy using the next charms and then runs tests
157 to validate the deployment
158
159-./specs/full_stack/ha_phased/icehouse/
160-This spec performs a phased ha deploy then runs tests to validate the
161-deployment
162-
163-./specs/full_stack/ha_phased/juno/
164-This spec performs a phased ha deploy then runs tests to validate the
165-deployment
166-
167-./specs/full_stack/ha_phased/kilo/
168-This spec performs a phased ha deploy then runs tests to validate the
169-deployment
170-
171-./specs/full_stack/ha_phased/liberty/
172-This spec performs a phased ha deploy then runs tests to validate the
173-deployment
174-
175-./specs/full_stack/ha_phased_chaos_pony/icehouse/
176-This spec performs a phased ha deploy then runs tests to validate the
177-deployment. iThen chaos pony is used to add and remove units.
178-
179-./specs/full_stack/ha_phased_chaos_pony/juno/
180-This spec performs a phased ha deploy then runs tests to validate the
181-deployment. iThen chaos pony is used to add and remove units.
182-
183-./specs/full_stack/ha_phased_chaos_pony/kilo/
184-This spec performs a phased ha deploy then runs tests to validate the
185-deployment. iThen chaos pony is used to add and remove units.
186-
187-./specs/full_stack/ha_phased_chaos_pony/liberty/
188-This spec performs a phased ha deploy then runs tests to validate the
189-deployment. iThen chaos pony is used to add and remove units.
190-
191-./specs/full_stack/stable_deploy_baremetal/icehouse/
192-This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal
193-with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
194-roughly equivalent to the next/default yamls. As swift is the object store,
195-ceph-radosgw is not exercised.
196-
197-./specs/full_stack/stable_deploy_baremetal/juno/
198-This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal
199-with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
200-roughly equivalent to the next/default yamls. As swift is the object store,
201-ceph-radosgw is not exercised.
202-
203-./specs/full_stack/stable_deploy_baremetal/kilo/
204-This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
205-with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
206-roughly equivalent to the next/default yamls. As swift is the object store,
207-ceph-radosgw is not exercised.
208-
209-./specs/full_stack/stable_deploy_baremetal/liberty/
210-This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
211-with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
212-roughly equivalent to the next/default yamls. As swift is the object store,
213-ceph-radosgw is not exercised.
214+./specs/full_stack/charmhelper_upgrade_ha/juno/
215+This spec collects the charms and then upgrades charmhelpers in each charm
216+before running a ha deployment and testing the resulting cloud
217+
218+./specs/full_stack/charmhelper_upgrade_ha/icehouse/
219+This spec collects the charms and then upgrades charmhelpers in each charm
220+before running a ha deployment and testing the resulting cloud
221+
222+./specs/full_stack/charmhelper_upgrade_ha/kilo/
223+This spec collects the charms and then upgrades charmhelpers in each charm
224+before running a ha deployment and testing the resulting cloud
225+
226+./specs/full_stack/charmhelper_upgrade_ha/liberty/
227+This spec collects the charms and then upgrades charmhelpers in each charm
228+before running a ha deployment and testing the resulting cloud
229+
230+./specs/full_stack/next_deploy_ssl/juno/
231+This spec performs a non-ha deploy using the next charms wil ssl enabled
232+and then runs tests to validate the deployment
233
234 ./specs/full_stack/next_deploy_ssl/icehouse/
235 This spec performs a non-ha deploy using the next charms wil ssl enabled
236 and then runs tests to validate the deployment
237
238-./specs/full_stack/next_deploy_ssl/juno/
239-This spec performs a non-ha deploy using the next charms wil ssl enabled
240-and then runs tests to validate the deployment
241-
242 ./specs/full_stack/next_deploy_ssl/kilo/
243 This spec performs a non-ha deploy using the next charms wil ssl enabled
244 and then runs tests to validate the deployment
245@@ -180,14 +102,14 @@
246 This spec performs a non-ha deploy using the next charms wil ssl enabled
247 and then runs tests to validate the deployment
248
249+./specs/full_stack/charmhelper_upgrade/juno/
250+This spec collects the charms and then upgrades charmhelpers in each charm
251+before running a non-ha deployment and testing the resulting cloud
252+
253 ./specs/full_stack/charmhelper_upgrade/icehouse/
254 This spec collects the charms and then upgrades charmhelpers in each charm
255 before running a non-ha deployment and testing the resulting cloud
256
257-./specs/full_stack/charmhelper_upgrade/juno/
258-This spec collects the charms and then upgrades charmhelpers in each charm
259-before running a non-ha deployment and testing the resulting cloud
260-
261 ./specs/full_stack/charmhelper_upgrade/kilo/
262 This spec collects the charms and then upgrades charmhelpers in each charm
263 before running a non-ha deployment and testing the resulting cloud
264@@ -196,14 +118,85 @@
265 This spec collects the charms and then upgrades charmhelpers in each charm
266 before running a non-ha deployment and testing the resulting cloud
267
268+./specs/full_stack/ha_oneshot/juno/
269+This spec performs a ha deploy in one shot (not phased) then runs tests to
270+validate the deployment. The assumption is that the version of juju has
271+leadership enabled.
272+
273+./specs/full_stack/ha_oneshot/icehouse/
274+This spec performs a ha deploy in one shot (not phased) then runs tests to
275+validate the deployment. The assumption is that the version of juju has
276+leadership enabled.
277+
278+./specs/full_stack/ha_oneshot/kilo/
279+This spec performs a ha deploy in one shot (not phased) then runs tests to
280+validate the deployment. The assumption is that the version of juju has
281+leadership enabled.
282+
283+./specs/full_stack/ha_phased_chaos_pony/juno/
284+This spec performs a phased ha deploy then runs tests to validate the
285+deployment. iThen chaos pony is used to add and remove units.
286+
287+./specs/full_stack/ha_phased_chaos_pony/icehouse/
288+This spec performs a phased ha deploy then runs tests to validate the
289+deployment. iThen chaos pony is used to add and remove units.
290+
291+./specs/full_stack/ha_phased_chaos_pony/kilo/
292+This spec performs a phased ha deploy then runs tests to validate the
293+deployment. iThen chaos pony is used to add and remove units.
294+
295+./specs/full_stack/ha_phased_chaos_pony/liberty/
296+This spec performs a phased ha deploy then runs tests to validate the
297+deployment. iThen chaos pony is used to add and remove units.
298+
299+./specs/full_stack/next_deploy_baremetal/juno/
300+This JUNO spec deploys a non-ha 7-machine bundle, intended for bare metal
301+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
302+roughly equivalent to the next/default yamls. As swift is the object store,
303+ceph-radosgw is not exercised.
304+
305+./specs/full_stack/next_deploy_baremetal/icehouse/
306+This ICEHOUSE spec deploys a non-ha 7-machine bundle, intended for bare metal
307+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
308+roughly equivalent to the next/default yamls. As swift is the object store,
309+ceph-radosgw is not exercised.
310+
311+./specs/full_stack/next_deploy_baremetal/kilo/
312+This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
313+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
314+roughly equivalent to the next/default yamls. As swift is the object store,
315+ceph-radosgw is not exercised.
316+
317+./specs/full_stack/next_deploy_baremetal/liberty/
318+This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal
319+with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
320+roughly equivalent to the next/default yamls. As swift is the object store,
321+ceph-radosgw is not exercised.
322+
323+./specs/full_stack/ha_phased/juno/
324+This spec performs a phased ha deploy then runs tests to validate the
325+deployment
326+
327+./specs/full_stack/ha_phased/icehouse/
328+This spec performs a phased ha deploy then runs tests to validate the
329+deployment
330+
331+./specs/full_stack/ha_phased/kilo/
332+This spec performs a phased ha deploy then runs tests to validate the
333+deployment
334+
335+./specs/full_stack/ha_phased/liberty/
336+This spec performs a phased ha deploy then runs tests to validate the
337+deployment
338+
339+./specs/full_stack/stable_to_next/juno/
340+This spec performs a non-ha deploy using the stable charms, then upgrades the
341+charms to the devel versions and then runs tests to validate the deployment
342+
343 ./specs/full_stack/stable_to_next/icehouse/
344 This spec performs a non-ha deploy using the stable charms, then upgrades the
345 charms to the devel versions and then runs tests to validate the deployment
346
347-./specs/full_stack/stable_to_next/juno/
348-This spec performs a non-ha deploy using the stable charms, then upgrades the
349-charms to the devel versions and then runs tests to validate the deployment
350-
351 ./specs/full_stack/stable_to_next/kilo/
352 This spec performs a non-ha deploy using the stable charms, then upgrades the
353 charms to the devel versions and then runs tests to validate the deployment
354@@ -212,51 +205,73 @@
355 This spec performs a non-ha deploy using the stable charms, then upgrades the
356 charms to the devel versions and then runs tests to validate the deployment
357
358-./specs/full_stack/stable_deploy/icehouse/
359-This spec performs a non-ha deploy using the stable charms and then runs tests
360-to validate the deployment
361-
362-./specs/full_stack/stable_deploy/juno/
363-This spec performs a non-ha deploy using the stable charms and then runs tests
364-to validate the deployment
365-
366-./specs/full_stack/stable_deploy/kilo/
367-This spec performs a non-ha deploy using the stable charms and then runs tests
368-to validate the deployment
369-
370-./specs/full_stack/stable_deploy/liberty/
371-This spec performs a non-ha deploy using the stable charms and then runs tests
372-to validate the deployment
373-
374-./specs/full_stack/charmhelper_upgrade_ha/icehouse/
375-This spec collects the charms and then upgrades charmhelpers in each charm
376-before running a ha deployment and testing the resulting cloud
377-
378-./specs/full_stack/charmhelper_upgrade_ha/juno/
379-This spec collects the charms and then upgrades charmhelpers in each charm
380-before running a ha deployment and testing the resulting cloud
381-
382-./specs/full_stack/charmhelper_upgrade_ha/kilo/
383-This spec collects the charms and then upgrades charmhelpers in each charm
384-before running a ha deployment and testing the resulting cloud
385-
386-./specs/full_stack/charmhelper_upgrade_ha/liberty/
387-This spec collects the charms and then upgrades charmhelpers in each charm
388-before running a ha deployment and testing the resulting cloud
389-
390-./specs/full_stack/stable_to_next_ha/icehouse/
391-This spec performs a phased ha deploy then runs tests to validate the
392-deployment
393-
394-./specs/full_stack/stable_to_next_ha/juno/
395-This spec performs a phased ha deploy then runs tests to validate the
396-deployment
397-
398-./specs/full_stack/stable_to_next_ha/kilo/
399-This spec performs a phased ha deploy then runs tests to validate the
400-deployment
401-
402-./specs/full_stack/stable_to_next_ha/liberty/
403-This spec performs a phased ha deploy then runs tests to validate the
404-deployment
405+./specs/object_storage/swift_proxy/simple_nonha/juno/
406+This spec deploys a swift cluster fronted by a single swift proxy. The
407+resulting object store is then tested.
408+
409+./specs/object_storage/swift_proxy/simple_nonha/icehouse/
410+This spec deploys a swift cluster fronted by a single swift proxy. The
411+resulting object store is then tested.
412+
413+./specs/object_storage/swift_proxy/simple_nonha/kilo/
414+This spec deploys a swift cluster fronted by a single swift proxy. The
415+resulting object store is then tested.
416+
417+./specs/object_storage/swift_proxy/ha_parallel_scaleout/icehouse/
418+This spec deploys a swift cluster fronted by multiple swift proxy front ends.
419+Swift proxy and swift storage are then simultaniously scaled out and the
420+resulting object store retested. WARNING: Scaling swift-proxy and
421+swift-storage is simultaiously is currently not supported so this spec is
422+known to fail
423+
424+./specs/object_storage/swift_proxy/ha_serial_scaleout/juno/
425+This spec deploys a swift cluster fronted by multiple swift proxy front ends.
426+Swift proxy is then scaled out and once that has completed swift storage is
427+scaled out. The resulting object store is then retested.
428+
429+./specs/object_storage/swift_proxy/ha_serial_scaleout/icehouse/
430+This spec deploys a swift cluster fronted by multiple swift proxy front ends.
431+Swift proxy is then scaled out and once that has completed swift storage is
432+scaled out. The resulting object store is then retested.
433+
434+./specs/object_storage/swift_proxy/ha_serial_scaleout/kilo/
435+This spec deploys a swift cluster fronted by multiple swift proxy front ends.
436+Swift proxy is then scaled out and once that has completed swift storage is
437+scaled out. The resulting object store is then retested.
438+
439+./specs/object_storage/ceph_radosgw/simple_nonha/juno/
440+This spec deploys a ceph cluster fronted by a single ceph rados gateway node.
441+The cluster is then tested with mulitple object store gets and retrivals.
442+Glance integeration is also tested.
443+
444+./specs/object_storage/ceph_radosgw/simple_nonha/icehouse/
445+This spec deploys a ceph cluster fronted by a single ceph rados gateway node.
446+The cluster is then tested with mulitple object store gets and retrivals.
447+Glance integeration is also tested.
448+
449+./specs/object_storage/ceph_radosgw/simple_nonha/kilo/
450+This spec deploys a ceph cluster fronted by a single ceph rados gateway node.
451+The cluster is then tested with mulitple object store gets and retrivals.
452+Glance integeration is also tested.
453+
454+./specs/object_storage/ceph_radosgw/ha/juno/
455+This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes.
456+The rados gw leader is removed and additional units added. With tests run
457+after each change
458+
459+./specs/object_storage/ceph_radosgw/ha/icehouse/
460+This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes.
461+The rados gw leader is removed and additional units added. With tests run
462+after each change
463+
464+./specs/object_storage/ceph_radosgw/ha/kilo/
465+This spec deploys a ceph cluster fronted by multiple ceph rados gateway nodes.
466+The rados gw leader is removed and additional units added. With tests run
467+after each change
468+
469+./specs/dev/dvr/
470+This spec deploys and tests a deployment with neutron DVR enabled
471+
472+./specs/dev/vxlan/
473+This spec deploys and tests a deployment with neutron DVR enabled
474
475
476=== added file 'helper/bundles/ha.yaml'
477--- helper/bundles/ha.yaml 1970-01-01 00:00:00 +0000
478+++ helper/bundles/ha.yaml 2015-08-05 09:14:07 +0000
479@@ -0,0 +1,522 @@
480+# vim: set ts=2 et:
481+# deployer bundle for development ('next') charms
482+# UOSCI relies on this for OS-on-OS deployment testing
483+openstack-services:
484+ services:
485+ mysql:
486+ charm: percona-cluster
487+ constraints: mem=1G
488+ options:
489+ dataset-size: 50%
490+ sst-password: changeme
491+ root-password: changeme
492+ vip: 10.5.100.1
493+ rabbitmq-server:
494+ charm: rabbitmq-server
495+ constraints: mem=1G
496+ ceph:
497+ charm: ceph
498+ num_units: 3
499+ constraints: mem=1G
500+ options:
501+ monitor-count: 3
502+ fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
503+ monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
504+ osd-devices: /dev/vdb
505+ osd-reformat: "yes"
506+ ephemeral-unmount: /mnt
507+ keystone:
508+ charm: keystone
509+ constraints: mem=1G
510+ options:
511+ admin-password: openstack
512+ admin-token: ubuntutesting
513+ vip: 10.5.100.2
514+ openstack-dashboard:
515+ charm: openstack-dashboard
516+ constraints: mem=1G
517+ options:
518+ vip: 10.5.100.3
519+ nova-compute:
520+ charm: nova-compute
521+ num_units: 3
522+ constraints: mem=4G
523+ options:
524+ enable-live-migration: True
525+ enable-resize: True
526+ nova-cloud-controller:
527+ charm: nova-cloud-controller
528+ constraints: mem=1G
529+ options:
530+ network-manager: Neutron
531+ quantum-security-groups: "yes"
532+ vip: 10.5.100.4
533+ neutron-gateway:
534+ charm: neutron-gateway
535+ constraints: mem=1G
536+ options:
537+ instance-mtu: 1300
538+ cinder:
539+ charm: cinder
540+ constraints: mem=1G
541+ options:
542+ block-device: "None"
543+ glance-api-version: 2
544+ vip: 10.5.100.5
545+ cinder-ceph:
546+ charm: cinder-ceph
547+ glance:
548+ charm: glance
549+ constraints: mem=1G
550+ options:
551+ vip: 10.5.100.9
552+ swift-proxy:
553+ charm: swift-proxy
554+ constraints: mem=1G
555+ options:
556+ zone-assignment: manual
557+ replicas: 3
558+ swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
559+ vip: 10.5.100.6
560+ swift-storage-z1:
561+ charm: swift-storage
562+ constraints: mem=1G
563+ options:
564+ zone: 1
565+ block-device: vdb
566+ overwrite: "true"
567+ swift-storage-z2:
568+ charm: swift-storage
569+ constraints: mem=1G
570+ options:
571+ zone: 2
572+ block-device: vdb
573+ overwrite: "true"
574+ swift-storage-z3:
575+ charm: swift-storage
576+ constraints: mem=1G
577+ options:
578+ zone: 3
579+ block-device: vdb
580+ overwrite: "true"
581+ ceilometer:
582+ charm: ceilometer
583+ constraints: mem=1G
584+ options:
585+ vip: 10.5.100.7
586+ ceilometer-agent:
587+ charm: ceilometer-agent
588+ heat:
589+ charm: heat
590+ mongodb:
591+ charm: mongodb
592+ constraints: mem=1G
593+ relations:
594+ - [ keystone, mysql ]
595+ - [ nova-cloud-controller, mysql ]
596+ - [ nova-cloud-controller, rabbitmq-server ]
597+ - [ nova-cloud-controller, glance ]
598+ - [ nova-cloud-controller, keystone ]
599+ - [ nova-compute, nova-cloud-controller ]
600+ - [ nova-compute, mysql ]
601+ - - nova-compute
602+ - rabbitmq-server:amqp
603+ - [ nova-compute, glance ]
604+ - [ nova-compute, ceph ]
605+ - [ glance, mysql ]
606+ - [ glance, keystone ]
607+ - [ glance, ceph ]
608+ - [ glance, cinder ]
609+ - [ cinder, mysql ]
610+ - [ cinder, rabbitmq-server ]
611+ - [ cinder, nova-cloud-controller ]
612+ - [ cinder, keystone ]
613+ - [ cinder, cinder-ceph ]
614+ - [ cinder-ceph, ceph ]
615+ - [ neutron-gateway, mysql ]
616+ - [ neutron-gateway, nova-cloud-controller ]
617+ - [ openstack-dashboard, keystone ]
618+ - [ swift-proxy, keystone ]
619+ - [ swift-proxy, swift-storage-z1 ]
620+ - [ swift-proxy, swift-storage-z2 ]
621+ - [ swift-proxy, swift-storage-z3 ]
622+ - - ceilometer
623+ - keystone:identity-service
624+ - [ ceilometer, rabbitmq-server ]
625+ - [ ceilometer, mongodb ]
626+ - [ ceilometer-agent, nova-compute ]
627+ - [ ceilometer-agent, ceilometer ]
628+ - [ heat, mysql ]
629+ - [ heat, keystone ]
630+ - [ heat, rabbitmq-server ]
631+openstack-singlerabbit:
632+ inherits: openstack-services
633+ relations:
634+ - [ "neutron-gateway:amqp", rabbitmq-server ]
635+openstack-icehouse:
636+ inherits: openstack-singlerabbit
637+ services:
638+ neutron-api:
639+ charm: neutron-api
640+ constraints: mem=1G
641+ options:
642+ neutron-security-groups: True
643+ vip: 10.5.100.8
644+ neutron-openvswitch:
645+ charm: neutron-openvswitch
646+ relations:
647+ - [ neutron-api, mysql ]
648+ - [ neutron-api, rabbitmq-server ]
649+ - [ neutron-api, nova-cloud-controller ]
650+ - [ neutron-api, neutron-openvswitch ]
651+ - [ neutron-api, keystone ]
652+ - [ neutron-api, neutron-gateway ]
653+ - [ neutron-openvswitch, nova-compute ]
654+ - [ neutron-openvswitch, rabbitmq-server ]
655+openstack-icehouse-msg-split:
656+ inherits: openstack-services
657+ services:
658+ neutron-api:
659+ branch: lp:~le-charmers/charms/trusty/neutron-api/next
660+ constraints: mem=1G
661+ options:
662+ neutron-security-groups: True
663+ neutron-openvswitch:
664+ branch: lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
665+ rabbitmq-server-neutron:
666+ branch: lp:charms/trusty/rabbitmq-server
667+ constraints: mem=1G
668+ relations:
669+ - [ neutron-api, mysql ]
670+ - [ neutron-api, rabbitmq-server-neutron ]
671+ - [ neutron-api, nova-cloud-controller ]
672+ - [ neutron-api, neutron-openvswitch ]
673+ - [ neutron-api, keystone ]
674+ - [ neutron-api, neutron-gateway ]
675+ - [ neutron-openvswitch, nova-compute ]
676+ - [ neutron-openvswitch, rabbitmq-server-neutron ]
677+ - [ "neutron-gateway:amqp-nova", rabbitmq-server ]
678+ - [ "neutron-gateway:amqp", rabbitmq-server-neutron ]
679+# icehouse
680+precise-icehouse:
681+ inherits: openstack-singlerabbit
682+ series: precise
683+ overrides:
684+ openstack-origin: cloud:precise-icehouse
685+ source: cloud:precise-icehouse
686+precise-icehouse-proposed:
687+ inherits: precise-icehouse
688+ overrides:
689+ openstack-origin: cloud:precise-icehouse/proposed
690+ source: cloud:precise-updates/icehouse
691+precise-icehouse-staging:
692+ inherits: precise-icehouse
693+ overrides:
694+ openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
695+ source: ppa:ubuntu-cloud-archive/icehouse-staging
696+precise-icehouse-trunk:
697+ inherits: precise-icehouse
698+ overrides:
699+ openstack-origin: ppa:openstack-ubuntu-testing/icehouse
700+ source: ppa:openstack-ubuntu-testing/icehouse
701+trusty-icehouse:
702+ inherits: openstack-icehouse
703+ series: trusty
704+trusty-icehouse-msg-split:
705+ inherits: openstack-icehouse-msg-split
706+ series: trusty
707+trusty-icehouse-proposed:
708+ inherits: trusty-icehouse
709+ overrides:
710+ source: proposed
711+ openstack-origin: distro-proposed
712+trusty-icehouse-trunk:
713+ inherits: trusty-icehouse
714+ overrides:
715+ openstack-origin: ppa:openstack-ubuntu-testing/icehouse
716+ source: ppa:openstack-ubuntu-testing/icehouse
717+ offline-compression: "no"
718+trusty-icehouse-ha:
719+ inherits: trusty-icehouse
720+ services:
721+ keystone:
722+ num_units: 3
723+ keystone-hacluster:
724+ charm: hacluster
725+ options:
726+ corosync_transport: unicast
727+ cluster_count: 3
728+ cinder:
729+ num_units: 3
730+ cinder-hacluster:
731+ charm: hacluster
732+ options:
733+ corosync_transport: unicast
734+ cluster_count: 3
735+ glance:
736+ num_units: 3
737+ glance-hacluster:
738+ charm: hacluster
739+ options:
740+ corosync_transport: unicast
741+ cluster_count: 3
742+ rabbitmq-server:
743+ num_units: 3
744+ mysql:
745+ num_units: 3
746+ mysql-hacluster:
747+ charm: hacluster
748+ options:
749+ corosync_transport: unicast
750+ cluster_count: 3
751+ nova-cloud-controller:
752+ num_units: 3
753+ nova-cc-hacluster:
754+ charm: hacluster
755+ options:
756+ corosync_transport: unicast
757+ cluster_count: 3
758+ neutron-api:
759+ num_units: 3
760+ neutron-hacluster:
761+ charm: hacluster
762+ options:
763+ corosync_transport: unicast
764+ cluster_count: 3
765+ openstack-dashboard:
766+ num_units: 3
767+ dashboard-hacluster:
768+ charm: hacluster
769+ options:
770+ corosync_transport: unicast
771+ cluster_count: 3
772+ swift-proxy:
773+ num_units: 3
774+ swift-hacluster:
775+ charm: hacluster
776+ options:
777+ corosync_transport: unicast
778+ cluster_count: 3
779+ ceilometer:
780+ num_units: 3
781+ ceilometer-hacluster:
782+ charm: hacluster
783+ options:
784+ corosync_transport: unicast
785+ cluster_count: 3
786+ relations:
787+ - [ mysql, mysql-hacluster ]
788+ - [ keystone, keystone-hacluster ]
789+ - [ nova-cloud-controller, nova-cc-hacluster ]
790+ - [ cinder, cinder-hacluster ]
791+ - [ glance, glance-hacluster ]
792+ - [ openstack-dashboard, dashboard-hacluster ]
793+ - [ ceilometer, ceilometer-hacluster ]
794+ - [ neutron-api, neutron-hacluster ]
795+ - [ swift-proxy, swift-hacluster ]
796+# juno
797+trusty-juno:
798+ inherits: openstack-icehouse
799+ series: trusty
800+ overrides:
801+ openstack-origin: cloud:trusty-juno
802+ source: cloud:trusty-juno
803+trusty-juno-proposed:
804+ inherits: trusty-juno
805+ overrides:
806+ openstack-origin: cloud:trusty-juno/proposed
807+ source: cloud:trusty-juno/proposed
808+trusty-juno-staging:
809+ inherits: trusty-juno
810+ overrides:
811+ openstack-origin: ppa:ubuntu-cloud-archive/juno-staging
812+ source: ppa:ubuntu-cloud-archive/juno-staging
813+utopic-juno:
814+ inherits: openstack-icehouse
815+ series: utopic
816+utopic-juno-proposed:
817+ inherits: utopic-juno
818+ overrides:
819+ source: proposed
820+ openstack-origin: distro-proposed
821+trusty-juno-ha:
822+ inherits: trusty-juno
823+ services:
824+ keystone:
825+ num_units: 3
826+ keystone-hacluster:
827+ charm: hacluster
828+ options:
829+ corosync_transport: unicast
830+ cluster_count: 3
831+ cinder:
832+ num_units: 3
833+ cinder-hacluster:
834+ charm: hacluster
835+ options:
836+ corosync_transport: unicast
837+ cluster_count: 3
838+ glance:
839+ num_units: 3
840+ glance-hacluster:
841+ charm: hacluster
842+ options:
843+ corosync_transport: unicast
844+ cluster_count: 3
845+ rabbitmq-server:
846+ num_units: 3
847+ mysql:
848+ num_units: 3
849+ mysql-hacluster:
850+ charm: hacluster
851+ options:
852+ corosync_transport: unicast
853+ cluster_count: 3
854+ nova-cloud-controller:
855+ num_units: 3
856+ nova-cc-hacluster:
857+ charm: hacluster
858+ options:
859+ corosync_transport: unicast
860+ cluster_count: 3
861+ neutron-api:
862+ num_units: 3
863+ neutron-hacluster:
864+ charm: hacluster
865+ options:
866+ corosync_transport: unicast
867+ cluster_count: 3
868+ openstack-dashboard:
869+ num_units: 3
870+ dashboard-hacluster:
871+ charm: hacluster
872+ options:
873+ corosync_transport: unicast
874+ cluster_count: 3
875+ swift-proxy:
876+ num_units: 3
877+ swift-hacluster:
878+ charm: hacluster
879+ options:
880+ corosync_transport: unicast
881+ cluster_count: 3
882+ ceilometer:
883+ num_units: 3
884+ ceilometer-hacluster:
885+ charm: hacluster
886+ options:
887+ corosync_transport: unicast
888+ cluster_count: 3
889+ relations:
890+ - [ mysql, mysql-hacluster ]
891+ - [ keystone, keystone-hacluster ]
892+ - [ nova-cloud-controller, nova-cc-hacluster ]
893+ - [ cinder, cinder-hacluster ]
894+ - [ glance, glance-hacluster ]
895+ - [ openstack-dashboard, dashboard-hacluster ]
896+ - [ ceilometer, ceilometer-hacluster ]
897+ - [ neutron-api, neutron-hacluster ]
898+ - [ swift-proxy, swift-hacluster ]
899+# kilo
900+trusty-kilo:
901+ inherits: openstack-icehouse
902+ series: trusty
903+ overrides:
904+ openstack-origin: cloud:trusty-kilo
905+ source: cloud:trusty-kilo
906+trusty-kilo-proposed:
907+ inherits: trusty-kilo
908+ overrides:
909+ openstack-origin: cloud:trusty-kilo/proposed
910+ source: cloud:trusty-kilo/proposed
911+trusty-kilo-staging:
912+ inherits: trusty-kilo
913+ overrides:
914+ openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
915+ source: ppa:ubuntu-cloud-archive/kilo-staging
916+vivid-kilo:
917+ inherits: openstack-icehouse
918+ series: vivid
919+vivid-kilo-proposed:
920+ inherits: vivid-kilo
921+ overrides:
922+ source: proposed
923+ openstack-origin: distro-proposed
924+trusty-kilo-ha:
925+ inherits: trusty-kilo
926+ services:
927+ keystone:
928+ num_units: 3
929+ keystone-hacluster:
930+ charm: hacluster
931+ options:
932+ corosync_transport: unicast
933+ cluster_count: 3
934+ cinder:
935+ num_units: 3
936+ cinder-hacluster:
937+ charm: hacluster
938+ options:
939+ corosync_transport: unicast
940+ cluster_count: 3
941+ glance:
942+ num_units: 3
943+ glance-hacluster:
944+ charm: hacluster
945+ options:
946+ corosync_transport: unicast
947+ cluster_count: 3
948+ rabbitmq-server:
949+ num_units: 3
950+ mysql:
951+ num_units: 3
952+ mysql-hacluster:
953+ charm: hacluster
954+ options:
955+ corosync_transport: unicast
956+ cluster_count: 3
957+ nova-cloud-controller:
958+ num_units: 3
959+ nova-cc-hacluster:
960+ charm: hacluster
961+ options:
962+ corosync_transport: unicast
963+ cluster_count: 3
964+ neutron-api:
965+ num_units: 3
966+ neutron-hacluster:
967+ charm: hacluster
968+ options:
969+ corosync_transport: unicast
970+ cluster_count: 3
971+ openstack-dashboard:
972+ num_units: 3
973+ dashboard-hacluster:
974+ charm: hacluster
975+ options:
976+ corosync_transport: unicast
977+ cluster_count: 3
978+ swift-proxy:
979+ num_units: 3
980+ swift-hacluster:
981+ charm: hacluster
982+ options:
983+ corosync_transport: unicast
984+ cluster_count: 3
985+ ceilometer:
986+ num_units: 3
987+ ceilometer-hacluster:
988+ charm: hacluster
989+ options:
990+ corosync_transport: unicast
991+ cluster_count: 3
992+ relations:
993+ - [ mysql, mysql-hacluster ]
994+ - [ keystone, keystone-hacluster ]
995+ - [ nova-cloud-controller, nova-cc-hacluster ]
996+ - [ cinder, cinder-hacluster ]
997+ - [ glance, glance-hacluster ]
998+ - [ openstack-dashboard, dashboard-hacluster ]
999+ - [ ceilometer, ceilometer-hacluster ]
1000+ - [ neutron-api, neutron-hacluster ]
1001+ - [ swift-proxy, swift-hacluster ]
1002
1003=== modified file 'helper/collect/collect-next-ha'
1004--- helper/collect/collect-next-ha 2015-07-15 15:47:19 +0000
1005+++ helper/collect/collect-next-ha 2015-08-05 09:14:07 +0000
1006@@ -1,10 +1,11 @@
1007 ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
1008 ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
1009 ceph lp:~openstack-charmers/charms/trusty/ceph/next
1010+ceph-osd lp:~openstack-charmers/charms/trusty/ceph-osd/next
1011 cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
1012 cinder lp:~openstack-charmers/charms/trusty/cinder/next
1013 glance lp:~openstack-charmers/charms/trusty/glance/next
1014-hacluster lp:~gnuoy/charms/trusty/hacluster/charmhelper_sync
1015+hacluster lp:~openstack-charmers/charms/trusty/hacluster/next
1016 heat lp:~openstack-charmers/charms/trusty/heat/next
1017 keystone lp:~openstack-charmers/charms/trusty/keystone/next
1018 mongodb lp:charms/mongodb
1019@@ -13,8 +14,9 @@
1020 neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
1021 nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
1022 nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
1023+ntp lp:charms/trusty/ntp
1024 openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
1025-percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
1026+percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/next
1027 rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
1028 swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
1029 swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
1030
1031=== modified file 'helper/collect/collect-stable-ha-trusty'
1032--- helper/collect/collect-stable-ha-trusty 2015-07-15 20:41:16 +0000
1033+++ helper/collect/collect-stable-ha-trusty 2015-08-05 09:14:07 +0000
1034@@ -1,19 +1,21 @@
1035 # FYI nosmart usages is re: bug 1161018 bzr revno fails on ghost ancestry
1036 ceilometer-agent nosmart+lp:charms/trusty/ceilometer-agent
1037 ceilometer nosmart+lp:charms/trusty/ceilometer
1038-ceph lp:charms/trusty/ceph
1039-cinder-ceph lp:charms/trusty/cinder-ceph
1040-cinder lp:charms/trusty/cinder
1041+ceph nosmart+lp:charms/trusty/ceph
1042+ceph-osd nosmart+lp:charms/trusty/ceph-osd
1043+cinder-ceph nosmart+lp:charms/trusty/cinder-ceph
1044+cinder nosmart+lp:charms/trusty/cinder
1045 glance nosmart+lp:charms/trusty/glance
1046 hacluster lp:charms/trusty/hacluster
1047 heat nosmart+lp:charms/trusty/heat
1048-keystone lp:charms/trusty/keystone
1049+keystone nosmart+lp:charms/trusty/keystone
1050 mongodb lp:charms/mongodb
1051 neutron-api lp:charms/trusty/neutron-api
1052 neutron-gateway nosmart+lp:charms/trusty/quantum-gateway
1053 neutron-openvswitch nosmart+lp:charms/trusty/neutron-openvswitch
1054 nova-cloud-controller nosmart+lp:charms/trusty/nova-cloud-controller
1055-nova-compute lp:charms/trusty/nova-compute
1056+nova-compute nosmart+lp:charms/trusty/nova-compute
1057+ntp lp:charms/trusty/ntp
1058 openstack-dashboard nosmart+lp:charms/trusty/openstack-dashboard
1059 percona-cluster lp:charms/trusty/percona-cluster
1060 rabbitmq-server lp:charms/trusty/rabbitmq-server
1061
1062=== modified file 'helper/collect/collect-stable-precise'
1063--- helper/collect/collect-stable-precise 2015-07-21 12:47:17 +0000
1064+++ helper/collect/collect-stable-precise 2015-08-05 09:14:07 +0000
1065@@ -1,4 +1,3 @@
1066-#
1067 ceilometer-agent lp:charms/precise/ceilometer-agent
1068 ceilometer lp:charms/precise/ceilometer
1069 ceph lp:charms/precise/ceph
1070
1071=== modified file 'helper/collect/repo-next-ha'
1072--- helper/collect/repo-next-ha 2015-07-15 15:47:19 +0000
1073+++ helper/collect/repo-next-ha 2015-08-05 09:14:07 +0000
1074@@ -1,6 +1,7 @@
1075 ceilometer
1076 ceilometer-agent
1077 ceph
1078+ceph-osd
1079 cinder
1080 cinder-ceph
1081 glance
1082@@ -11,6 +12,7 @@
1083 neutron-api
1084 neutron-gateway
1085 neutron-openvswitch
1086+ntp
1087 nova-cloud-controller
1088 nova-compute
1089 openstack-dashboard
1090
1091=== added file 'helper/setup/leader_chaos.py'
1092--- helper/setup/leader_chaos.py 1970-01-01 00:00:00 +0000
1093+++ helper/setup/leader_chaos.py 2015-08-05 09:14:07 +0000
1094@@ -0,0 +1,108 @@
1095+#!/usr/bin/python
1096+import sys
1097+import utils.mojo_utils as mojo_utils
1098+import utils.mojo_os_utils as mojo_os_utils
1099+import logging
1100+import argparse
1101+import xml.dom.minidom
1102+import re
1103+import ast
1104+
1105+
1106+def rabbit_unit_status(unit):
1107+ cmd = 'rabbitmqctl -q cluster_status'
1108+ output = mojo_utils.remote_run(unit, remote_cmd=cmd)[0]
1109+ output = output.replace('\n', '')
1110+ matchObj = re.search(r'running_nodes,(.*)}, {partitions', output)
1111+ machine_numbers = []
1112+ for machine in ast.literal_eval(matchObj.group(1)):
1113+ machine_numbers.append(int(machine.split('-')[-1]))
1114+ return machine_numbers
1115+
1116+
1117+def rabbit_status():
1118+ juju_units = mojo_utils.get_juju_units(service='rabbitmq-server')
1119+ machine_numbers = get_machine_numbers('rabbitmq-server')
1120+ for unit in juju_units:
1121+ units = rabbit_unit_status(unit)
1122+ units.sort()
1123+ if machine_numbers == units:
1124+ logging.info('Rabbit status on %s look good' % (unit))
1125+ else:
1126+ msg = 'Mismatch on rabbit status for on unit {}'.format(unit)
1127+ raise Exception(msg)
1128+
1129+
1130+def unit_crm_online(unit):
1131+ output = mojo_utils.remote_run(unit, remote_cmd='crm_mon -X')
1132+ xml_out = output[0]
1133+ tree = xml.dom.minidom.parseString(xml_out)
1134+ itemlist = tree.getElementsByTagName('node')
1135+ online_units = []
1136+ for s in itemlist:
1137+ if 'online' in s.attributes.keys() \
1138+ and s.attributes['online'].value == 'true':
1139+ online_units.append(int(s.attributes['name'].value.split('-')[-1]))
1140+ online_units.sort()
1141+ return online_units
1142+
1143+
1144+def get_machine_numbers(service):
1145+ juju_units = mojo_utils.get_juju_units(service=service)
1146+ machine_numbers = []
1147+ for unit in juju_units:
1148+ machine_numbers.append(mojo_utils.convert_unit_to_machinename(unit))
1149+ machine_numbers.sort()
1150+ return machine_numbers
1151+
1152+
1153+def check_crm_status(service):
1154+ juju_units = mojo_utils.get_juju_units(service=service)
1155+ if not juju_units:
1156+ return
1157+ cmd = 'which crm_mon || echo "Not Found"'
1158+ output = mojo_utils.remote_run(juju_units[0], remote_cmd=cmd)
1159+ if output[0].rstrip() == "Not Found":
1160+ return
1161+ for unit in juju_units:
1162+ mach_nums = get_machine_numbers(service)
1163+ crm_online = unit_crm_online(unit)
1164+ if mach_nums == crm_online:
1165+ logging.info('Service %s status on %s look good' % (service, unit))
1166+ else:
1167+ logging.info('%s != %s' % (str(mach_nums), str(crm_online)))
1168+ msg = ('Mismatch on crm status for service {} '
1169+ 'on unit {}'.format(service, unit))
1170+ raise Exception(msg)
1171+
1172+
1173+def check_cluster_status(service):
1174+ if service == 'rabbitmq-service':
1175+ rabbit_status()
1176+ else:
1177+ check_crm_status(service)
1178+
1179+
1180+def main(argv):
1181+ logging.basicConfig(level=logging.INFO)
1182+ parser = argparse.ArgumentParser()
1183+ parser.add_argument("term_method", default='juju', nargs='?')
1184+ #options = parser.parse_args()
1185+ #term_method = mojo_utils.parse_mojo_arg(options, 'term_method')
1186+ skip_services = ['neutron-gateway', 'mongodb', 'heat', 'rabbitmq-server']
1187+ princ_services = mojo_utils.get_principle_services()
1188+ services = [item for item in princ_services if item not in skip_services]
1189+ for svc in services:
1190+ doomed_service = services.pop(0)
1191+ mojo_os_utils.delete_juju_leader(doomed_service)
1192+ mojo_utils.juju_check_hooks_complete()
1193+ mojo_utils.juju_status_check_and_wait()
1194+ check_cluster_status(doomed_service)
1195+ mojo_utils.add_unit(doomed_service, unit_num=1)
1196+ mojo_utils.juju_status_check_and_wait()
1197+ mojo_utils.juju_check_hooks_complete()
1198+ check_crm_status(doomed_service)
1199+
1200+
1201+if __name__ == "__main__":
1202+ sys.exit(main(sys.argv))
1203
1204=== modified file 'helper/setup/upgrade_all_services.py'
1205--- helper/setup/upgrade_all_services.py 2015-01-26 20:14:02 +0000
1206+++ helper/setup/upgrade_all_services.py 2015-08-05 09:14:07 +0000
1207@@ -2,11 +2,16 @@
1208 import sys
1209 import utils.mojo_utils as mojo_utils
1210 import logging
1211+import os
1212
1213
1214 def main(argv):
1215 logging.basicConfig(level=logging.INFO)
1216- mojo_utils.upgrade_all_services()
1217+ switch_map = {
1218+ 'neutron-gateway': 'local:{}/{}'.format(os.environ['MOJO_SERIES'],
1219+ 'neutron-gateway')
1220+ }
1221+ mojo_utils.upgrade_all_services(switch=switch_map)
1222
1223 if __name__ == "__main__":
1224 sys.exit(main(sys.argv))
1225
1226=== modified file 'helper/utils/mojo_os_utils.py'
1227--- helper/utils/mojo_os_utils.py 2015-07-31 01:16:19 +0000
1228+++ helper/utils/mojo_os_utils.py 2015-08-05 09:14:07 +0000
1229@@ -61,6 +61,7 @@
1230 def get_neutron_client(novarc_creds, insecure=True):
1231 neutron_creds = get_ks_creds(novarc_creds)
1232 neutron_creds['insecure'] = insecure
1233+ print neutron_creds
1234 return neutronclient.Client(**neutron_creds)
1235
1236
1237@@ -580,6 +581,19 @@
1238
1239 # Hacluster helper
1240
1241+def get_juju_leader(service):
1242+ # XXX Juju status should report the leader but doesn't at the moment.
1243+ # So, until it does run leader on the units
1244+ for unit in mojo_utils.get_juju_units(service=service):
1245+ leader_out = mojo_utils.remote_run(unit, 'is-leader')[0].strip()
1246+ if leader_out == 'True':
1247+ return unit
1248+
1249+
1250+def delete_juju_leader(service, resource=None, method='juju'):
1251+ mojo_utils.delete_unit(get_juju_leader(service), method=method)
1252+
1253+
1254 def get_crm_leader(service, resource=None):
1255 if not resource:
1256 resource = 'res_.*_vip'
1257
1258=== modified file 'helper/utils/mojo_utils.py'
1259--- helper/utils/mojo_utils.py 2015-07-31 01:16:19 +0000
1260+++ helper/utils/mojo_utils.py 2015-08-05 09:14:07 +0000
1261@@ -12,7 +12,8 @@
1262 JUJU_STATUSES = {
1263 'good': ['ACTIVE', 'started'],
1264 'bad': ['error'],
1265- 'transitional': ['pending', 'pending', 'down', 'installed', 'stopped'],
1266+ 'transitional': ['pending', 'pending', 'down', 'installed', 'stopped',
1267+ 'allocating'],
1268 }
1269
1270
1271@@ -62,6 +63,12 @@
1272 return juju_status['machines'].itervalues().next()['instance-id']
1273
1274
1275+def convert_unit_to_machinename(unit):
1276+ juju_status = get_juju_status(unit)
1277+ service = unit.split('/')[0]
1278+ return int(juju_status['services'][service]['units'][unit]['machine'])
1279+
1280+
1281 def convert_machineno_to_unit(machineno, juju_status=None):
1282 if not juju_status:
1283 juju_status = get_juju_status()
1284@@ -326,18 +333,21 @@
1285 sync_charmhelpers(charm_dir)
1286
1287
1288-def upgrade_service(svc):
1289+def upgrade_service(svc, switch=None):
1290 repo_dir = os.environ['MOJO_REPO_DIR']
1291 logging.info('Upgrading ' + svc)
1292- cmd = ['juju', 'upgrade-charm', '--repository', repo_dir, svc]
1293+ cmd = ['juju', 'upgrade-charm']
1294+ if switch and switch.get(svc):
1295+ cmd.extend(['--switch', switch[svc]])
1296+ cmd.extend(['--repository', repo_dir, svc])
1297 subprocess.check_call(cmd)
1298
1299
1300-def upgrade_all_services(juju_status=None):
1301+def upgrade_all_services(juju_status=None, switch=None):
1302 if not juju_status:
1303 juju_status = get_juju_status()
1304 for svc in juju_status['services']:
1305- upgrade_service(svc)
1306+ upgrade_service(svc, switch=switch)
1307
1308
1309 def parse_mojo_arg(options, mojoarg, multiargs=False):
1310
1311=== added directory 'specs/full_stack/ha_oneshot'
1312=== added directory 'specs/full_stack/ha_oneshot/icehouse'
1313=== added file 'specs/full_stack/ha_oneshot/icehouse/SPEC_INFO.txt'
1314--- specs/full_stack/ha_oneshot/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1315+++ specs/full_stack/ha_oneshot/icehouse/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1316@@ -0,0 +1,3 @@
1317+This spec performs a ha deploy in one shot (not phased) then runs tests to
1318+validate the deployment. The assumption is that the version of juju has
1319+leadership enabled.
1320
1321=== added symlink 'specs/full_stack/ha_oneshot/icehouse/check_juju.py'
1322=== target is u'../../../../helper/tests/check_juju.py'
1323=== added symlink 'specs/full_stack/ha_oneshot/icehouse/collect-next-ha'
1324=== target is u'../../../../helper/collect/collect-next-ha'
1325=== added symlink 'specs/full_stack/ha_oneshot/icehouse/ha.yaml'
1326=== target is u'../../../../helper/bundles/ha.yaml'
1327=== added symlink 'specs/full_stack/ha_oneshot/icehouse/image_setup.py'
1328=== target is u'../../../../helper/setup/image_setup.py'
1329=== added symlink 'specs/full_stack/ha_oneshot/icehouse/images.yaml'
1330=== target is u'../../../../helper/setup/images.yaml'
1331=== added symlink 'specs/full_stack/ha_oneshot/icehouse/keystone_setup.py'
1332=== target is u'../../../../helper/setup/keystone_setup.py'
1333=== added symlink 'specs/full_stack/ha_oneshot/icehouse/keystone_users.yaml'
1334=== target is u'../../../../helper/setup/keystone_users.yaml'
1335=== added file 'specs/full_stack/ha_oneshot/icehouse/manifest'
1336--- specs/full_stack/ha_oneshot/icehouse/manifest 1970-01-01 00:00:00 +0000
1337+++ specs/full_stack/ha_oneshot/icehouse/manifest 2015-08-05 09:14:07 +0000
1338@@ -0,0 +1,32 @@
1339+# Collect the charm branches from Launchpad
1340+collect config=collect-next-ha
1341+
1342+# Copy the branches to the deployment directory
1343+repo config=repo-next-ha
1344+
1345+# Use juju deployer to create the units for the deployment
1346+deploy config=ha.yaml delay=0 target=${MOJO_SERIES}-icehouse-ha
1347+
1348+# Check juju statuses are green and that hooks have finished
1349+verify config=check_juju.py
1350+
1351+# Examine the available networks and set vips for services need updates to support this
1352+#script config=set_vips.py
1353+
1354+# Check juju statuses are green and that hooks have finished
1355+verify config=check_juju.py
1356+
1357+# Create sdn on overcloud
1358+script config=network_setup.py
1359+
1360+# Setup glance images
1361+script config=image_setup.py
1362+
1363+# Setup keystone users
1364+script config=keystone_setup.py
1365+
1366+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1367+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
1368+
1369+# Test obj store by sending and recieving files
1370+verify config=test_obj_store.py
1371
1372=== added symlink 'specs/full_stack/ha_oneshot/icehouse/network.yaml'
1373=== target is u'../../../../helper/setup/network.yaml'
1374=== added symlink 'specs/full_stack/ha_oneshot/icehouse/network_setup.py'
1375=== target is u'../../../../helper/setup/network_setup.py'
1376=== added symlink 'specs/full_stack/ha_oneshot/icehouse/repo-next-ha'
1377=== target is u'../../../../helper/collect/repo-next-ha'
1378=== added symlink 'specs/full_stack/ha_oneshot/icehouse/set_vips.py'
1379=== target is u'../../../../helper/setup/set_vips.py'
1380=== added symlink 'specs/full_stack/ha_oneshot/icehouse/simple_os_checks.py'
1381=== target is u'../../../../helper/tests/simple_os_checks.py'
1382=== added symlink 'specs/full_stack/ha_oneshot/icehouse/test_obj_store.py'
1383=== target is u'../../../../helper/tests/test_obj_store.py'
1384=== added symlink 'specs/full_stack/ha_oneshot/icehouse/utils'
1385=== target is u'../../../../helper/utils'
1386=== added directory 'specs/full_stack/ha_oneshot/juno'
1387=== added file 'specs/full_stack/ha_oneshot/juno/SPEC_INFO.txt'
1388--- specs/full_stack/ha_oneshot/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1389+++ specs/full_stack/ha_oneshot/juno/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1390@@ -0,0 +1,3 @@
1391+This spec performs a ha deploy in one shot (not phased) then runs tests to
1392+validate the deployment. The assumption is that the version of juju has
1393+leadership enabled.
1394
1395=== added symlink 'specs/full_stack/ha_oneshot/juno/check_juju.py'
1396=== target is u'../../../../helper/tests/check_juju.py'
1397=== added symlink 'specs/full_stack/ha_oneshot/juno/collect-next-ha'
1398=== target is u'../../../../helper/collect/collect-next-ha'
1399=== added symlink 'specs/full_stack/ha_oneshot/juno/ha.yaml'
1400=== target is u'../../../../helper/bundles/ha.yaml'
1401=== added symlink 'specs/full_stack/ha_oneshot/juno/image_setup.py'
1402=== target is u'../../../../helper/setup/image_setup.py'
1403=== added symlink 'specs/full_stack/ha_oneshot/juno/images.yaml'
1404=== target is u'../../../../helper/setup/images.yaml'
1405=== added symlink 'specs/full_stack/ha_oneshot/juno/keystone_setup.py'
1406=== target is u'../../../../helper/setup/keystone_setup.py'
1407=== added symlink 'specs/full_stack/ha_oneshot/juno/keystone_users.yaml'
1408=== target is u'../../../../helper/setup/keystone_users.yaml'
1409=== added file 'specs/full_stack/ha_oneshot/juno/manifest'
1410--- specs/full_stack/ha_oneshot/juno/manifest 1970-01-01 00:00:00 +0000
1411+++ specs/full_stack/ha_oneshot/juno/manifest 2015-08-05 09:14:07 +0000
1412@@ -0,0 +1,32 @@
1413+# Collect the charm branches from Launchpad
1414+collect config=collect-next-ha
1415+
1416+# Copy the branches to the deployment directory
1417+repo config=repo-next-ha
1418+
1419+# Use juju deployer to create the units for the deployment
1420+deploy config=ha.yaml delay=0 target=${MOJO_SERIES}-juno-ha
1421+
1422+# Check juju statuses are green and that hooks have finished
1423+verify config=check_juju.py
1424+
1425+# Examine the available networks and set vips for services need updates to support this
1426+#script config=set_vips.py
1427+
1428+# Check juju statuses are green and that hooks have finished
1429+verify config=check_juju.py
1430+
1431+# Create sdn on overcloud
1432+script config=network_setup.py
1433+
1434+# Setup glance images
1435+script config=image_setup.py
1436+
1437+# Setup keystone users
1438+script config=keystone_setup.py
1439+
1440+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1441+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
1442+
1443+# Test obj store by sending and recieving files
1444+verify config=test_obj_store.py
1445
1446=== added symlink 'specs/full_stack/ha_oneshot/juno/network.yaml'
1447=== target is u'../../../../helper/setup/network.yaml'
1448=== added symlink 'specs/full_stack/ha_oneshot/juno/network_setup.py'
1449=== target is u'../../../../helper/setup/network_setup.py'
1450=== added symlink 'specs/full_stack/ha_oneshot/juno/repo-next-ha'
1451=== target is u'../../../../helper/collect/repo-next-ha'
1452=== added symlink 'specs/full_stack/ha_oneshot/juno/set_vips.py'
1453=== target is u'../../../../helper/setup/set_vips.py'
1454=== added symlink 'specs/full_stack/ha_oneshot/juno/simple_os_checks.py'
1455=== target is u'../../../../helper/tests/simple_os_checks.py'
1456=== added symlink 'specs/full_stack/ha_oneshot/juno/test_obj_store.py'
1457=== target is u'../../../../helper/tests/test_obj_store.py'
1458=== added symlink 'specs/full_stack/ha_oneshot/juno/utils'
1459=== target is u'../../../../helper/utils'
1460=== added directory 'specs/full_stack/ha_oneshot/kilo'
1461=== added file 'specs/full_stack/ha_oneshot/kilo/SPEC_INFO.txt'
1462--- specs/full_stack/ha_oneshot/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
1463+++ specs/full_stack/ha_oneshot/kilo/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1464@@ -0,0 +1,3 @@
1465+This spec performs a ha deploy in one shot (not phased) then runs tests to
1466+validate the deployment. The assumption is that the version of juju has
1467+leadership enabled.
1468
1469=== added symlink 'specs/full_stack/ha_oneshot/kilo/check_juju.py'
1470=== target is u'../../../../helper/tests/check_juju.py'
1471=== added symlink 'specs/full_stack/ha_oneshot/kilo/collect-next-ha'
1472=== target is u'../../../../helper/collect/collect-next-ha'
1473=== added symlink 'specs/full_stack/ha_oneshot/kilo/ha.yaml'
1474=== target is u'../../../../helper/bundles/ha.yaml'
1475=== added symlink 'specs/full_stack/ha_oneshot/kilo/image_setup.py'
1476=== target is u'../../../../helper/setup/image_setup.py'
1477=== added symlink 'specs/full_stack/ha_oneshot/kilo/images.yaml'
1478=== target is u'../../../../helper/setup/images.yaml'
1479=== added symlink 'specs/full_stack/ha_oneshot/kilo/keystone_setup.py'
1480=== target is u'../../../../helper/setup/keystone_setup.py'
1481=== added symlink 'specs/full_stack/ha_oneshot/kilo/keystone_users.yaml'
1482=== target is u'../../../../helper/setup/keystone_users.yaml'
1483=== added file 'specs/full_stack/ha_oneshot/kilo/manifest'
1484--- specs/full_stack/ha_oneshot/kilo/manifest 1970-01-01 00:00:00 +0000
1485+++ specs/full_stack/ha_oneshot/kilo/manifest 2015-08-05 09:14:07 +0000
1486@@ -0,0 +1,32 @@
1487+# Collect the charm branches from Launchpad
1488+collect config=collect-next-ha
1489+
1490+# Copy the branches to the deployment directory
1491+repo config=repo-next-ha
1492+
1493+# Use juju deployer to create the units for the deployment
1494+deploy config=ha.yaml delay=0 target=${MOJO_SERIES}-kilo-ha
1495+
1496+# Check juju statuses are green and that hooks have finished
1497+verify config=check_juju.py
1498+
1499+# Examine the available networks and set vips for services need updates to support this
1500+#script config=set_vips.py
1501+
1502+# Check juju statuses are green and that hooks have finished
1503+verify config=check_juju.py
1504+
1505+# Create sdn on overcloud
1506+script config=network_setup.py
1507+
1508+# Setup glance images
1509+script config=image_setup.py
1510+
1511+# Setup keystone users
1512+script config=keystone_setup.py
1513+
1514+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
1515+verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
1516+
1517+# Test obj store by sending and recieving files
1518+verify config=test_obj_store.py
1519
1520=== added symlink 'specs/full_stack/ha_oneshot/kilo/network.yaml'
1521=== target is u'../../../../helper/setup/network.yaml'
1522=== added symlink 'specs/full_stack/ha_oneshot/kilo/network_setup.py'
1523=== target is u'../../../../helper/setup/network_setup.py'
1524=== added symlink 'specs/full_stack/ha_oneshot/kilo/repo-next-ha'
1525=== target is u'../../../../helper/collect/repo-next-ha'
1526=== added symlink 'specs/full_stack/ha_oneshot/kilo/set_vips.py'
1527=== target is u'../../../../helper/setup/set_vips.py'
1528=== added symlink 'specs/full_stack/ha_oneshot/kilo/simple_os_checks.py'
1529=== target is u'../../../../helper/tests/simple_os_checks.py'
1530=== added symlink 'specs/full_stack/ha_oneshot/kilo/test_obj_store.py'
1531=== target is u'../../../../helper/tests/test_obj_store.py'
1532=== added symlink 'specs/full_stack/ha_oneshot/kilo/utils'
1533=== target is u'../../../../helper/utils'
1534=== modified file 'specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt'
1535--- specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt 2015-07-15 19:21:30 +0000
1536+++ specs/full_stack/stable_deploy_baremetal/liberty/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1537@@ -1,4 +1,4 @@
1538-This KILO spec deploys a non-ha 7-machine bundle, intended for bare metal
1539+This LIBERTY spec deploys a non-ha 7-machine bundle, intended for bare metal
1540 with smoosh. It uses the baremetal7.yaml bundle which aims to exercise a stack
1541 roughly equivalent to the next/default yamls. As swift is the object store,
1542 ceph-radosgw is not exercised.
1543
1544=== modified file 'specs/full_stack/stable_to_next_ha/icehouse/SPEC_INFO.txt'
1545--- specs/full_stack/stable_to_next_ha/icehouse/SPEC_INFO.txt 2015-04-20 09:35:09 +0000
1546+++ specs/full_stack/stable_to_next_ha/icehouse/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1547@@ -1,2 +1,2 @@
1548-This spec performs a phased ha deploy then runs tests to validate the
1549-deployment
1550+This spec performs a phased ha deploy using the stable charms then upgrades
1551+charms to the next branches then runs tests to validate the deployment
1552
1553=== modified file 'specs/full_stack/stable_to_next_ha/juno/SPEC_INFO.txt'
1554--- specs/full_stack/stable_to_next_ha/juno/SPEC_INFO.txt 2015-04-20 09:35:09 +0000
1555+++ specs/full_stack/stable_to_next_ha/juno/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1556@@ -1,2 +1,2 @@
1557-This spec performs a phased ha deploy then runs tests to validate the
1558-deployment
1559+This spec performs a phased ha deploy using the stable charms then upgrades
1560+charms to the next branches then runs tests to validate the deployment
1561
1562=== modified file 'specs/full_stack/stable_to_next_ha/kilo/SPEC_INFO.txt'
1563--- specs/full_stack/stable_to_next_ha/kilo/SPEC_INFO.txt 2015-04-20 09:35:09 +0000
1564+++ specs/full_stack/stable_to_next_ha/kilo/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1565@@ -1,2 +1,2 @@
1566-This spec performs a phased ha deploy then runs tests to validate the
1567-deployment
1568+This spec performs a phased ha deploy using the stable charms then upgrades
1569+charms to the next branches then runs tests to validate the deployment
1570
1571=== modified file 'specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt'
1572--- specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt 2015-07-15 19:21:30 +0000
1573+++ specs/full_stack/stable_to_next_ha/liberty/SPEC_INFO.txt 2015-08-05 09:14:07 +0000
1574@@ -1,2 +1,2 @@
1575-This spec performs a phased ha deploy then runs tests to validate the
1576-deployment
1577+This spec performs a phased ha deploy using the stable charms then upgrades
1578+charms to the next branches then runs tests to validate the deployment

Subscribers

People subscribed via source and target branches