Merge lp:~gnuoy/openstack-mojo-specs/swift-spec-fixes into lp:openstack-mojo-specs
- swift-spec-fixes
- Merge into mojo-openstack-specs
Proposed by
Liam Young
Status: | Merged |
---|---|
Merged at revision: | 316 |
Proposed branch: | lp:~gnuoy/openstack-mojo-specs/swift-spec-fixes |
Merge into: | lp:openstack-mojo-specs |
Diff against target: |
467 lines (+160/-41) 14 files modified
helper/bundles/swift-ha-proxy-phase1.yaml (+17/-3) helper/bundles/swift-ha-proxy-phase2.yaml (+15/-3) helper/collect/collect-next-swift-proxy (+1/-3) helper/scripts/check-lint.sh (+1/-1) helper/setup/juju_set.py (+7/-1) specs/storage/swift/ha_serial_scaleout/icehouse/manifest (+3/-6) specs/storage/swift/ha_serial_scaleout/kilo/manifest (+3/-6) specs/storage/swift/ha_serial_scaleout/liberty/manifest (+3/-6) specs/storage/swift/ha_serial_scaleout/mitaka/manifest (+3/-6) specs/storage/swift/ha_serial_scaleout/newton/manifest (+3/-6) specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt (+3/-0) specs/storage/swift/ha_serial_scaleout/ocata/manifest (+49/-0) specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt (+3/-0) specs/storage/swift/ha_serial_scaleout/pike/manifest (+49/-0) |
To merge this branch: | bzr merge lp:~gnuoy/openstack-mojo-specs/swift-spec-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris MacNaughton (community) | Approve | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'helper/bundles/swift-ha-proxy-phase1.yaml' | |||
2 | --- helper/bundles/swift-ha-proxy-phase1.yaml 2017-09-11 15:47:30 +0000 | |||
3 | +++ helper/bundles/swift-ha-proxy-phase1.yaml 2017-11-23 13:55:35 +0000 | |||
4 | @@ -27,21 +27,21 @@ | |||
5 | 27 | swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae | 27 | swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae |
6 | 28 | disable-ring-balance: False | 28 | disable-ring-balance: False |
7 | 29 | swift-storage-z1: | 29 | swift-storage-z1: |
9 | 30 | charm: swift-storage-z1 | 30 | charm: swift-storage |
10 | 31 | constraints: mem=1G | 31 | constraints: mem=1G |
11 | 32 | options: | 32 | options: |
12 | 33 | zone: 1 | 33 | zone: 1 |
13 | 34 | block-device: vdb | 34 | block-device: vdb |
14 | 35 | overwrite: "true" | 35 | overwrite: "true" |
15 | 36 | swift-storage-z2: | 36 | swift-storage-z2: |
17 | 37 | charm: swift-storage-z2 | 37 | charm: swift-storage |
18 | 38 | constraints: mem=1G | 38 | constraints: mem=1G |
19 | 39 | options: | 39 | options: |
20 | 40 | zone: 2 | 40 | zone: 2 |
21 | 41 | block-device: vdb | 41 | block-device: vdb |
22 | 42 | overwrite: "true" | 42 | overwrite: "true" |
23 | 43 | swift-storage-z3: | 43 | swift-storage-z3: |
25 | 44 | charm: swift-storage-z3 | 44 | charm: swift-storage |
26 | 45 | constraints: mem=1G | 45 | constraints: mem=1G |
27 | 46 | options: | 46 | options: |
28 | 47 | zone: 3 | 47 | zone: 3 |
29 | @@ -56,6 +56,8 @@ | |||
30 | 56 | - [ keystone, mysql ] | 56 | - [ keystone, mysql ] |
31 | 57 | - [ glance, mysql ] | 57 | - [ glance, mysql ] |
32 | 58 | - [ glance, keystone ] | 58 | - [ glance, keystone ] |
33 | 59 | - [ glance, swift-proxy ] | ||
34 | 60 | - [ swift-proxy, keystone ] | ||
35 | 59 | - [ swift-proxy, swift-hacluster ] | 61 | - [ swift-proxy, swift-hacluster ] |
36 | 60 | - [ swift-proxy, swift-storage-z1 ] | 62 | - [ swift-proxy, swift-storage-z1 ] |
37 | 61 | - [ swift-proxy, swift-storage-z2 ] | 63 | - [ swift-proxy, swift-storage-z2 ] |
38 | @@ -101,3 +103,15 @@ | |||
39 | 101 | ha-bindiface: ens2 | 103 | ha-bindiface: ens2 |
40 | 102 | openstack-origin: cloud:xenial-ocata | 104 | openstack-origin: cloud:xenial-ocata |
41 | 103 | source: cloud:xenial-ocata | 105 | source: cloud:xenial-ocata |
42 | 106 | xenial-pike: | ||
43 | 107 | inherits: openstack-services | ||
44 | 108 | series: xenial | ||
45 | 109 | overrides: | ||
46 | 110 | ha-bindiface: ens2 | ||
47 | 111 | openstack-origin: cloud:xenial-pike | ||
48 | 112 | source: cloud:xenial-pike | ||
49 | 113 | zesty-ocata: | ||
50 | 114 | inherits: openstack-services | ||
51 | 115 | series: zesty | ||
52 | 116 | overrides: | ||
53 | 117 | ha-bindiface: ens2 | ||
54 | 104 | 118 | ||
55 | === modified file 'helper/bundles/swift-ha-proxy-phase2.yaml' | |||
56 | --- helper/bundles/swift-ha-proxy-phase2.yaml 2017-09-05 21:37:34 +0000 | |||
57 | +++ helper/bundles/swift-ha-proxy-phase2.yaml 2017-11-23 13:55:35 +0000 | |||
58 | @@ -11,11 +11,11 @@ | |||
59 | 11 | swift-proxy: | 11 | swift-proxy: |
60 | 12 | charm: swift-proxy | 12 | charm: swift-proxy |
61 | 13 | swift-storage-z1: | 13 | swift-storage-z1: |
63 | 14 | charm: swift-storage-z1 | 14 | charm: swift-storage |
64 | 15 | swift-storage-z2: | 15 | swift-storage-z2: |
66 | 16 | charm: swift-storage-z2 | 16 | charm: swift-storage |
67 | 17 | swift-storage-z3: | 17 | swift-storage-z3: |
69 | 18 | charm: swift-storage-z3 | 18 | charm: swift-storage |
70 | 19 | swift-hacluster: | 19 | swift-hacluster: |
71 | 20 | charm: hacluster | 20 | charm: hacluster |
72 | 21 | relations: | 21 | relations: |
73 | @@ -65,3 +65,15 @@ | |||
74 | 65 | ha-bindiface: ens2 | 65 | ha-bindiface: ens2 |
75 | 66 | openstack-origin: cloud:xenial-ocata | 66 | openstack-origin: cloud:xenial-ocata |
76 | 67 | source: cloud:xenial-ocata | 67 | source: cloud:xenial-ocata |
77 | 68 | xenial-pike: | ||
78 | 69 | inherits: openstack-services | ||
79 | 70 | series: xenial | ||
80 | 71 | overrides: | ||
81 | 72 | ha-bindiface: ens2 | ||
82 | 73 | openstack-origin: cloud:xenial-pike | ||
83 | 74 | source: cloud:xenial-pike | ||
84 | 75 | zesty-ocata: | ||
85 | 76 | inherits: openstack-services | ||
86 | 77 | series: zesty | ||
87 | 78 | overrides: | ||
88 | 79 | ha-bindiface: ens2 | ||
89 | 68 | 80 | ||
90 | === modified file 'helper/collect/collect-next-swift-proxy' | |||
91 | --- helper/collect/collect-next-swift-proxy 2017-09-06 14:46:47 +0000 | |||
92 | +++ helper/collect/collect-next-swift-proxy 2017-11-23 13:55:35 +0000 | |||
93 | @@ -3,6 +3,4 @@ | |||
94 | 3 | keystone cs:~openstack-charmers-next/keystone | 3 | keystone cs:~openstack-charmers-next/keystone |
95 | 4 | mysql cs:~openstack-charmers-next/percona-cluster | 4 | mysql cs:~openstack-charmers-next/percona-cluster |
96 | 5 | swift-proxy cs:~openstack-charmers-next/swift-proxy | 5 | swift-proxy cs:~openstack-charmers-next/swift-proxy |
100 | 6 | swift-storage-z1 cs:~openstack-charmers-next/swift-storage | 6 | swift-storage cs:~openstack-charmers-next/swift-storage |
98 | 7 | swift-storage-z2 cs:~openstack-charmers-next/swift-storage | ||
99 | 8 | swift-storage-z3 cs:~openstack-charmers-next/swift-storage | ||
101 | 9 | 7 | ||
102 | === modified file 'helper/scripts/check-lint.sh' | |||
103 | --- helper/scripts/check-lint.sh 2016-04-18 14:36:47 +0000 | |||
104 | +++ helper/scripts/check-lint.sh 2017-11-23 13:55:35 +0000 | |||
105 | @@ -1,7 +1,7 @@ | |||
106 | 1 | #!/bin/bash | 1 | #!/bin/bash |
107 | 2 | 2 | ||
108 | 3 | echo "Checking specs..." | 3 | echo "Checking specs..." |
110 | 4 | for spec in $(find specs/{object_storage,full_stack} -name manifest); do | 4 | for spec in $(find specs/{storage,full_stack} -name manifest); do |
111 | 5 | spec_dir=$(dirname $spec) | 5 | spec_dir=$(dirname $spec) |
112 | 6 | MSGS=$(./helper/scripts/mojo-spec-check.py $spec_dir 2>&1) | 6 | MSGS=$(./helper/scripts/mojo-spec-check.py $spec_dir 2>&1) |
113 | 7 | if [[ "$MSGS" == *WARNING* ]] || [[ "$MSGS" == *ERROR* ]]; then | 7 | if [[ "$MSGS" == *WARNING* ]] || [[ "$MSGS" == *ERROR* ]]; then |
114 | 8 | 8 | ||
115 | === modified file 'helper/setup/juju_set.py' | |||
116 | --- helper/setup/juju_set.py 2017-08-30 17:25:03 +0000 | |||
117 | +++ helper/setup/juju_set.py 2017-11-23 13:55:35 +0000 | |||
118 | @@ -8,12 +8,18 @@ | |||
119 | 8 | parser = argparse.ArgumentParser() | 8 | parser = argparse.ArgumentParser() |
120 | 9 | parser.add_argument("--service") | 9 | parser.add_argument("--service") |
121 | 10 | parser.add_argument("--kv") | 10 | parser.add_argument("--kv") |
122 | 11 | parser.add_argument("--wait") | ||
123 | 11 | options = parser.parse_args() | 12 | options = parser.parse_args() |
124 | 12 | service = mojo_utils.parse_mojo_arg(options, 'service') | 13 | service = mojo_utils.parse_mojo_arg(options, 'service') |
125 | 13 | kv = mojo_utils.parse_mojo_arg(options, 'kv') | 14 | kv = mojo_utils.parse_mojo_arg(options, 'kv') |
126 | 15 | wait = mojo_utils.parse_mojo_arg(options, 'wait') | ||
127 | 16 | print("Wait: {}".format(wait)) | ||
128 | 17 | if wait is not None: | ||
129 | 18 | wait = wait == 'True' | ||
130 | 14 | print("Service: {}".format(service)) | 19 | print("Service: {}".format(service)) |
131 | 15 | print("Option: {}".format(kv)) | 20 | print("Option: {}".format(kv)) |
133 | 16 | mojo_utils.juju_set(service, kv) | 21 | print("Wait: {}".format(wait)) |
134 | 22 | mojo_utils.juju_set(service, kv, wait=wait) | ||
135 | 17 | 23 | ||
136 | 18 | 24 | ||
137 | 19 | if __name__ == "__main__": | 25 | if __name__ == "__main__": |
138 | 20 | 26 | ||
139 | === added symlink 'specs/storage/swift/ha_serial_scaleout/icehouse/juju_set.py' | |||
140 | === target is u'../../../../../helper/setup/juju_set.py' | |||
141 | === modified file 'specs/storage/swift/ha_serial_scaleout/icehouse/manifest' | |||
142 | --- specs/storage/swift/ha_serial_scaleout/icehouse/manifest 2016-10-13 15:30:54 +0000 | |||
143 | +++ specs/storage/swift/ha_serial_scaleout/icehouse/manifest 2017-11-23 13:55:35 +0000 | |||
144 | @@ -7,12 +7,6 @@ | |||
145 | 7 | # Check juju statuses are green and that hooks have finished | 7 | # Check juju statuses are green and that hooks have finished |
146 | 8 | verify config=check_juju.py | 8 | verify config=check_juju.py |
147 | 9 | 9 | ||
148 | 10 | # Add service relations | ||
149 | 11 | deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-icehouse | ||
150 | 12 | |||
151 | 13 | # Check juju statuses are green and that hooks have finished | ||
152 | 14 | verify config=check_juju.py | ||
153 | 15 | |||
154 | 16 | # Setup glance images | 10 | # Setup glance images |
155 | 17 | script config=image_setup.py | 11 | script config=image_setup.py |
156 | 18 | 12 | ||
157 | @@ -25,6 +19,9 @@ | |||
158 | 25 | # Test obj store by sending and recieving files | 19 | # Test obj store by sending and recieving files |
159 | 26 | verify config=test_obj_store.py | 20 | verify config=test_obj_store.py |
160 | 27 | 21 | ||
161 | 22 | # Inc. cluster count | ||
162 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
163 | 24 | |||
164 | 28 | # Add a swift-proxy unit | 25 | # Add a swift-proxy unit |
165 | 29 | script config=add_unit.py UNITS='swift-proxy:1' | 26 | script config=add_unit.py UNITS='swift-proxy:1' |
166 | 30 | 27 | ||
167 | 31 | 28 | ||
168 | === removed symlink 'specs/storage/swift/ha_serial_scaleout/icehouse/swift-ha-proxy-phase2.yaml' | |||
169 | === target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml' | |||
170 | === added symlink 'specs/storage/swift/ha_serial_scaleout/kilo/juju_set.py' | |||
171 | === target is u'../../../../../helper/setup/juju_set.py' | |||
172 | === modified file 'specs/storage/swift/ha_serial_scaleout/kilo/manifest' | |||
173 | --- specs/storage/swift/ha_serial_scaleout/kilo/manifest 2016-10-13 15:30:54 +0000 | |||
174 | +++ specs/storage/swift/ha_serial_scaleout/kilo/manifest 2017-11-23 13:55:35 +0000 | |||
175 | @@ -7,12 +7,6 @@ | |||
176 | 7 | # Check juju statuses are green and that hooks have finished | 7 | # Check juju statuses are green and that hooks have finished |
177 | 8 | verify config=check_juju.py | 8 | verify config=check_juju.py |
178 | 9 | 9 | ||
179 | 10 | # Add service relations | ||
180 | 11 | deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-kilo | ||
181 | 12 | |||
182 | 13 | # Check juju statuses are green and that hooks have finished | ||
183 | 14 | verify config=check_juju.py | ||
184 | 15 | |||
185 | 16 | # Setup glance images | 10 | # Setup glance images |
186 | 17 | script config=image_setup.py | 11 | script config=image_setup.py |
187 | 18 | 12 | ||
188 | @@ -25,6 +19,9 @@ | |||
189 | 25 | # Test obj store by sending and recieving files | 19 | # Test obj store by sending and recieving files |
190 | 26 | verify config=test_obj_store.py | 20 | verify config=test_obj_store.py |
191 | 27 | 21 | ||
192 | 22 | # Inc. cluster count | ||
193 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
194 | 24 | |||
195 | 28 | # Add a swift-proxy unit | 25 | # Add a swift-proxy unit |
196 | 29 | script config=add_unit.py UNITS='swift-proxy:1' | 26 | script config=add_unit.py UNITS='swift-proxy:1' |
197 | 30 | 27 | ||
198 | 31 | 28 | ||
199 | === removed symlink 'specs/storage/swift/ha_serial_scaleout/kilo/swift-ha-proxy-phase2.yaml' | |||
200 | === target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml' | |||
201 | === added symlink 'specs/storage/swift/ha_serial_scaleout/liberty/juju_set.py' | |||
202 | === target is u'../../../../../helper/setup/juju_set.py' | |||
203 | === modified file 'specs/storage/swift/ha_serial_scaleout/liberty/manifest' | |||
204 | --- specs/storage/swift/ha_serial_scaleout/liberty/manifest 2016-10-13 15:30:54 +0000 | |||
205 | +++ specs/storage/swift/ha_serial_scaleout/liberty/manifest 2017-11-23 13:55:35 +0000 | |||
206 | @@ -7,12 +7,6 @@ | |||
207 | 7 | # Check juju statuses are green and that hooks have finished | 7 | # Check juju statuses are green and that hooks have finished |
208 | 8 | verify config=check_juju.py | 8 | verify config=check_juju.py |
209 | 9 | 9 | ||
210 | 10 | # Add service relations | ||
211 | 11 | deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-liberty | ||
212 | 12 | |||
213 | 13 | # Check juju statuses are green and that hooks have finished | ||
214 | 14 | verify config=check_juju.py | ||
215 | 15 | |||
216 | 16 | # Setup glance images | 10 | # Setup glance images |
217 | 17 | script config=image_setup.py | 11 | script config=image_setup.py |
218 | 18 | 12 | ||
219 | @@ -25,6 +19,9 @@ | |||
220 | 25 | # Test obj store by sending and recieving files | 19 | # Test obj store by sending and recieving files |
221 | 26 | verify config=test_obj_store.py | 20 | verify config=test_obj_store.py |
222 | 27 | 21 | ||
223 | 22 | # Inc. cluster count | ||
224 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
225 | 24 | |||
226 | 28 | # Add a swift-proxy unit | 25 | # Add a swift-proxy unit |
227 | 29 | script config=add_unit.py UNITS='swift-proxy:1' | 26 | script config=add_unit.py UNITS='swift-proxy:1' |
228 | 30 | 27 | ||
229 | 31 | 28 | ||
230 | === removed symlink 'specs/storage/swift/ha_serial_scaleout/liberty/swift-ha-proxy-phase2.yaml' | |||
231 | === target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml' | |||
232 | === added symlink 'specs/storage/swift/ha_serial_scaleout/mitaka/juju_set.py' | |||
233 | === target is u'../../../../../helper/setup/juju_set.py' | |||
234 | === modified file 'specs/storage/swift/ha_serial_scaleout/mitaka/manifest' | |||
235 | --- specs/storage/swift/ha_serial_scaleout/mitaka/manifest 2016-10-13 15:30:54 +0000 | |||
236 | +++ specs/storage/swift/ha_serial_scaleout/mitaka/manifest 2017-11-23 13:55:35 +0000 | |||
237 | @@ -7,12 +7,6 @@ | |||
238 | 7 | # Check juju statuses are green and that hooks have finished | 7 | # Check juju statuses are green and that hooks have finished |
239 | 8 | verify config=check_juju.py | 8 | verify config=check_juju.py |
240 | 9 | 9 | ||
241 | 10 | # Add service relations | ||
242 | 11 | deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-mitaka | ||
243 | 12 | |||
244 | 13 | # Check juju statuses are green and that hooks have finished | ||
245 | 14 | verify config=check_juju.py | ||
246 | 15 | |||
247 | 16 | # Setup glance images | 10 | # Setup glance images |
248 | 17 | script config=image_setup.py | 11 | script config=image_setup.py |
249 | 18 | 12 | ||
250 | @@ -25,6 +19,9 @@ | |||
251 | 25 | # Test obj store by sending and recieving files | 19 | # Test obj store by sending and recieving files |
252 | 26 | verify config=test_obj_store.py | 20 | verify config=test_obj_store.py |
253 | 27 | 21 | ||
254 | 22 | # Inc. cluster count | ||
255 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
256 | 24 | |||
257 | 28 | # Add a swift-proxy unit | 25 | # Add a swift-proxy unit |
258 | 29 | script config=add_unit.py UNITS='swift-proxy:1' | 26 | script config=add_unit.py UNITS='swift-proxy:1' |
259 | 30 | 27 | ||
260 | 31 | 28 | ||
261 | === removed symlink 'specs/storage/swift/ha_serial_scaleout/mitaka/swift-ha-proxy-phase2.yaml' | |||
262 | === target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml' | |||
263 | === added symlink 'specs/storage/swift/ha_serial_scaleout/newton/juju_set.py' | |||
264 | === target is u'../../../../../helper/setup/juju_set.py' | |||
265 | === modified file 'specs/storage/swift/ha_serial_scaleout/newton/manifest' | |||
266 | --- specs/storage/swift/ha_serial_scaleout/newton/manifest 2016-10-13 15:30:54 +0000 | |||
267 | +++ specs/storage/swift/ha_serial_scaleout/newton/manifest 2017-11-23 13:55:35 +0000 | |||
268 | @@ -7,12 +7,6 @@ | |||
269 | 7 | # Check juju statuses are green and that hooks have finished | 7 | # Check juju statuses are green and that hooks have finished |
270 | 8 | verify config=check_juju.py | 8 | verify config=check_juju.py |
271 | 9 | 9 | ||
272 | 10 | # Add service relations | ||
273 | 11 | deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-newton | ||
274 | 12 | |||
275 | 13 | # Check juju statuses are green and that hooks have finished | ||
276 | 14 | verify config=check_juju.py | ||
277 | 15 | |||
278 | 16 | # Setup glance images | 10 | # Setup glance images |
279 | 17 | script config=image_setup.py | 11 | script config=image_setup.py |
280 | 18 | 12 | ||
281 | @@ -25,6 +19,9 @@ | |||
282 | 25 | # Test obj store by sending and recieving files | 19 | # Test obj store by sending and recieving files |
283 | 26 | verify config=test_obj_store.py | 20 | verify config=test_obj_store.py |
284 | 27 | 21 | ||
285 | 22 | # Inc. cluster count | ||
286 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
287 | 24 | |||
288 | 28 | # Add a swift-proxy unit | 25 | # Add a swift-proxy unit |
289 | 29 | script config=add_unit.py UNITS='swift-proxy:1' | 26 | script config=add_unit.py UNITS='swift-proxy:1' |
290 | 30 | 27 | ||
291 | 31 | 28 | ||
292 | === removed symlink 'specs/storage/swift/ha_serial_scaleout/newton/swift-ha-proxy-phase2.yaml' | |||
293 | === target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml' | |||
294 | === added directory 'specs/storage/swift/ha_serial_scaleout/ocata' | |||
295 | === added file 'specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt' | |||
296 | --- specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
297 | +++ specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt 2017-11-23 13:55:35 +0000 | |||
298 | @@ -0,0 +1,3 @@ | |||
299 | 1 | This spec deploys a swift cluster fronted by multiple swift proxy front ends. | ||
300 | 2 | Swift proxy is then scaled out and once that has completed swift storage is | ||
301 | 3 | scaled out. The resulting object store is then retested. | ||
302 | 0 | 4 | ||
303 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/add_unit.py' | |||
304 | === target is u'../../../../../helper/setup/add_unit.py' | |||
305 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/check_juju.py' | |||
306 | === target is u'../../../../../helper/tests/check_juju.py' | |||
307 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/collect-next-swift-proxy' | |||
308 | === target is u'../../../../../helper/collect/collect-next-swift-proxy' | |||
309 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/image_setup.py' | |||
310 | === target is u'../../../../../helper/setup/image_setup.py' | |||
311 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/images.yaml' | |||
312 | === target is u'../../../../../helper/setup/images.yaml' | |||
313 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/juju_set.py' | |||
314 | === target is u'../../../../../helper/setup/juju_set.py' | |||
315 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/keystone_setup.py' | |||
316 | === target is u'../../../../../helper/setup/keystone_setup.py' | |||
317 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/keystone_users.yaml' | |||
318 | === target is u'../../../../../helper/setup/keystone_users.yaml' | |||
319 | === added file 'specs/storage/swift/ha_serial_scaleout/ocata/manifest' | |||
320 | --- specs/storage/swift/ha_serial_scaleout/ocata/manifest 1970-01-01 00:00:00 +0000 | |||
321 | +++ specs/storage/swift/ha_serial_scaleout/ocata/manifest 2017-11-23 13:55:35 +0000 | |||
322 | @@ -0,0 +1,49 @@ | |||
323 | 1 | # Collect the charm branches from Launchpad | ||
324 | 2 | collect config=collect-next-swift-proxy | ||
325 | 3 | |||
326 | 4 | # Deploy service units | ||
327 | 5 | deploy config=swift-ha-proxy-phase1.yaml delay=0 wait=False target=${MOJO_SERIES}-ocata | ||
328 | 6 | |||
329 | 7 | # Check juju statuses are green and that hooks have finished | ||
330 | 8 | verify config=check_juju.py | ||
331 | 9 | |||
332 | 10 | # Setup glance images | ||
333 | 11 | script config=image_setup.py | ||
334 | 12 | |||
335 | 13 | # Setup keystone users | ||
336 | 14 | script config=keystone_setup.py | ||
337 | 15 | |||
338 | 16 | # Check ring data is consistent accross proxies | ||
339 | 17 | verify config=swift_ring_status.py | ||
340 | 18 | |||
341 | 19 | # Test obj store by sending and recieving files | ||
342 | 20 | verify config=test_obj_store.py | ||
343 | 21 | |||
344 | 22 | # Inc. cluster count | ||
345 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
346 | 24 | |||
347 | 25 | # Add a swift-proxy unit | ||
348 | 26 | script config=add_unit.py UNITS='swift-proxy:1' | ||
349 | 27 | |||
350 | 28 | # Check juju statuses are green and that hooks have finished | ||
351 | 29 | verify config=check_juju.py | ||
352 | 30 | |||
353 | 31 | # Check ring data is consistent accross proxies | ||
354 | 32 | verify config=swift_ring_status.py | ||
355 | 33 | |||
356 | 34 | # Test obj store by sending and recieving files | ||
357 | 35 | verify config=test_obj_store.py | ||
358 | 36 | |||
359 | 37 | # Add swift-storage units | ||
360 | 38 | script config=add_unit.py UNITS='swift-storage-z1:1 swift-storage-z2:1 swift-storage-z3:1' | ||
361 | 39 | |||
362 | 40 | # Check juju statuses are green and that hooks have finished | ||
363 | 41 | verify config=check_juju.py | ||
364 | 42 | |||
365 | 43 | # Check ring data is consistent accross proxies | ||
366 | 44 | verify config=swift_ring_status.py | ||
367 | 45 | |||
368 | 46 | # Test obj store by sending and recieving files | ||
369 | 47 | verify config=test_obj_store.py | ||
370 | 48 | |||
371 | 49 | # Success | ||
372 | 0 | 50 | ||
373 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/swift-ha-proxy-phase1.yaml' | |||
374 | === target is u'../../../../../helper/bundles/swift-ha-proxy-phase1.yaml' | |||
375 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/swift_ring_status.py' | |||
376 | === target is u'../../../../../helper/tests/swift_ring_status.py' | |||
377 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/test_obj_store.py' | |||
378 | === target is u'../../../../../helper/tests/test_obj_store.py' | |||
379 | === added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/utils' | |||
380 | === target is u'../../../../../helper/utils' | |||
381 | === added directory 'specs/storage/swift/ha_serial_scaleout/pike' | |||
382 | === added file 'specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt' | |||
383 | --- specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
384 | +++ specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt 2017-11-23 13:55:35 +0000 | |||
385 | @@ -0,0 +1,3 @@ | |||
386 | 1 | This spec deploys a swift cluster fronted by multiple swift proxy front ends. | ||
387 | 2 | Swift proxy is then scaled out and once that has completed swift storage is | ||
388 | 3 | scaled out. The resulting object store is then retested. | ||
389 | 0 | 4 | ||
390 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/add_unit.py' | |||
391 | === target is u'../../../../../helper/setup/add_unit.py' | |||
392 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/check_juju.py' | |||
393 | === target is u'../../../../../helper/tests/check_juju.py' | |||
394 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/collect-next-swift-proxy' | |||
395 | === target is u'../../../../../helper/collect/collect-next-swift-proxy' | |||
396 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/image_setup.py' | |||
397 | === target is u'../../../../../helper/setup/image_setup.py' | |||
398 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/images.yaml' | |||
399 | === target is u'../../../../../helper/setup/images.yaml' | |||
400 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/juju_set.py' | |||
401 | === target is u'../../../../../helper/setup/juju_set.py' | |||
402 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/keystone_setup.py' | |||
403 | === target is u'../../../../../helper/setup/keystone_setup.py' | |||
404 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/keystone_users.yaml' | |||
405 | === target is u'../../../../../helper/setup/keystone_users.yaml' | |||
406 | === added file 'specs/storage/swift/ha_serial_scaleout/pike/manifest' | |||
407 | --- specs/storage/swift/ha_serial_scaleout/pike/manifest 1970-01-01 00:00:00 +0000 | |||
408 | +++ specs/storage/swift/ha_serial_scaleout/pike/manifest 2017-11-23 13:55:35 +0000 | |||
409 | @@ -0,0 +1,49 @@ | |||
410 | 1 | # Collect the charm branches from Launchpad | ||
411 | 2 | collect config=collect-next-swift-proxy | ||
412 | 3 | |||
413 | 4 | # Deploy service units | ||
414 | 5 | deploy config=swift-ha-proxy-phase1.yaml delay=0 wait=False target=${MOJO_SERIES}-pike | ||
415 | 6 | |||
416 | 7 | # Check juju statuses are green and that hooks have finished | ||
417 | 8 | verify config=check_juju.py | ||
418 | 9 | |||
419 | 10 | # Setup glance images | ||
420 | 11 | script config=image_setup.py | ||
421 | 12 | |||
422 | 13 | # Setup keystone users | ||
423 | 14 | script config=keystone_setup.py | ||
424 | 15 | |||
425 | 16 | # Check ring data is consistent accross proxies | ||
426 | 17 | verify config=swift_ring_status.py | ||
427 | 18 | |||
428 | 19 | # Test obj store by sending and recieving files | ||
429 | 20 | verify config=test_obj_store.py | ||
430 | 21 | |||
431 | 22 | # Inc. cluster count | ||
432 | 23 | script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False' | ||
433 | 24 | |||
434 | 25 | # Add a swift-proxy unit | ||
435 | 26 | script config=add_unit.py UNITS='swift-proxy:1' | ||
436 | 27 | |||
437 | 28 | # Check juju statuses are green and that hooks have finished | ||
438 | 29 | verify config=check_juju.py | ||
439 | 30 | |||
440 | 31 | # Check ring data is consistent accross proxies | ||
441 | 32 | verify config=swift_ring_status.py | ||
442 | 33 | |||
443 | 34 | # Test obj store by sending and recieving files | ||
444 | 35 | verify config=test_obj_store.py | ||
445 | 36 | |||
446 | 37 | # Add swift-storage units | ||
447 | 38 | script config=add_unit.py UNITS='swift-storage-z1:1 swift-storage-z2:1 swift-storage-z3:1' | ||
448 | 39 | |||
449 | 40 | # Check juju statuses are green and that hooks have finished | ||
450 | 41 | verify config=check_juju.py | ||
451 | 42 | |||
452 | 43 | # Check ring data is consistent accross proxies | ||
453 | 44 | verify config=swift_ring_status.py | ||
454 | 45 | |||
455 | 46 | # Test obj store by sending and recieving files | ||
456 | 47 | verify config=test_obj_store.py | ||
457 | 48 | |||
458 | 49 | # Success | ||
459 | 0 | 50 | ||
460 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/swift-ha-proxy-phase1.yaml' | |||
461 | === target is u'../../../../../helper/bundles/swift-ha-proxy-phase1.yaml' | |||
462 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/swift_ring_status.py' | |||
463 | === target is u'../../../../../helper/tests/swift_ring_status.py' | |||
464 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/test_obj_store.py' | |||
465 | === target is u'../../../../../helper/tests/test_obj_store.py' | |||
466 | === added symlink 'specs/storage/swift/ha_serial_scaleout/pike/utils' | |||
467 | === target is u'../../../../../helper/utils' |
Looks good to me, merging