Merge lp:~gnuoy/openstack-mojo-specs/swift-spec-fixes into lp:openstack-mojo-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
Reviewer Review Type Date Requested Status
Chris MacNaughton (community) Approve
Review via email: mp+334190@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Looks good to me, merging

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'helper/bundles/swift-ha-proxy-phase1.yaml'
--- helper/bundles/swift-ha-proxy-phase1.yaml 2017-09-11 15:47:30 +0000
+++ helper/bundles/swift-ha-proxy-phase1.yaml 2017-11-23 13:55:35 +0000
@@ -27,21 +27,21 @@
27 swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae27 swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
28 disable-ring-balance: False28 disable-ring-balance: False
29 swift-storage-z1:29 swift-storage-z1:
30 charm: swift-storage-z130 charm: swift-storage
31 constraints: mem=1G31 constraints: mem=1G
32 options:32 options:
33 zone: 133 zone: 1
34 block-device: vdb34 block-device: vdb
35 overwrite: "true"35 overwrite: "true"
36 swift-storage-z2:36 swift-storage-z2:
37 charm: swift-storage-z237 charm: swift-storage
38 constraints: mem=1G38 constraints: mem=1G
39 options:39 options:
40 zone: 240 zone: 2
41 block-device: vdb41 block-device: vdb
42 overwrite: "true"42 overwrite: "true"
43 swift-storage-z3:43 swift-storage-z3:
44 charm: swift-storage-z344 charm: swift-storage
45 constraints: mem=1G45 constraints: mem=1G
46 options:46 options:
47 zone: 347 zone: 3
@@ -56,6 +56,8 @@
56 - [ keystone, mysql ]56 - [ keystone, mysql ]
57 - [ glance, mysql ]57 - [ glance, mysql ]
58 - [ glance, keystone ]58 - [ glance, keystone ]
59 - [ glance, swift-proxy ]
60 - [ swift-proxy, keystone ]
59 - [ swift-proxy, swift-hacluster ]61 - [ swift-proxy, swift-hacluster ]
60 - [ swift-proxy, swift-storage-z1 ]62 - [ swift-proxy, swift-storage-z1 ]
61 - [ swift-proxy, swift-storage-z2 ]63 - [ swift-proxy, swift-storage-z2 ]
@@ -101,3 +103,15 @@
101 ha-bindiface: ens2103 ha-bindiface: ens2
102 openstack-origin: cloud:xenial-ocata104 openstack-origin: cloud:xenial-ocata
103 source: cloud:xenial-ocata105 source: cloud:xenial-ocata
106xenial-pike:
107 inherits: openstack-services
108 series: xenial
109 overrides:
110 ha-bindiface: ens2
111 openstack-origin: cloud:xenial-pike
112 source: cloud:xenial-pike
113zesty-ocata:
114 inherits: openstack-services
115 series: zesty
116 overrides:
117 ha-bindiface: ens2
104118
=== modified file 'helper/bundles/swift-ha-proxy-phase2.yaml'
--- helper/bundles/swift-ha-proxy-phase2.yaml 2017-09-05 21:37:34 +0000
+++ helper/bundles/swift-ha-proxy-phase2.yaml 2017-11-23 13:55:35 +0000
@@ -11,11 +11,11 @@
11 swift-proxy:11 swift-proxy:
12 charm: swift-proxy12 charm: swift-proxy
13 swift-storage-z1:13 swift-storage-z1:
14 charm: swift-storage-z114 charm: swift-storage
15 swift-storage-z2:15 swift-storage-z2:
16 charm: swift-storage-z216 charm: swift-storage
17 swift-storage-z3:17 swift-storage-z3:
18 charm: swift-storage-z318 charm: swift-storage
19 swift-hacluster:19 swift-hacluster:
20 charm: hacluster20 charm: hacluster
21 relations:21 relations:
@@ -65,3 +65,15 @@
65 ha-bindiface: ens265 ha-bindiface: ens2
66 openstack-origin: cloud:xenial-ocata66 openstack-origin: cloud:xenial-ocata
67 source: cloud:xenial-ocata67 source: cloud:xenial-ocata
68xenial-pike:
69 inherits: openstack-services
70 series: xenial
71 overrides:
72 ha-bindiface: ens2
73 openstack-origin: cloud:xenial-pike
74 source: cloud:xenial-pike
75zesty-ocata:
76 inherits: openstack-services
77 series: zesty
78 overrides:
79 ha-bindiface: ens2
6880
=== modified file 'helper/collect/collect-next-swift-proxy'
--- helper/collect/collect-next-swift-proxy 2017-09-06 14:46:47 +0000
+++ helper/collect/collect-next-swift-proxy 2017-11-23 13:55:35 +0000
@@ -3,6 +3,4 @@
3keystone cs:~openstack-charmers-next/keystone3keystone cs:~openstack-charmers-next/keystone
4mysql cs:~openstack-charmers-next/percona-cluster4mysql cs:~openstack-charmers-next/percona-cluster
5swift-proxy cs:~openstack-charmers-next/swift-proxy5swift-proxy cs:~openstack-charmers-next/swift-proxy
6swift-storage-z1 cs:~openstack-charmers-next/swift-storage6swift-storage cs:~openstack-charmers-next/swift-storage
7swift-storage-z2 cs:~openstack-charmers-next/swift-storage
8swift-storage-z3 cs:~openstack-charmers-next/swift-storage
97
=== modified file 'helper/scripts/check-lint.sh'
--- helper/scripts/check-lint.sh 2016-04-18 14:36:47 +0000
+++ helper/scripts/check-lint.sh 2017-11-23 13:55:35 +0000
@@ -1,7 +1,7 @@
1#!/bin/bash1#!/bin/bash
22
3echo "Checking specs..."3echo "Checking specs..."
4for spec in $(find specs/{object_storage,full_stack} -name manifest); do4for spec in $(find specs/{storage,full_stack} -name manifest); do
5 spec_dir=$(dirname $spec)5 spec_dir=$(dirname $spec)
6 MSGS=$(./helper/scripts/mojo-spec-check.py $spec_dir 2>&1)6 MSGS=$(./helper/scripts/mojo-spec-check.py $spec_dir 2>&1)
7 if [[ "$MSGS" == *WARNING* ]] || [[ "$MSGS" == *ERROR* ]]; then7 if [[ "$MSGS" == *WARNING* ]] || [[ "$MSGS" == *ERROR* ]]; then
88
=== modified file 'helper/setup/juju_set.py'
--- helper/setup/juju_set.py 2017-08-30 17:25:03 +0000
+++ helper/setup/juju_set.py 2017-11-23 13:55:35 +0000
@@ -8,12 +8,18 @@
8 parser = argparse.ArgumentParser()8 parser = argparse.ArgumentParser()
9 parser.add_argument("--service")9 parser.add_argument("--service")
10 parser.add_argument("--kv")10 parser.add_argument("--kv")
11 parser.add_argument("--wait")
11 options = parser.parse_args()12 options = parser.parse_args()
12 service = mojo_utils.parse_mojo_arg(options, 'service')13 service = mojo_utils.parse_mojo_arg(options, 'service')
13 kv = mojo_utils.parse_mojo_arg(options, 'kv')14 kv = mojo_utils.parse_mojo_arg(options, 'kv')
15 wait = mojo_utils.parse_mojo_arg(options, 'wait')
16 print("Wait: {}".format(wait))
17 if wait is not None:
18 wait = wait == 'True'
14 print("Service: {}".format(service))19 print("Service: {}".format(service))
15 print("Option: {}".format(kv))20 print("Option: {}".format(kv))
16 mojo_utils.juju_set(service, kv)21 print("Wait: {}".format(wait))
22 mojo_utils.juju_set(service, kv, wait=wait)
1723
1824
19if __name__ == "__main__":25if __name__ == "__main__":
2026
=== added symlink 'specs/storage/swift/ha_serial_scaleout/icehouse/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== modified file 'specs/storage/swift/ha_serial_scaleout/icehouse/manifest'
--- specs/storage/swift/ha_serial_scaleout/icehouse/manifest 2016-10-13 15:30:54 +0000
+++ specs/storage/swift/ha_serial_scaleout/icehouse/manifest 2017-11-23 13:55:35 +0000
@@ -7,12 +7,6 @@
7# Check juju statuses are green and that hooks have finished7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py8verify config=check_juju.py
99
10# Add service relations
11deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-icehouse
12
13# Check juju statuses are green and that hooks have finished
14verify config=check_juju.py
15
16# Setup glance images10# Setup glance images
17script config=image_setup.py11script config=image_setup.py
1812
@@ -25,6 +19,9 @@
25# Test obj store by sending and recieving files19# Test obj store by sending and recieving files
26verify config=test_obj_store.py20verify config=test_obj_store.py
2721
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
28# Add a swift-proxy unit25# Add a swift-proxy unit
29script config=add_unit.py UNITS='swift-proxy:1'26script config=add_unit.py UNITS='swift-proxy:1'
3027
3128
=== removed symlink 'specs/storage/swift/ha_serial_scaleout/icehouse/swift-ha-proxy-phase2.yaml'
=== target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/kilo/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== modified file 'specs/storage/swift/ha_serial_scaleout/kilo/manifest'
--- specs/storage/swift/ha_serial_scaleout/kilo/manifest 2016-10-13 15:30:54 +0000
+++ specs/storage/swift/ha_serial_scaleout/kilo/manifest 2017-11-23 13:55:35 +0000
@@ -7,12 +7,6 @@
7# Check juju statuses are green and that hooks have finished7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py8verify config=check_juju.py
99
10# Add service relations
11deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-kilo
12
13# Check juju statuses are green and that hooks have finished
14verify config=check_juju.py
15
16# Setup glance images10# Setup glance images
17script config=image_setup.py11script config=image_setup.py
1812
@@ -25,6 +19,9 @@
25# Test obj store by sending and recieving files19# Test obj store by sending and recieving files
26verify config=test_obj_store.py20verify config=test_obj_store.py
2721
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
28# Add a swift-proxy unit25# Add a swift-proxy unit
29script config=add_unit.py UNITS='swift-proxy:1'26script config=add_unit.py UNITS='swift-proxy:1'
3027
3128
=== removed symlink 'specs/storage/swift/ha_serial_scaleout/kilo/swift-ha-proxy-phase2.yaml'
=== target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/liberty/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== modified file 'specs/storage/swift/ha_serial_scaleout/liberty/manifest'
--- specs/storage/swift/ha_serial_scaleout/liberty/manifest 2016-10-13 15:30:54 +0000
+++ specs/storage/swift/ha_serial_scaleout/liberty/manifest 2017-11-23 13:55:35 +0000
@@ -7,12 +7,6 @@
7# Check juju statuses are green and that hooks have finished7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py8verify config=check_juju.py
99
10# Add service relations
11deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-liberty
12
13# Check juju statuses are green and that hooks have finished
14verify config=check_juju.py
15
16# Setup glance images10# Setup glance images
17script config=image_setup.py11script config=image_setup.py
1812
@@ -25,6 +19,9 @@
25# Test obj store by sending and recieving files19# Test obj store by sending and recieving files
26verify config=test_obj_store.py20verify config=test_obj_store.py
2721
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
28# Add a swift-proxy unit25# Add a swift-proxy unit
29script config=add_unit.py UNITS='swift-proxy:1'26script config=add_unit.py UNITS='swift-proxy:1'
3027
3128
=== removed symlink 'specs/storage/swift/ha_serial_scaleout/liberty/swift-ha-proxy-phase2.yaml'
=== target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/mitaka/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== modified file 'specs/storage/swift/ha_serial_scaleout/mitaka/manifest'
--- specs/storage/swift/ha_serial_scaleout/mitaka/manifest 2016-10-13 15:30:54 +0000
+++ specs/storage/swift/ha_serial_scaleout/mitaka/manifest 2017-11-23 13:55:35 +0000
@@ -7,12 +7,6 @@
7# Check juju statuses are green and that hooks have finished7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py8verify config=check_juju.py
99
10# Add service relations
11deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-mitaka
12
13# Check juju statuses are green and that hooks have finished
14verify config=check_juju.py
15
16# Setup glance images10# Setup glance images
17script config=image_setup.py11script config=image_setup.py
1812
@@ -25,6 +19,9 @@
25# Test obj store by sending and recieving files19# Test obj store by sending and recieving files
26verify config=test_obj_store.py20verify config=test_obj_store.py
2721
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
28# Add a swift-proxy unit25# Add a swift-proxy unit
29script config=add_unit.py UNITS='swift-proxy:1'26script config=add_unit.py UNITS='swift-proxy:1'
3027
3128
=== removed symlink 'specs/storage/swift/ha_serial_scaleout/mitaka/swift-ha-proxy-phase2.yaml'
=== target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/newton/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== modified file 'specs/storage/swift/ha_serial_scaleout/newton/manifest'
--- specs/storage/swift/ha_serial_scaleout/newton/manifest 2016-10-13 15:30:54 +0000
+++ specs/storage/swift/ha_serial_scaleout/newton/manifest 2017-11-23 13:55:35 +0000
@@ -7,12 +7,6 @@
7# Check juju statuses are green and that hooks have finished7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py8verify config=check_juju.py
99
10# Add service relations
11deploy config=swift-ha-proxy-phase2.yaml delay=0 wait=False target=${MOJO_SERIES}-newton
12
13# Check juju statuses are green and that hooks have finished
14verify config=check_juju.py
15
16# Setup glance images10# Setup glance images
17script config=image_setup.py11script config=image_setup.py
1812
@@ -25,6 +19,9 @@
25# Test obj store by sending and recieving files19# Test obj store by sending and recieving files
26verify config=test_obj_store.py20verify config=test_obj_store.py
2721
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
28# Add a swift-proxy unit25# Add a swift-proxy unit
29script config=add_unit.py UNITS='swift-proxy:1'26script config=add_unit.py UNITS='swift-proxy:1'
3027
3128
=== removed symlink 'specs/storage/swift/ha_serial_scaleout/newton/swift-ha-proxy-phase2.yaml'
=== target was u'../../../../../helper/bundles/swift-ha-proxy-phase2.yaml'
=== added directory 'specs/storage/swift/ha_serial_scaleout/ocata'
=== added file 'specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt'
--- specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/storage/swift/ha_serial_scaleout/ocata/SPEC_INFO.txt 2017-11-23 13:55:35 +0000
@@ -0,0 +1,3 @@
1This spec deploys a swift cluster fronted by multiple swift proxy front ends.
2Swift proxy is then scaled out and once that has completed swift storage is
3scaled out. The resulting object store is then retested.
04
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/add_unit.py'
=== target is u'../../../../../helper/setup/add_unit.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/check_juju.py'
=== target is u'../../../../../helper/tests/check_juju.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/collect-next-swift-proxy'
=== target is u'../../../../../helper/collect/collect-next-swift-proxy'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/image_setup.py'
=== target is u'../../../../../helper/setup/image_setup.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/images.yaml'
=== target is u'../../../../../helper/setup/images.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/keystone_setup.py'
=== target is u'../../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/keystone_users.yaml'
=== target is u'../../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/storage/swift/ha_serial_scaleout/ocata/manifest'
--- specs/storage/swift/ha_serial_scaleout/ocata/manifest 1970-01-01 00:00:00 +0000
+++ specs/storage/swift/ha_serial_scaleout/ocata/manifest 2017-11-23 13:55:35 +0000
@@ -0,0 +1,49 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next-swift-proxy
3
4# Deploy service units
5deploy config=swift-ha-proxy-phase1.yaml delay=0 wait=False target=${MOJO_SERIES}-ocata
6
7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py
9
10# Setup glance images
11script config=image_setup.py
12
13# Setup keystone users
14script config=keystone_setup.py
15
16# Check ring data is consistent accross proxies
17verify config=swift_ring_status.py
18
19# Test obj store by sending and recieving files
20verify config=test_obj_store.py
21
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
25# Add a swift-proxy unit
26script config=add_unit.py UNITS='swift-proxy:1'
27
28# Check juju statuses are green and that hooks have finished
29verify config=check_juju.py
30
31# Check ring data is consistent accross proxies
32verify config=swift_ring_status.py
33
34# Test obj store by sending and recieving files
35verify config=test_obj_store.py
36
37# Add swift-storage units
38script config=add_unit.py UNITS='swift-storage-z1:1 swift-storage-z2:1 swift-storage-z3:1'
39
40# Check juju statuses are green and that hooks have finished
41verify config=check_juju.py
42
43# Check ring data is consistent accross proxies
44verify config=swift_ring_status.py
45
46# Test obj store by sending and recieving files
47verify config=test_obj_store.py
48
49# Success
050
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/swift-ha-proxy-phase1.yaml'
=== target is u'../../../../../helper/bundles/swift-ha-proxy-phase1.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/swift_ring_status.py'
=== target is u'../../../../../helper/tests/swift_ring_status.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/test_obj_store.py'
=== target is u'../../../../../helper/tests/test_obj_store.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/ocata/utils'
=== target is u'../../../../../helper/utils'
=== added directory 'specs/storage/swift/ha_serial_scaleout/pike'
=== added file 'specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt'
--- specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/storage/swift/ha_serial_scaleout/pike/SPEC_INFO.txt 2017-11-23 13:55:35 +0000
@@ -0,0 +1,3 @@
1This spec deploys a swift cluster fronted by multiple swift proxy front ends.
2Swift proxy is then scaled out and once that has completed swift storage is
3scaled out. The resulting object store is then retested.
04
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/add_unit.py'
=== target is u'../../../../../helper/setup/add_unit.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/check_juju.py'
=== target is u'../../../../../helper/tests/check_juju.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/collect-next-swift-proxy'
=== target is u'../../../../../helper/collect/collect-next-swift-proxy'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/image_setup.py'
=== target is u'../../../../../helper/setup/image_setup.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/images.yaml'
=== target is u'../../../../../helper/setup/images.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/juju_set.py'
=== target is u'../../../../../helper/setup/juju_set.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/keystone_setup.py'
=== target is u'../../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/keystone_users.yaml'
=== target is u'../../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/storage/swift/ha_serial_scaleout/pike/manifest'
--- specs/storage/swift/ha_serial_scaleout/pike/manifest 1970-01-01 00:00:00 +0000
+++ specs/storage/swift/ha_serial_scaleout/pike/manifest 2017-11-23 13:55:35 +0000
@@ -0,0 +1,49 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next-swift-proxy
3
4# Deploy service units
5deploy config=swift-ha-proxy-phase1.yaml delay=0 wait=False target=${MOJO_SERIES}-pike
6
7# Check juju statuses are green and that hooks have finished
8verify config=check_juju.py
9
10# Setup glance images
11script config=image_setup.py
12
13# Setup keystone users
14script config=keystone_setup.py
15
16# Check ring data is consistent accross proxies
17verify config=swift_ring_status.py
18
19# Test obj store by sending and recieving files
20verify config=test_obj_store.py
21
22# Inc. cluster count
23script config=juju_set.py SERVICE='swift-hacluster' KV='cluster_count=4' WAIT='False'
24
25# Add a swift-proxy unit
26script config=add_unit.py UNITS='swift-proxy:1'
27
28# Check juju statuses are green and that hooks have finished
29verify config=check_juju.py
30
31# Check ring data is consistent accross proxies
32verify config=swift_ring_status.py
33
34# Test obj store by sending and recieving files
35verify config=test_obj_store.py
36
37# Add swift-storage units
38script config=add_unit.py UNITS='swift-storage-z1:1 swift-storage-z2:1 swift-storage-z3:1'
39
40# Check juju statuses are green and that hooks have finished
41verify config=check_juju.py
42
43# Check ring data is consistent accross proxies
44verify config=swift_ring_status.py
45
46# Test obj store by sending and recieving files
47verify config=test_obj_store.py
48
49# Success
050
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/swift-ha-proxy-phase1.yaml'
=== target is u'../../../../../helper/bundles/swift-ha-proxy-phase1.yaml'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/swift_ring_status.py'
=== target is u'../../../../../helper/tests/swift_ring_status.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/test_obj_store.py'
=== target is u'../../../../../helper/tests/test_obj_store.py'
=== added symlink 'specs/storage/swift/ha_serial_scaleout/pike/utils'
=== target is u'../../../../../helper/utils'

Subscribers

People subscribed via source and target branches