Merge lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-spec-tidy-l2pop into lp:openstack-mojo-specs
- mojo-openstack-specs-spec-tidy-l2pop
- Merge into mojo-openstack-specs
Status: | Needs review |
---|---|
Proposed branch: | lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-spec-tidy-l2pop |
Merge into: | lp:openstack-mojo-specs |
Diff against target: |
2942 lines (+2245/-50) 49 files modified
helper/collect/collect-next (+2/-2) helper/collect/repo-next (+1/-1) helper/setup/upgrade_openstack.py (+61/-0) helper/utils/mojo_os_utils.py (+1/-0) helper/utils/mojo_utils.py (+50/-23) specs/bugs/1427660/icehouse/SPEC_INFO.txt (+2/-0) specs/bugs/1427660/icehouse/collect-next (+19/-0) specs/bugs/1427660/icehouse/manifest (+23/-0) specs/dev/dvr/collect-next (+4/-4) specs/dev/full_nrpe/collect-next (+5/-4) specs/dev/full_nrpe/next.yaml (+29/-15) specs/dev/full_nrpe/repo-next (+2/-1) specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt (+2/-0) specs/dev/full_nrpe_ha/icehouse/collect-next-ha (+21/-0) specs/dev/full_nrpe_ha/icehouse/haphase1.yaml (+201/-0) specs/dev/full_nrpe_ha/icehouse/haphase2.yaml (+253/-0) specs/dev/full_nrpe_ha/icehouse/manifest (+35/-0) specs/dev/full_nrpe_ha/icehouse/repo-next-ha (+21/-0) specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt (+2/-0) specs/dev/full_nrpe_ha/juno/manifest (+35/-0) specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt (+2/-0) specs/dev/full_nrpe_ha/kilo/manifest (+35/-0) specs/dev/kilo/SPEC_INFO.txt (+2/-0) specs/dev/kilo/collect-next (+19/-0) specs/dev/kilo/full.yaml (+252/-0) specs/dev/kilo/manifest (+23/-0) specs/dev/neutronshuffle/SPEC_INFO.txt (+2/-0) specs/dev/neutronshuffle/manifest (+23/-0) specs/dev/next_l2pop/icehouse/SPEC_INFO.txt (+2/-0) specs/dev/next_l2pop/icehouse/full.yaml (+263/-0) specs/dev/next_l2pop/icehouse/manifest (+23/-0) specs/dev/next_l2pop/juno/SPEC_INFO.txt (+2/-0) specs/dev/next_l2pop/juno/manifest (+23/-0) specs/dev/next_l2pop/kilo/SPEC_INFO.txt (+2/-0) specs/dev/next_l2pop/kilo/manifest (+23/-0) specs/dev/vrrp_blog/SPEC_INFO.txt (+1/-0) specs/dev/vrrp_blog/bug1364215.py (+12/-0) specs/dev/vrrp_blog/collect-next (+19/-0) specs/dev/vrrp_blog/full_vrrpha.yaml (+194/-0) specs/dev/vrrp_blog/manifest (+29/-0) specs/dev/vrrp_blog/network.yaml (+48/-0) specs/dev/vrrp_blog/test_vrrp_ha.py (+93/-0) specs/dev/vrrp_ha/SPEC_INFO.txt (+1/-0) specs/dev/vrrp_ha/bug1364215.py (+12/-0) specs/dev/vrrp_ha/collect-next (+19/-0) specs/dev/vrrp_ha/full_vrrpha.yaml (+194/-0) specs/dev/vrrp_ha/manifest (+29/-0) specs/dev/vrrp_ha/network.yaml (+36/-0) specs/dev/vrrp_ha/test_vrrp_ha.py (+93/-0) |
To merge this branch: | bzr merge lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-spec-tidy-l2pop |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenStack Charm Testing Maintainers | Pending | ||
Review via email: mp+249489@code.launchpad.net |
Commit message
Description of the change
add sepcs for l2pop and openstack upgrades
- 213. By Liam Young
-
Added vrrp_ha spec
- 214. By Liam Young
-
enable-l3ha on deploy for vrrp_ha spec
- 215. By Liam Young
-
Add vrrp ha test
- 216. By Liam Young
-
Remove debug print
- 217. By Liam Young
-
Update nrpe spec with brads new branches
- 218. By Liam Young
-
Added full_nrpe_ha spec
- 219. By Liam Young
-
Fix repo
- 220. By Liam Young
-
Add missing ceph-osd
- 221. By Liam Young
-
Added spec for Bug 1427660
- 222. By Liam Young
-
Add spec for testinmg neutron shuffle branches
- 223. By Liam Young
-
Add kilo spec
- 224. By Liam Young
-
Remove ceilometer due to mongodb issues
- 225. By Liam Young
-
Use percona
- 226. By Liam Young
-
use mysql kilo branch
- 227. By Liam Young
-
Fix kilo branch
- 228. By Liam Young
-
api kilo fix branch
- 229. By Liam Young
-
ncc kilo fix branch
- 230. By Liam Young
-
Use Mr Pages ppa for kilo charm testing
- 231. By Liam Young
-
Restore James' branches
- 232. By Liam Young
-
Kilo ppa for vivid
- 233. By Liam Young <email address hidden>
-
Update dvr branches as some have landed
- 234. By Liam Young <email address hidden>
-
Remove removed relation from deployer yaml
- 235. By Liam Young
-
Update nrpe spec
- 236. By Liam Young
-
Merged trunk in
- 237. By Liam Young
-
Be explicit about nrpe relation
- 238. By Liam Young
-
Actually include nagios charm
- 239. By Liam Young
-
Test new neutron-api branch
- 240. By Liam Young
-
Add missing relation to dvr spec
- 241. By Liam Young
-
Switch to vivid kilo
- 242. By Liam Young
-
Merge trunk in
- 243. By Liam Young
-
Switch to next branches
- 244. By Liam Young
-
Merged trunk in
- 245. By Liam Young
-
Back to vivid kilo
- 246. By Liam Young
-
Switch to percona
- 247. By Liam Young
-
Switch to trusty
- 248. By Liam Young
-
Add trusty kilo target
- 249. By Liam Young
-
Blog spec
- 250. By Liam Young
-
Fix blog spec to not run vrrp tests immediatly
- 251. By Liam Young
-
Test vrrp fix branches
- 252. By Liam Young
-
Restore netconfig
Ryan Beisner (1chb1n) wrote : | # |
Bwahahaaa. I've unleashed the bot on our mojo specs. ;-)
Take note that my proposed branch is what uosci is running, and it has more lint check logic.
lp:~1chb1n/openstack-mojo-specs/baremetal-bundle-constrainer
Unmerged revisions
- 252. By Liam Young
-
Restore netconfig
- 251. By Liam Young
-
Test vrrp fix branches
- 250. By Liam Young
-
Fix blog spec to not run vrrp tests immediatly
- 249. By Liam Young
-
Blog spec
- 248. By Liam Young
-
Add trusty kilo target
- 247. By Liam Young
-
Switch to trusty
- 246. By Liam Young
-
Switch to percona
- 245. By Liam Young
-
Back to vivid kilo
- 244. By Liam Young
-
Merged trunk in
- 243. By Liam Young
-
Switch to next branches
Preview Diff
1 | === modified file 'helper/collect/collect-next' | |||
2 | --- helper/collect/collect-next 2015-01-24 13:11:08 +0000 | |||
3 | +++ helper/collect/collect-next 2015-05-08 09:54:56 +0000 | |||
4 | @@ -8,7 +8,7 @@ | |||
5 | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next |
6 | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next |
7 | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next |
9 | 11 | quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next | 11 | quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/neutron-contexts |
10 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next |
11 | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next |
12 | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next |
13 | @@ -16,4 +16,4 @@ | |||
14 | 16 | mongodb lp:charms/mongodb | 16 | mongodb lp:charms/mongodb |
15 | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next |
16 | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next |
18 | 19 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next | 19 | neutron-openvswitch lp:~gnuoy/charms/trusty/neutron-openvswitch/neutron-contexts |
19 | 20 | 20 | ||
20 | === modified file 'helper/collect/repo-next' | |||
21 | --- helper/collect/repo-next 2014-12-16 07:59:12 +0000 | |||
22 | +++ helper/collect/repo-next 2015-05-08 09:54:56 +0000 | |||
23 | @@ -1,4 +1,4 @@ | |||
25 | 1 | mysql | 1 | percona-cluster |
26 | 2 | rabbitmq-server | 2 | rabbitmq-server |
27 | 3 | ceph | 3 | ceph |
28 | 4 | keystone | 4 | keystone |
29 | 5 | 5 | ||
30 | === added file 'helper/setup/upgrade_openstack.py' | |||
31 | --- helper/setup/upgrade_openstack.py 1970-01-01 00:00:00 +0000 | |||
32 | +++ helper/setup/upgrade_openstack.py 2015-05-08 09:54:56 +0000 | |||
33 | @@ -0,0 +1,61 @@ | |||
34 | 1 | #!/usr/bin/python | ||
35 | 2 | import sys | ||
36 | 3 | import utils.mojo_utils as mojo_utils | ||
37 | 4 | import logging | ||
38 | 5 | import argparse | ||
39 | 6 | |||
40 | 7 | OS_ORIGINS = { | ||
41 | 8 | 'trusty-juno': { | ||
42 | 9 | 'openstack-origin': 'cloud:trusty-juno', | ||
43 | 10 | 'source': 'cloud:trusty-juno' | ||
44 | 11 | }, | ||
45 | 12 | 'trusty-juno-proposed': { | ||
46 | 13 | 'openstack-origin': 'cloud:trusty-juno/proposed', | ||
47 | 14 | 'source': 'cloud:trusty-proposed/juno' | ||
48 | 15 | }, | ||
49 | 16 | 'trusty-juno-staging': { | ||
50 | 17 | 'openstack-origin': 'ppa:ubuntu-cloud-archive/juno-staging', | ||
51 | 18 | 'source': 'ppa:ubuntu-cloud-archive/juno-staging' | ||
52 | 19 | }, | ||
53 | 20 | 'utopic-juno-proposed': { | ||
54 | 21 | 'openstack-origin': 'distro-proposed', | ||
55 | 22 | 'source': 'proposed' | ||
56 | 23 | }, | ||
57 | 24 | 'trusty-kilo': { | ||
58 | 25 | 'openstack-origin': 'cloud:trusty-kilo', | ||
59 | 26 | 'source': 'cloud:trusty-kilo' | ||
60 | 27 | }, | ||
61 | 28 | 'trusty-kilo-proposed': { | ||
62 | 29 | 'openstack-origin': 'cloud:trusty-kilo/proposed', | ||
63 | 30 | 'source': 'cloud:trusty-proposed/kilo' | ||
64 | 31 | }, | ||
65 | 32 | 'trusty-kilo-staging': { | ||
66 | 33 | 'openstack-origin': 'ppa:ubuntu-cloud-archive/kilo-staging', | ||
67 | 34 | 'source': 'ppa:ubuntu-cloud-archive/kilo-staging' | ||
68 | 35 | }, | ||
69 | 36 | 'vivid-kilo-proposed': { | ||
70 | 37 | 'openstack-origin': 'distro-proposed', | ||
71 | 38 | 'source': 'proposed' | ||
72 | 39 | }, | ||
73 | 40 | } | ||
74 | 41 | |||
75 | 42 | def main(argv): | ||
76 | 43 | logging.basicConfig(level=logging.INFO) | ||
77 | 44 | parser = argparse.ArgumentParser() | ||
78 | 45 | parser.add_argument("upgrade_to", nargs="?") | ||
79 | 46 | options = parser.parse_args() | ||
80 | 47 | release = mojo_utils.parse_mojo_arg(options, 'upgrade_to') | ||
81 | 48 | juju_status = mojo_utils.get_juju_status() | ||
82 | 49 | for svc in juju_status['services']: | ||
83 | 50 | units = mojo_utils.get_juju_units(juju_status=juju_status, service=svc) | ||
84 | 51 | machine_number = mojo_utils.convert_unit_to_machineno(units[0]) | ||
85 | 52 | series = mojo_utils.get_machine_series(machine_number) | ||
86 | 53 | key = series + '-' + release | ||
87 | 54 | svc_options = mojo_utils.juju_get_config_keys(svc) | ||
88 | 55 | if 'openstack-origin' in svc_options: | ||
89 | 56 | mojo_utils.juju_set(svc, '%s=%s' % ('openstack-origin', OS_ORIGINS[key]['openstack-origin']), wait=False) | ||
90 | 57 | elif 'source' in svc_options: | ||
91 | 58 | mojo_utils.juju_set(svc, '%s=%s' % ('source', OS_ORIGINS[key]['source']), wait=False) | ||
92 | 59 | |||
93 | 60 | if __name__ == "__main__": | ||
94 | 61 | sys.exit(main(sys.argv)) | ||
95 | 0 | 62 | ||
96 | === modified file 'helper/utils/mojo_os_utils.py' | |||
97 | --- helper/utils/mojo_os_utils.py 2015-02-10 07:55:00 +0000 | |||
98 | +++ helper/utils/mojo_os_utils.py 2015-05-08 09:54:56 +0000 | |||
99 | @@ -518,6 +518,7 @@ | |||
100 | 518 | 518 | ||
101 | 519 | def ssh_test(username, ip, vm_name, password=None, privkey=None): | 519 | def ssh_test(username, ip, vm_name, password=None, privkey=None): |
102 | 520 | logging.info('Attempting to ssh to %s(%s)' % (vm_name, ip)) | 520 | logging.info('Attempting to ssh to %s(%s)' % (vm_name, ip)) |
103 | 521 | logging.getLogger("paramiko").setLevel(logging.WARNING) | ||
104 | 521 | ssh = paramiko.SSHClient() | 522 | ssh = paramiko.SSHClient() |
105 | 522 | ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | 523 | ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) |
106 | 523 | if privkey: | 524 | if privkey: |
107 | 524 | 525 | ||
108 | === modified file 'helper/utils/mojo_utils.py' | |||
109 | --- helper/utils/mojo_utils.py 2015-02-10 07:55:00 +0000 | |||
110 | +++ helper/utils/mojo_utils.py 2015-05-08 09:54:56 +0000 | |||
111 | @@ -6,7 +6,7 @@ | |||
112 | 6 | import mojo | 6 | import mojo |
113 | 7 | import logging | 7 | import logging |
114 | 8 | import time | 8 | import time |
116 | 9 | from collections import Counter | 9 | from collections import Counter, defaultdict |
117 | 10 | import shutil | 10 | import shutil |
118 | 11 | 11 | ||
119 | 12 | JUJU_STATUSES = { | 12 | JUJU_STATUSES = { |
120 | @@ -33,19 +33,16 @@ | |||
121 | 33 | 33 | ||
122 | 34 | 34 | ||
123 | 35 | def get_juju_units(juju_status=None, service=None): | 35 | def get_juju_units(juju_status=None, service=None): |
126 | 36 | if not juju_status: | 36 | machine_map = get_unit_to_machineno_mapping(juju_status) |
125 | 37 | juju_status = get_juju_status() | ||
127 | 38 | units = [] | 37 | units = [] |
130 | 39 | if service: | 38 | if not service: |
131 | 40 | services = [service] | 39 | units = machine_map.keys() |
132 | 41 | else: | 40 | else: |
137 | 42 | services = [svc for svc in juju_status['services']] | 41 | for unit in machine_map.keys(): |
138 | 43 | for svc in services: | 42 | if unit.split('/')[0] == service: |
135 | 44 | if 'units' in juju_status['services'][svc]: | ||
136 | 45 | for unit in juju_status['services'][svc]['units']: | ||
139 | 46 | units.append(unit) | 43 | units.append(unit) |
140 | 47 | return units | 44 | return units |
142 | 48 | 45 | ||
143 | 49 | 46 | ||
144 | 50 | def get_principle_services(juju_status=None): | 47 | def get_principle_services(juju_status=None): |
145 | 51 | if not juju_status: | 48 | if not juju_status: |
146 | @@ -57,21 +54,50 @@ | |||
147 | 57 | return p_services | 54 | return p_services |
148 | 58 | 55 | ||
149 | 59 | 56 | ||
151 | 60 | def convert_unit_to_machineno(unit): | 57 | def get_machine_series(machineno, juju_status=None): |
152 | 58 | if not juju_status: | ||
153 | 59 | juju_status = get_juju_status() | ||
154 | 60 | return juju_status['machines'][machineno]['series'] | ||
155 | 61 | |||
156 | 62 | |||
157 | 63 | def get_machineno_to_unit_mapping(juju_status=None): | ||
158 | 64 | if not juju_status: | ||
159 | 65 | juju_status = get_juju_status() | ||
160 | 66 | machine_map = defaultdict(list) | ||
161 | 67 | for svc in juju_status['services']: | ||
162 | 68 | if 'units' in juju_status['services'][svc]: | ||
163 | 69 | principle_units = juju_status['services'][svc]['units'] | ||
164 | 70 | for unit in principle_units: | ||
165 | 71 | machine_no = principle_units[unit]['machine'] | ||
166 | 72 | machine_map[machine_no].append(unit) | ||
167 | 73 | if 'subordinates' in principle_units[unit]: | ||
168 | 74 | subordinet_units = principle_units[unit]['subordinates'] | ||
169 | 75 | machine_map[machine_no].extend(subordinet_units.keys()) | ||
170 | 76 | return dict(machine_map) | ||
171 | 77 | |||
172 | 78 | |||
173 | 79 | def get_unit_to_machineno_mapping(juju_status=None): | ||
174 | 80 | rmap = get_machineno_to_unit_mapping(juju_status) | ||
175 | 81 | unit_map = {} | ||
176 | 82 | for machine_no in rmap: | ||
177 | 83 | for unit in rmap[machine_no]: | ||
178 | 84 | unit_map[unit] = machine_no | ||
179 | 85 | return unit_map | ||
180 | 86 | |||
181 | 87 | |||
182 | 88 | def convert_unit_to_machineno(unit, juju_status=None): | ||
183 | 89 | unitmap = get_unit_to_machineno_mapping(juju_status) | ||
184 | 90 | return unitmap[unit] | ||
185 | 91 | |||
186 | 92 | |||
187 | 93 | def convert_unit_to_instanceid(unit): | ||
188 | 61 | juju_status = get_juju_status(unit) | 94 | juju_status = get_juju_status(unit) |
189 | 62 | return juju_status['machines'].itervalues().next()['instance-id'] | 95 | return juju_status['machines'].itervalues().next()['instance-id'] |
190 | 63 | 96 | ||
191 | 64 | 97 | ||
192 | 65 | def convert_machineno_to_unit(machineno, juju_status=None): | 98 | def convert_machineno_to_unit(machineno, juju_status=None): |
202 | 66 | if not juju_status: | 99 | machinemap = get_machineno_to_unit_mapping(juju_status) |
203 | 67 | juju_status = get_juju_status() | 100 | return machinemap[machineno] |
195 | 68 | services = [service for service in juju_status['services']] | ||
196 | 69 | for svc in services: | ||
197 | 70 | if 'units' in juju_status['services'][svc]: | ||
198 | 71 | for unit in juju_status['services'][svc]['units']: | ||
199 | 72 | unit_info = juju_status['services'][svc]['units'][unit] | ||
200 | 73 | if unit_info['machine'] == machineno: | ||
201 | 74 | return unit | ||
204 | 75 | 101 | ||
205 | 76 | 102 | ||
206 | 77 | def remote_shell_check(unit, timeout=None): | 103 | def remote_shell_check(unit, timeout=None): |
207 | @@ -131,7 +157,7 @@ | |||
208 | 131 | 157 | ||
209 | 132 | def delete_unit_openstack(unit): | 158 | def delete_unit_openstack(unit): |
210 | 133 | from novaclient.v1_1 import client as novaclient | 159 | from novaclient.v1_1 import client as novaclient |
212 | 134 | server_id = convert_unit_to_machineno(unit) | 160 | server_id = convert_unit_to_instanceid(unit) |
213 | 135 | cloud_creds = get_undercload_auth() | 161 | cloud_creds = get_undercload_auth() |
214 | 136 | auth = { | 162 | auth = { |
215 | 137 | 'username': cloud_creds['OS_USERNAME'], | 163 | 'username': cloud_creds['OS_USERNAME'], |
216 | @@ -166,8 +192,9 @@ | |||
217 | 166 | 192 | ||
218 | 167 | def delete_machine(machine): | 193 | def delete_machine(machine): |
219 | 168 | mach_no = machine.split('-')[-1] | 194 | mach_no = machine.split('-')[-1] |
222 | 169 | unit = convert_machineno_to_unit(mach_no) | 195 | units = convert_machineno_to_unit(mach_no) |
223 | 170 | delete_unit(unit) | 196 | for unit in units: |
224 | 197 | delete_unit(unit) | ||
225 | 171 | 198 | ||
226 | 172 | 199 | ||
227 | 173 | def is_crm_clustered(service): | 200 | def is_crm_clustered(service): |
228 | 174 | 201 | ||
229 | === added directory 'specs/bugs/1427660' | |||
230 | === added directory 'specs/bugs/1427660/icehouse' | |||
231 | === added file 'specs/bugs/1427660/icehouse/SPEC_INFO.txt' | |||
232 | --- specs/bugs/1427660/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
233 | +++ specs/bugs/1427660/icehouse/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
234 | @@ -0,0 +1,2 @@ | |||
235 | 1 | This spec performs a non-ha deploy using the next charms and then runs tests | ||
236 | 2 | to validate the deployment | ||
237 | 0 | 3 | ||
238 | === added symlink 'specs/bugs/1427660/icehouse/check_juju.py' | |||
239 | === target is u'../../../../helper/tests/check_juju.py' | |||
240 | === added file 'specs/bugs/1427660/icehouse/collect-next' | |||
241 | --- specs/bugs/1427660/icehouse/collect-next 1970-01-01 00:00:00 +0000 | |||
242 | +++ specs/bugs/1427660/icehouse/collect-next 2015-05-08 09:54:56 +0000 | |||
243 | @@ -0,0 +1,19 @@ | |||
244 | 1 | nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next | ||
245 | 2 | neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next | ||
246 | 3 | keystone lp:~openstack-charmers/charms/trusty/keystone/next | ||
247 | 4 | glance lp:~openstack-charmers/charms/trusty/glance/next | ||
248 | 5 | swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next | ||
249 | 6 | mysql lp:charms/mysql | ||
250 | 7 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next | ||
251 | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | ||
252 | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | ||
253 | 10 | nova-compute lp:~gnuoy/charms/trusty/nova-compute/1427660 | ||
254 | 11 | quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next | ||
255 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | ||
256 | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | ||
257 | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | ||
258 | 15 | ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next | ||
259 | 16 | mongodb lp:charms/mongodb | ||
260 | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | ||
261 | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next | ||
262 | 19 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next | ||
263 | 0 | 20 | ||
264 | === added symlink 'specs/bugs/1427660/icehouse/full.yaml' | |||
265 | === target is u'../../../../helper/bundles/full.yaml' | |||
266 | === added symlink 'specs/bugs/1427660/icehouse/image_setup.py' | |||
267 | === target is u'../../../../helper/setup/image_setup.py' | |||
268 | === added symlink 'specs/bugs/1427660/icehouse/images.yaml' | |||
269 | === target is u'../../../../helper/setup/images.yaml' | |||
270 | === added symlink 'specs/bugs/1427660/icehouse/keystone_setup.py' | |||
271 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
272 | === added symlink 'specs/bugs/1427660/icehouse/keystone_users.yaml' | |||
273 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
274 | === added file 'specs/bugs/1427660/icehouse/manifest' | |||
275 | --- specs/bugs/1427660/icehouse/manifest 1970-01-01 00:00:00 +0000 | |||
276 | +++ specs/bugs/1427660/icehouse/manifest 2015-05-08 09:54:56 +0000 | |||
277 | @@ -0,0 +1,23 @@ | |||
278 | 1 | # Collect the charm branches from Launchpad | ||
279 | 2 | collect config=collect-next | ||
280 | 3 | |||
281 | 4 | # Copy the branches to the deployment directory | ||
282 | 5 | repo config=repo-next | ||
283 | 6 | |||
284 | 7 | # Use juju deployer with full.yaml bundle | ||
285 | 8 | deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse | ||
286 | 9 | |||
287 | 10 | # Check juju statuses are green and that hooks have finished | ||
288 | 11 | verify config=check_juju.py | ||
289 | 12 | |||
290 | 13 | # Create sdn on overcloud | ||
291 | 14 | script config=network_setup.py | ||
292 | 15 | |||
293 | 16 | # Setup glance images | ||
294 | 17 | script config=image_setup.py | ||
295 | 18 | |||
296 | 19 | # Setup keystone users | ||
297 | 20 | script config=keystone_setup.py | ||
298 | 21 | |||
299 | 22 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
300 | 23 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300" | ||
301 | 0 | 24 | ||
302 | === added symlink 'specs/bugs/1427660/icehouse/network.yaml' | |||
303 | === target is u'../../../../helper/setup/network.yaml' | |||
304 | === added symlink 'specs/bugs/1427660/icehouse/network_setup.py' | |||
305 | === target is u'../../../../helper/setup/network_setup.py' | |||
306 | === added symlink 'specs/bugs/1427660/icehouse/repo-next' | |||
307 | === target is u'../../../../helper/collect/repo-next' | |||
308 | === added symlink 'specs/bugs/1427660/icehouse/simple_os_checks.py' | |||
309 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
310 | === added symlink 'specs/bugs/1427660/icehouse/utils' | |||
311 | === target is u'../../../../helper/utils' | |||
312 | === modified file 'specs/dev/dvr/collect-next' | |||
313 | --- specs/dev/dvr/collect-next 2015-02-04 16:33:38 +0000 | |||
314 | +++ specs/dev/dvr/collect-next 2015-05-08 09:54:56 +0000 | |||
315 | @@ -1,5 +1,5 @@ | |||
316 | 1 | nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next | 1 | nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next |
318 | 2 | neutron-api lp:~gnuoy/charms/trusty/neutron-api/dvr-support | 2 | neutron-api lp:~gnuoy/charms/trusty/neutron-api/fix-neutron-query |
319 | 3 | keystone lp:~openstack-charmers/charms/trusty/keystone/next | 3 | keystone lp:~openstack-charmers/charms/trusty/keystone/next |
320 | 4 | glance lp:~openstack-charmers/charms/trusty/glance/next | 4 | glance lp:~openstack-charmers/charms/trusty/glance/next |
321 | 5 | swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next | 5 | swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next |
322 | @@ -7,8 +7,8 @@ | |||
323 | 7 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next | 7 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next |
324 | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next |
325 | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next |
328 | 10 | nova-compute lp:~gnuoy/charms/trusty/nova-compute/dvr-support/ | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next |
329 | 11 | quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/dvr-support | 11 | quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next |
330 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next |
331 | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next |
332 | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next |
333 | @@ -16,4 +16,4 @@ | |||
334 | 16 | mongodb lp:charms/mongodb | 16 | mongodb lp:charms/mongodb |
335 | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next |
336 | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next |
338 | 19 | neutron-openvswitch lp:~gnuoy/charms/trusty/neutron-openvswitch/dvr-support | 19 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next |
339 | 20 | 20 | ||
340 | === modified file 'specs/dev/full_nrpe/collect-next' | |||
341 | --- specs/dev/full_nrpe/collect-next 2015-01-26 08:31:29 +0000 | |||
342 | +++ specs/dev/full_nrpe/collect-next 2015-05-08 09:54:56 +0000 | |||
343 | @@ -8,13 +8,14 @@ | |||
344 | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next |
345 | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next |
346 | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next |
348 | 11 | quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next | 11 | quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/neutron-contexts |
349 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next |
350 | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next |
351 | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next |
353 | 15 | ceilometer-agent lp:~gnuoy/charms/trusty/ceilometer-agent/add-nrpe-checks | 15 | ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next |
354 | 16 | mongodb lp:charms/mongodb | 16 | mongodb lp:charms/mongodb |
355 | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next |
356 | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next |
359 | 19 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next | 19 | neutron-openvswitch lp:~gnuoy/charms/trusty/neutron-openvswitch/neutron-contexts |
360 | 20 | nrpe-external-master lp:charms/nrpe-external-master | 20 | nrpe lp:~gnuoy/charms/trusty/nrpe/services-rewrite |
361 | 21 | nagios lp:charms/trusty/nagios | ||
362 | 21 | 22 | ||
363 | === modified file 'specs/dev/full_nrpe/next.yaml' | |||
364 | --- specs/dev/full_nrpe/next.yaml 2015-01-12 13:53:35 +0000 | |||
365 | +++ specs/dev/full_nrpe/next.yaml 2015-05-08 09:54:56 +0000 | |||
366 | @@ -92,40 +92,42 @@ | |||
367 | 92 | mongodb: | 92 | mongodb: |
368 | 93 | branch: lp:charms/mongodb | 93 | branch: lp:charms/mongodb |
369 | 94 | constraints: mem=1G | 94 | constraints: mem=1G |
370 | 95 | nagios: | ||
371 | 96 | charm: nagios | ||
372 | 95 | nrpe-nova-cloud-controller: | 97 | nrpe-nova-cloud-controller: |
374 | 96 | charm: nrpe-external-master | 98 | charm: nrpe |
375 | 97 | nrpe-neutron-api: | 99 | nrpe-neutron-api: |
377 | 98 | charm: nrpe-external-master | 100 | charm: nrpe |
378 | 99 | nrpe-keystone: | 101 | nrpe-keystone: |
380 | 100 | charm: nrpe-external-master | 102 | charm: nrpe |
381 | 101 | nrpe-glance: | 103 | nrpe-glance: |
383 | 102 | charm: nrpe-external-master | 104 | charm: nrpe |
384 | 103 | nrpe-swift-proxy: | 105 | nrpe-swift-proxy: |
386 | 104 | charm: nrpe-external-master | 106 | charm: nrpe |
387 | 105 | nrpe-mysql: | 107 | nrpe-mysql: |
389 | 106 | charm: nrpe-external-master | 108 | charm: nrpe |
390 | 107 | nrpe-rabbitmq-server: | 109 | nrpe-rabbitmq-server: |
392 | 108 | charm: nrpe-external-master | 110 | charm: nrpe |
393 | 109 | nrpe-ceph: | 111 | nrpe-ceph: |
395 | 110 | charm: nrpe-external-master | 112 | charm: nrpe |
396 | 111 | nrpe-openstack-dashboard: | 113 | nrpe-openstack-dashboard: |
398 | 112 | charm: nrpe-external-master | 114 | charm: nrpe |
399 | 113 | nrpe-nova-compute: | 115 | nrpe-nova-compute: |
401 | 114 | charm: nrpe-external-master | 116 | charm: nrpe |
402 | 115 | options: | 117 | options: |
403 | 116 | procs: "-w200 -C300" | 118 | procs: "-w200 -C300" |
404 | 117 | nrpe-quantum-gateway: | 119 | nrpe-quantum-gateway: |
406 | 118 | charm: nrpe-external-master | 120 | charm: nrpe |
407 | 119 | options: | 121 | options: |
408 | 120 | procs: "-w200 -C300" | 122 | procs: "-w200 -C300" |
409 | 121 | nrpe-cinder: | 123 | nrpe-cinder: |
411 | 122 | charm: nrpe-external-master | 124 | charm: nrpe |
412 | 123 | nrpe-swift-storage: | 125 | nrpe-swift-storage: |
414 | 124 | charm: nrpe-external-master | 126 | charm: nrpe |
415 | 125 | nrpe-ceilometer: | 127 | nrpe-ceilometer: |
417 | 126 | charm: nrpe-external-master | 128 | charm: nrpe |
418 | 127 | nrpe-heat: | 129 | nrpe-heat: |
420 | 128 | charm: nrpe-external-master | 130 | charm: nrpe |
421 | 129 | relations: | 131 | relations: |
422 | 130 | - [ keystone, mysql ] | 132 | - [ keystone, mysql ] |
423 | 131 | - [ nova-cloud-controller, mysql ] | 133 | - [ nova-cloud-controller, mysql ] |
424 | @@ -160,19 +162,31 @@ | |||
425 | 160 | - [ ceilometer-agent, nova-compute ] | 162 | - [ ceilometer-agent, nova-compute ] |
426 | 161 | - [ ceilometer-agent, ceilometer ] | 163 | - [ ceilometer-agent, ceilometer ] |
427 | 162 | - [ nrpe-nova-cloud-controller, nova-cloud-controller ] | 164 | - [ nrpe-nova-cloud-controller, nova-cloud-controller ] |
428 | 165 | - [ "nrpe-nova-cloud-controller:monitors", "nagios:monitors" ] | ||
429 | 163 | - [ nrpe-neutron-api, neutron-api ] | 166 | - [ nrpe-neutron-api, neutron-api ] |
430 | 167 | - [ "nrpe-neutron-api:monitors", "nagios:monitors" ] | ||
431 | 164 | - [ nrpe-keystone, keystone ] | 168 | - [ nrpe-keystone, keystone ] |
432 | 169 | - [ "nrpe-keystone:monitors", "nagios:monitors" ] | ||
433 | 165 | - [ nrpe-glance, glance ] | 170 | - [ nrpe-glance, glance ] |
434 | 171 | - [ "nrpe-glance:monitors", "nagios:monitors" ] | ||
435 | 166 | - [ nrpe-swift-proxy, swift-proxy ] | 172 | - [ nrpe-swift-proxy, swift-proxy ] |
436 | 173 | - [ "nrpe-swift-proxy:monitors", "nagios:monitors" ] | ||
437 | 167 | - [ nrpe-ceph, ceph ] | 174 | - [ nrpe-ceph, ceph ] |
438 | 175 | - [ "nrpe-ceph:monitors", "nagios:monitors" ] | ||
439 | 168 | - [ nrpe-openstack-dashboard, openstack-dashboard ] | 176 | - [ nrpe-openstack-dashboard, openstack-dashboard ] |
440 | 177 | - [ "nrpe-openstack-dashboard:monitors", "nagios:monitors" ] | ||
441 | 169 | - [ nrpe-nova-compute, nova-compute ] | 178 | - [ nrpe-nova-compute, nova-compute ] |
442 | 179 | - [ "nrpe-nova-compute:monitors", "nagios:monitors" ] | ||
443 | 170 | - [ nrpe-quantum-gateway, neutron-gateway ] | 180 | - [ nrpe-quantum-gateway, neutron-gateway ] |
444 | 181 | - [ "nrpe-quantum-gateway:monitors", "nagios:monitors" ] | ||
445 | 171 | - [ nrpe-cinder, cinder ] | 182 | - [ nrpe-cinder, cinder ] |
446 | 183 | - [ "nrpe-cinder:monitors", "nagios:monitors" ] | ||
447 | 172 | - [ nrpe-swift-storage, swift-storage-z1 ] | 184 | - [ nrpe-swift-storage, swift-storage-z1 ] |
448 | 173 | - [ nrpe-swift-storage, swift-storage-z2 ] | 185 | - [ nrpe-swift-storage, swift-storage-z2 ] |
449 | 174 | - [ nrpe-swift-storage, swift-storage-z3 ] | 186 | - [ nrpe-swift-storage, swift-storage-z3 ] |
450 | 187 | - [ "nrpe-swift-storage:monitors", "nagios:monitors" ] | ||
451 | 175 | - [ nrpe-ceilometer, ceilometer ] | 188 | - [ nrpe-ceilometer, ceilometer ] |
452 | 189 | - [ "nrpe-ceilometer:monitors", "nagios:monitors" ] | ||
453 | 176 | openstack-singlerabbit: | 190 | openstack-singlerabbit: |
454 | 177 | inherits: openstack-services | 191 | inherits: openstack-services |
455 | 178 | relations: | 192 | relations: |
456 | 179 | 193 | ||
457 | === modified file 'specs/dev/full_nrpe/repo-next' | |||
458 | --- specs/dev/full_nrpe/repo-next 2015-01-12 12:20:56 +0000 | |||
459 | +++ specs/dev/full_nrpe/repo-next 2015-05-08 09:54:56 +0000 | |||
460 | @@ -17,4 +17,5 @@ | |||
461 | 17 | cinder-ceph | 17 | cinder-ceph |
462 | 18 | heat | 18 | heat |
463 | 19 | neutron-openvswitch | 19 | neutron-openvswitch |
465 | 20 | nrpe-external-master | 20 | nrpe |
466 | 21 | nagios | ||
467 | 21 | 22 | ||
468 | === added directory 'specs/dev/full_nrpe_ha' | |||
469 | === added directory 'specs/dev/full_nrpe_ha/icehouse' | |||
470 | === added file 'specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt' | |||
471 | --- specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
472 | +++ specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
473 | @@ -0,0 +1,2 @@ | |||
474 | 1 | This spec performs a phased ha deploy then runs tests to validate the | ||
475 | 2 | deployment | ||
476 | 0 | 3 | ||
477 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/check_juju.py' | |||
478 | === target is u'../../../../helper/tests/check_juju.py' | |||
479 | === added file 'specs/dev/full_nrpe_ha/icehouse/collect-next-ha' | |||
480 | --- specs/dev/full_nrpe_ha/icehouse/collect-next-ha 1970-01-01 00:00:00 +0000 | |||
481 | +++ specs/dev/full_nrpe_ha/icehouse/collect-next-ha 2015-05-08 09:54:56 +0000 | |||
482 | @@ -0,0 +1,21 @@ | |||
483 | 1 | nrpe-external-master lp:charms/nrpe-external-master | ||
484 | 2 | percona-cluster lp:~brad-marshall/charms/trusty/percona-cluster/fix-nagios | ||
485 | 3 | hacluster lp:~gnuoy/charms/trusty/hacluster/charmhelper_sync | ||
486 | 4 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next | ||
487 | 5 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | ||
488 | 6 | ceph-osd lp:~brad-marshall/charms/trusty/ceph-osd/nagios-fix-servicegroups | ||
489 | 7 | keystone lp:~openstack-charmers/charms/trusty/keystone/next | ||
490 | 8 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | ||
491 | 9 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next | ||
492 | 10 | nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next | ||
493 | 11 | quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next | ||
494 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | ||
495 | 13 | glance lp:~brad-marshall/charms/trusty/glance/add-haproxy-nrpe-fix-servicegroups | ||
496 | 14 | swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next | ||
497 | 15 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | ||
498 | 16 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | ||
499 | 17 | ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next | ||
500 | 18 | mongodb lp:charms/mongodb | ||
501 | 19 | neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next | ||
502 | 20 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next | ||
503 | 21 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | ||
504 | 0 | 22 | ||
505 | === added file 'specs/dev/full_nrpe_ha/icehouse/haphase1.yaml' | |||
506 | --- specs/dev/full_nrpe_ha/icehouse/haphase1.yaml 1970-01-01 00:00:00 +0000 | |||
507 | +++ specs/dev/full_nrpe_ha/icehouse/haphase1.yaml 2015-05-08 09:54:56 +0000 | |||
508 | @@ -0,0 +1,201 @@ | |||
509 | 1 | # vim: set ts=2 et: | ||
510 | 2 | openstack-services: | ||
511 | 3 | series: trusty | ||
512 | 4 | services: | ||
513 | 5 | mysql: | ||
514 | 6 | charm: percona-cluster | ||
515 | 7 | constraints: mem=1G | ||
516 | 8 | num_units: 2 | ||
517 | 9 | options: | ||
518 | 10 | vip: 10.5.100.10 | ||
519 | 11 | vip_cidr: 16 | ||
520 | 12 | root-password: crapper | ||
521 | 13 | sst-password: crapper | ||
522 | 14 | mysql-hacluster: | ||
523 | 15 | charm: hacluster | ||
524 | 16 | rabbitmq-server: | ||
525 | 17 | charm: rabbitmq-server | ||
526 | 18 | constraints: mem=1G | ||
527 | 19 | num_units: 2 | ||
528 | 20 | ceph: | ||
529 | 21 | charm: ceph | ||
530 | 22 | num_units: 3 | ||
531 | 23 | constraints: mem=1G | ||
532 | 24 | options: | ||
533 | 25 | monitor-count: 3 | ||
534 | 26 | fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc | ||
535 | 27 | monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ== | ||
536 | 28 | osd-devices: /dev/vdb | ||
537 | 29 | osd-reformat: "yes" | ||
538 | 30 | ephemeral-unmount: /mnt | ||
539 | 31 | ceph-osd: | ||
540 | 32 | charm: ceph-osd | ||
541 | 33 | num_units: 3 | ||
542 | 34 | constraints: mem=1G | ||
543 | 35 | options: | ||
544 | 36 | osd-devices: /dev/vdb | ||
545 | 37 | osd-reformat: "yes" | ||
546 | 38 | ephemeral-unmount: /mnt | ||
547 | 39 | keystone: | ||
548 | 40 | charm: keystone | ||
549 | 41 | constraints: mem=1G | ||
550 | 42 | num_units: 2 | ||
551 | 43 | options: | ||
552 | 44 | admin-password: openstack | ||
553 | 45 | admin-token: ubuntutesting | ||
554 | 46 | vip: 10.5.100.1 | ||
555 | 47 | keystone-hacluster: | ||
556 | 48 | charm: hacluster | ||
557 | 49 | openstack-dashboard: | ||
558 | 50 | charm: openstack-dashboard | ||
559 | 51 | constraints: mem=1G | ||
560 | 52 | num_units: 2 | ||
561 | 53 | options: | ||
562 | 54 | vip: 10.5.100.2 | ||
563 | 55 | dashboard-hacluster: | ||
564 | 56 | charm: hacluster | ||
565 | 57 | nova-compute: | ||
566 | 58 | charm: nova-compute | ||
567 | 59 | num_units: 3 | ||
568 | 60 | constraints: mem=4G | ||
569 | 61 | options: | ||
570 | 62 | config-flags: "auto_assign_floating_ip=False" | ||
571 | 63 | enable-live-migration: False | ||
572 | 64 | enable-resize: False | ||
573 | 65 | nova-cloud-controller: | ||
574 | 66 | charm: nova-cloud-controller | ||
575 | 67 | constraints: mem=1G | ||
576 | 68 | num_units: 2 | ||
577 | 69 | options: | ||
578 | 70 | network-manager: Quantum | ||
579 | 71 | quantum-security-groups: "yes" | ||
580 | 72 | vip: 10.5.100.3 | ||
581 | 73 | ncc-hacluster: | ||
582 | 74 | charm: hacluster | ||
583 | 75 | neutron-gateway: | ||
584 | 76 | charm: quantum-gateway | ||
585 | 77 | constraints: mem=1G | ||
586 | 78 | num_units: 2 | ||
587 | 79 | options: | ||
588 | 80 | instance-mtu: 1350 | ||
589 | 81 | cinder: | ||
590 | 82 | charm: cinder | ||
591 | 83 | num_units: 2 | ||
592 | 84 | options: | ||
593 | 85 | block-device: "None" | ||
594 | 86 | glance-api-version: 2 | ||
595 | 87 | vip: 10.5.100.4 | ||
596 | 88 | constraints": mem=1G | ||
597 | 89 | cinder-hacluster: | ||
598 | 90 | charm: hacluster | ||
599 | 91 | cinder-ceph: | ||
600 | 92 | charm: cinder-ceph | ||
601 | 93 | glance: | ||
602 | 94 | charm: glance | ||
603 | 95 | constraints: mem=1G | ||
604 | 96 | num_units: 2 | ||
605 | 97 | options: | ||
606 | 98 | vip: 10.5.100.5 | ||
607 | 99 | glance-hacluster: | ||
608 | 100 | charm: hacluster | ||
609 | 101 | swift-proxy: | ||
610 | 102 | charm: swift-proxy | ||
611 | 103 | constraints: mem=1G | ||
612 | 104 | num_units: 2 | ||
613 | 105 | options: | ||
614 | 106 | zone-assignment: manual | ||
615 | 107 | replicas: 3 | ||
616 | 108 | swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae | ||
617 | 109 | vip: 10.5.100.6 | ||
618 | 110 | swift-proxy-hacluster: | ||
619 | 111 | charm: hacluster | ||
620 | 112 | swift-storage-z1: | ||
621 | 113 | charm: swift-storage | ||
622 | 114 | constraints: mem=1G | ||
623 | 115 | options: | ||
624 | 116 | zone: 1 | ||
625 | 117 | block-device: vdb | ||
626 | 118 | overwrite: "true" | ||
627 | 119 | swift-storage-z2: | ||
628 | 120 | charm: swift-storage | ||
629 | 121 | constraints: mem=1G | ||
630 | 122 | options: | ||
631 | 123 | zone: 2 | ||
632 | 124 | block-device: vdb | ||
633 | 125 | overwrite: "true" | ||
634 | 126 | swift-storage-z3: | ||
635 | 127 | charm: swift-storage | ||
636 | 128 | constraints: mem=1G | ||
637 | 129 | options: | ||
638 | 130 | zone: 3 | ||
639 | 131 | block-device: vdb | ||
640 | 132 | overwrite: "true" | ||
641 | 133 | nrpe-glance: | ||
642 | 134 | charm: nrpe-external-master | ||
643 | 135 | nrpe-percona: | ||
644 | 136 | charm: nrpe-external-master | ||
645 | 137 | nrpe-cephosd: | ||
646 | 138 | charm: nrpe-external-master | ||
647 | 139 | openstack-singlerabbit: | ||
648 | 140 | inherits: openstack-services | ||
649 | 141 | openstack-icehouse: | ||
650 | 142 | inherits: openstack-singlerabbit | ||
651 | 143 | services: | ||
652 | 144 | neutron-api: | ||
653 | 145 | num_units: 2 | ||
654 | 146 | charm: neutron-api | ||
655 | 147 | constraints: mem=1G | ||
656 | 148 | options: | ||
657 | 149 | neutron-security-groups: True | ||
658 | 150 | vip: 10.5.108.1 | ||
659 | 151 | neutron-api-hacluster: | ||
660 | 152 | charm: hacluster | ||
661 | 153 | options: | ||
662 | 154 | corosync_mcastaddr: 226.94.1.8 | ||
663 | 155 | corosync_key: "JFgMRJhNfKnmBRGm+rbAwpZmd/1FX08SCzOzDg/teaVtfGf60QYBCrpRYQzjzM2f+iNpGFuYEW8fXd+Dvquns6E1v7JbSt7oPRi2DYfdXXHc3EYkhimPG7h/VvnhaabLQ5z8CuQzaVJL1Fp25n4Rs5V4d71sgE5IR0skkWC6YO8=" | ||
664 | 156 | neutron-openvswitch: | ||
665 | 157 | charm: neutron-openvswitch | ||
666 | 158 | precise-icehouse: | ||
667 | 159 | inherits: openstack-singlerabbit | ||
668 | 160 | series: precise | ||
669 | 161 | overrides: | ||
670 | 162 | openstack-origin: cloud:precise-icehouse | ||
671 | 163 | source: cloud:precise-icehouse | ||
672 | 164 | trusty-icehouse: | ||
673 | 165 | inherits: openstack-icehouse | ||
674 | 166 | series: trusty | ||
675 | 167 | trusty-juno: | ||
676 | 168 | inherits: openstack-icehouse | ||
677 | 169 | series: trusty | ||
678 | 170 | overrides: | ||
679 | 171 | openstack-origin: cloud:trusty-juno | ||
680 | 172 | source: cloud:trusty-juno | ||
681 | 173 | utopic-juno: | ||
682 | 174 | inherits: openstack-icehouse | ||
683 | 175 | series: utopic | ||
684 | 176 | # kilo | ||
685 | 177 | trusty-kilo: | ||
686 | 178 | inherits: openstack-icehouse | ||
687 | 179 | series: trusty | ||
688 | 180 | overrides: | ||
689 | 181 | openstack-origin: cloud:trusty-kilo | ||
690 | 182 | source: cloud:trusty-kilo | ||
691 | 183 | trusty-kilo-proposed: | ||
692 | 184 | inherits: trusty-kilo | ||
693 | 185 | overrides: | ||
694 | 186 | openstack-origin: cloud:trusty-kilo/proposed | ||
695 | 187 | source: cloud:trusty-proposed/kilo | ||
696 | 188 | trusty-kilo-staging: | ||
697 | 189 | inherits: trusty-kilo | ||
698 | 190 | overrides: | ||
699 | 191 | openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging | ||
700 | 192 | source: ppa:ubuntu-cloud-archive/kilo-staging | ||
701 | 193 | vivid-kilo: | ||
702 | 194 | inherits: openstack-icehouse | ||
703 | 195 | series: vivid | ||
704 | 196 | vivid-kilo-proposed: | ||
705 | 197 | inherits: vivid-kilo | ||
706 | 198 | overrides: | ||
707 | 199 | source: proposed | ||
708 | 200 | openstack-origin: distro-proposed | ||
709 | 201 | |||
710 | 0 | 202 | ||
711 | === added file 'specs/dev/full_nrpe_ha/icehouse/haphase2.yaml' | |||
712 | --- specs/dev/full_nrpe_ha/icehouse/haphase2.yaml 1970-01-01 00:00:00 +0000 | |||
713 | +++ specs/dev/full_nrpe_ha/icehouse/haphase2.yaml 2015-05-08 09:54:56 +0000 | |||
714 | @@ -0,0 +1,253 @@ | |||
715 | 1 | # vim: set ts=2 et: | ||
716 | 2 | openstack-services: | ||
717 | 3 | series: trusty | ||
718 | 4 | services: | ||
719 | 5 | mysql: | ||
720 | 6 | charm: percona-cluster | ||
721 | 7 | constraints: mem=1G | ||
722 | 8 | num_units: 2 | ||
723 | 9 | options: | ||
724 | 10 | vip: 10.5.100.10 | ||
725 | 11 | vip_cidr: 16 | ||
726 | 12 | root-password: crapper | ||
727 | 13 | sst-password: crapper | ||
728 | 14 | mysql-hacluster: | ||
729 | 15 | charm: hacluster | ||
730 | 16 | rabbitmq-server: | ||
731 | 17 | charm: rabbitmq-server | ||
732 | 18 | constraints: mem=1G | ||
733 | 19 | num_units: 2 | ||
734 | 20 | ceph: | ||
735 | 21 | charm: ceph | ||
736 | 22 | num_units: 3 | ||
737 | 23 | constraints: mem=1G | ||
738 | 24 | options: | ||
739 | 25 | monitor-count: 3 | ||
740 | 26 | fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc | ||
741 | 27 | monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ== | ||
742 | 28 | osd-devices: /dev/vdb | ||
743 | 29 | osd-reformat: "yes" | ||
744 | 30 | ephemeral-unmount: /mnt | ||
745 | 31 | ceph-osd: | ||
746 | 32 | charm: ceph-osd | ||
747 | 33 | num_units: 3 | ||
748 | 34 | constraints: mem=1G | ||
749 | 35 | options: | ||
750 | 36 | osd-devices: /dev/vdb | ||
751 | 37 | osd-reformat: "yes" | ||
752 | 38 | ephemeral-unmount: /mnt | ||
753 | 39 | keystone: | ||
754 | 40 | charm: keystone | ||
755 | 41 | constraints: mem=1G | ||
756 | 42 | num_units: 2 | ||
757 | 43 | options: | ||
758 | 44 | admin-password: openstack | ||
759 | 45 | admin-token: ubuntutesting | ||
760 | 46 | vip: 10.5.100.1 | ||
761 | 47 | keystone-hacluster: | ||
762 | 48 | charm: hacluster | ||
763 | 49 | openstack-dashboard: | ||
764 | 50 | charm: openstack-dashboard | ||
765 | 51 | constraints: mem=1G | ||
766 | 52 | num_units: 2 | ||
767 | 53 | options: | ||
768 | 54 | vip: 10.5.100.2 | ||
769 | 55 | dashboard-hacluster: | ||
770 | 56 | charm: hacluster | ||
771 | 57 | nova-compute: | ||
772 | 58 | charm: nova-compute | ||
773 | 59 | num_units: 3 | ||
774 | 60 | constraints: mem=4G | ||
775 | 61 | options: | ||
776 | 62 | config-flags: "auto_assign_floating_ip=False" | ||
777 | 63 | enable-live-migration: False | ||
778 | 64 | enable-resize: False | ||
779 | 65 | nova-cloud-controller: | ||
780 | 66 | charm: nova-cloud-controller | ||
781 | 67 | constraints: mem=1G | ||
782 | 68 | num_units: 2 | ||
783 | 69 | options: | ||
784 | 70 | network-manager: Quantum | ||
785 | 71 | quantum-security-groups: "yes" | ||
786 | 72 | vip: 10.5.100.3 | ||
787 | 73 | ncc-hacluster: | ||
788 | 74 | charm: hacluster | ||
789 | 75 | neutron-gateway: | ||
790 | 76 | charm: quantum-gateway | ||
791 | 77 | constraints: mem=1G | ||
792 | 78 | num_units: 2 | ||
793 | 79 | options: | ||
794 | 80 | instance-mtu: 1350 | ||
795 | 81 | cinder: | ||
796 | 82 | charm: cinder | ||
797 | 83 | num_units: 2 | ||
798 | 84 | options: | ||
799 | 85 | block-device: "None" | ||
800 | 86 | glance-api-version: 2 | ||
801 | 87 | vip: 10.5.100.4 | ||
802 | 88 | constraints": mem=1G | ||
803 | 89 | cinder-hacluster: | ||
804 | 90 | charm: hacluster | ||
805 | 91 | cinder-ceph: | ||
806 | 92 | charm: cinder-ceph | ||
807 | 93 | glance: | ||
808 | 94 | charm: glance | ||
809 | 95 | constraints: mem=1G | ||
810 | 96 | num_units: 2 | ||
811 | 97 | options: | ||
812 | 98 | vip: 10.5.100.5 | ||
813 | 99 | glance-hacluster: | ||
814 | 100 | charm: hacluster | ||
815 | 101 | swift-proxy: | ||
816 | 102 | charm: swift-proxy | ||
817 | 103 | constraints: mem=1G | ||
818 | 104 | num_units: 2 | ||
819 | 105 | options: | ||
820 | 106 | zone-assignment: manual | ||
821 | 107 | replicas: 3 | ||
822 | 108 | swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae | ||
823 | 109 | vip: 10.5.100.6 | ||
824 | 110 | swift-proxy-hacluster: | ||
825 | 111 | charm: hacluster | ||
826 | 112 | swift-storage-z1: | ||
827 | 113 | charm: swift-storage | ||
828 | 114 | constraints: mem=1G | ||
829 | 115 | options: | ||
830 | 116 | zone: 1 | ||
831 | 117 | block-device: vdb | ||
832 | 118 | overwrite: "true" | ||
833 | 119 | swift-storage-z2: | ||
834 | 120 | charm: swift-storage | ||
835 | 121 | constraints: mem=1G | ||
836 | 122 | options: | ||
837 | 123 | zone: 2 | ||
838 | 124 | block-device: vdb | ||
839 | 125 | overwrite: "true" | ||
840 | 126 | swift-storage-z3: | ||
841 | 127 | charm: swift-storage | ||
842 | 128 | constraints: mem=1G | ||
843 | 129 | options: | ||
844 | 130 | zone: 3 | ||
845 | 131 | block-device: vdb | ||
846 | 132 | overwrite: "true" | ||
847 | 133 | nrpe-glance: | ||
848 | 134 | charm: nrpe-external-master | ||
849 | 135 | nrpe-percona: | ||
850 | 136 | charm: nrpe-external-master | ||
851 | 137 | nrpe-cephosd: | ||
852 | 138 | charm: nrpe-external-master | ||
853 | 139 | relations: | ||
854 | 140 | - [ mysql, mysql-hacluster ] | ||
855 | 141 | - [ keystone, mysql ] | ||
856 | 142 | - [ keystone, keystone-hacluster ] | ||
857 | 143 | - [ nova-cloud-controller, ncc-hacluster ] | ||
858 | 144 | - [ nova-cloud-controller, mysql ] | ||
859 | 145 | - [ nova-cloud-controller, rabbitmq-server ] | ||
860 | 146 | - [ nova-cloud-controller, glance ] | ||
861 | 147 | - [ nova-cloud-controller, keystone ] | ||
862 | 148 | - [ nova-compute, nova-cloud-controller ] | ||
863 | 149 | - [ nova-compute, mysql ] | ||
864 | 150 | - - nova-compute | ||
865 | 151 | - rabbitmq-server:amqp | ||
866 | 152 | - [ nova-compute, glance ] | ||
867 | 153 | - [ nova-compute, ceph ] | ||
868 | 154 | - [ glance, glance-hacluster ] | ||
869 | 155 | - [ glance, mysql ] | ||
870 | 156 | - [ glance, keystone ] | ||
871 | 157 | - [ glance, ceph ] | ||
872 | 158 | - [ glance, cinder ] | ||
873 | 159 | - [ glance, rabbitmq-server ] | ||
874 | 160 | - [ cinder, cinder-hacluster ] | ||
875 | 161 | - [ cinder, mysql ] | ||
876 | 162 | - [ cinder, rabbitmq-server ] | ||
877 | 163 | - [ cinder, nova-cloud-controller ] | ||
878 | 164 | - [ cinder, keystone ] | ||
879 | 165 | - [ cinder, cinder-ceph ] | ||
880 | 166 | - [ cinder-ceph, ceph ] | ||
881 | 167 | - [ ceph, ceph-osd ] | ||
882 | 168 | - [ neutron-gateway, mysql ] | ||
883 | 169 | - [ neutron-gateway, nova-cloud-controller ] | ||
884 | 170 | - [ openstack-dashboard, keystone ] | ||
885 | 171 | - [ openstack-dashboard, dashboard-hacluster ] | ||
886 | 172 | - [ swift-proxy, keystone ] | ||
887 | 173 | - [ swift-proxy, swift-proxy-hacluster ] | ||
888 | 174 | - [ swift-proxy, swift-storage-z1 ] | ||
889 | 175 | - [ swift-proxy, swift-storage-z2 ] | ||
890 | 176 | - [ swift-proxy, swift-storage-z3 ] | ||
891 | 177 | - [ nrpe-cephosd, ceph-osd ] | ||
892 | 178 | - [ nrpe-percona, mysql ] | ||
893 | 179 | - [ nrpe-glance, glance ] | ||
894 | 180 | openstack-singlerabbit: | ||
895 | 181 | inherits: openstack-services | ||
896 | 182 | relations: | ||
897 | 183 | - [ "neutron-gateway:amqp", rabbitmq-server ] | ||
898 | 184 | openstack-icehouse: | ||
899 | 185 | inherits: openstack-singlerabbit | ||
900 | 186 | services: | ||
901 | 187 | neutron-api: | ||
902 | 188 | num_units: 2 | ||
903 | 189 | charm: neutron-api | ||
904 | 190 | constraints: mem=1G | ||
905 | 191 | options: | ||
906 | 192 | neutron-security-groups: True | ||
907 | 193 | vip: 10.5.108.1 | ||
908 | 194 | neutron-api-hacluster: | ||
909 | 195 | charm: hacluster | ||
910 | 196 | options: | ||
911 | 197 | corosync_mcastaddr: 226.94.1.8 | ||
912 | 198 | corosync_key: "JFgMRJhNfKnmBRGm+rbAwpZmd/1FX08SCzOzDg/teaVtfGf60QYBCrpRYQzjzM2f+iNpGFuYEW8fXd+Dvquns6E1v7JbSt7oPRi2DYfdXXHc3EYkhimPG7h/VvnhaabLQ5z8CuQzaVJL1Fp25n4Rs5V4d71sgE5IR0skkWC6YO8=" | ||
913 | 199 | neutron-openvswitch: | ||
914 | 200 | charm: neutron-openvswitch | ||
915 | 201 | relations: | ||
916 | 202 | - [ neutron-api, mysql ] | ||
917 | 203 | - [ neutron-api, rabbitmq-server ] | ||
918 | 204 | - [ neutron-api, nova-cloud-controller ] | ||
919 | 205 | - [ neutron-api, neutron-openvswitch ] | ||
920 | 206 | - [ neutron-api, keystone ] | ||
921 | 207 | - [ neutron-openvswitch, nova-compute ] | ||
922 | 208 | - [ neutron-openvswitch, rabbitmq-server ] | ||
923 | 209 | #hacluster relation | ||
924 | 210 | - [ neutron-api, neutron-api-hacluster ] | ||
925 | 211 | precise-icehouse: | ||
926 | 212 | inherits: openstack-singlerabbit | ||
927 | 213 | series: precise | ||
928 | 214 | overrides: | ||
929 | 215 | openstack-origin: cloud:precise-icehouse | ||
930 | 216 | source: cloud:precise-icehouse | ||
931 | 217 | trusty-icehouse: | ||
932 | 218 | inherits: openstack-icehouse | ||
933 | 219 | series: trusty | ||
934 | 220 | trusty-juno: | ||
935 | 221 | inherits: openstack-icehouse | ||
936 | 222 | series: trusty | ||
937 | 223 | overrides: | ||
938 | 224 | openstack-origin: cloud:trusty-juno | ||
939 | 225 | source: cloud:trusty-juno | ||
940 | 226 | utopic-juno: | ||
941 | 227 | inherits: openstack-icehouse | ||
942 | 228 | series: utopic | ||
943 | 229 | # kilo | ||
944 | 230 | trusty-kilo: | ||
945 | 231 | inherits: openstack-icehouse | ||
946 | 232 | series: trusty | ||
947 | 233 | overrides: | ||
948 | 234 | openstack-origin: cloud:trusty-kilo | ||
949 | 235 | source: cloud:trusty-kilo | ||
950 | 236 | trusty-kilo-proposed: | ||
951 | 237 | inherits: trusty-kilo | ||
952 | 238 | overrides: | ||
953 | 239 | openstack-origin: cloud:trusty-kilo/proposed | ||
954 | 240 | source: cloud:trusty-proposed/kilo | ||
955 | 241 | trusty-kilo-staging: | ||
956 | 242 | inherits: trusty-kilo | ||
957 | 243 | overrides: | ||
958 | 244 | openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging | ||
959 | 245 | source: ppa:ubuntu-cloud-archive/kilo-staging | ||
960 | 246 | vivid-kilo: | ||
961 | 247 | inherits: openstack-icehouse | ||
962 | 248 | series: vivid | ||
963 | 249 | vivid-kilo-proposed: | ||
964 | 250 | inherits: vivid-kilo | ||
965 | 251 | overrides: | ||
966 | 252 | source: proposed | ||
967 | 253 | openstack-origin: distro-proposed | ||
968 | 0 | 254 | ||
969 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/image_setup.py' | |||
970 | === target is u'../../../../helper/setup/image_setup.py' | |||
971 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/images.yaml' | |||
972 | === target is u'../../../../helper/setup/images.yaml' | |||
973 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/keystone_setup.py' | |||
974 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
975 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/keystone_users.yaml' | |||
976 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
977 | === added file 'specs/dev/full_nrpe_ha/icehouse/manifest' | |||
978 | --- specs/dev/full_nrpe_ha/icehouse/manifest 1970-01-01 00:00:00 +0000 | |||
979 | +++ specs/dev/full_nrpe_ha/icehouse/manifest 2015-05-08 09:54:56 +0000 | |||
980 | @@ -0,0 +1,35 @@ | |||
981 | 1 | # Collect the charm branches from Launchpad | ||
982 | 2 | collect config=collect-next-ha | ||
983 | 3 | |||
984 | 4 | # Copy the branches to the deployment directory | ||
985 | 5 | repo config=repo-next-ha | ||
986 | 6 | |||
987 | 7 | # Use juju deployer to create the units for the deployment | ||
988 | 8 | deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-icehouse | ||
989 | 9 | |||
990 | 10 | # Check juju statuses are green and that hooks have finished | ||
991 | 11 | verify config=check_juju.py | ||
992 | 12 | |||
993 | 13 | # Examine the available networks and set vips for services | ||
994 | 14 | script config=set_vips.py | ||
995 | 15 | |||
996 | 16 | # Use juju deployer to add the relations for the deployment | ||
997 | 17 | deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-icehouse | ||
998 | 18 | |||
999 | 19 | # Check juju statuses are green and that hooks have finished | ||
1000 | 20 | verify config=check_juju.py | ||
1001 | 21 | |||
1002 | 22 | # Create sdn on overcloud | ||
1003 | 23 | script config=network_setup.py | ||
1004 | 24 | |||
1005 | 25 | # Setup glance images | ||
1006 | 26 | script config=image_setup.py | ||
1007 | 27 | |||
1008 | 28 | # Setup keystone users | ||
1009 | 29 | script config=keystone_setup.py | ||
1010 | 30 | |||
1011 | 31 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1012 | 32 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300" | ||
1013 | 33 | |||
1014 | 34 | # Test obj store by sending and recieving files | ||
1015 | 35 | verify config=test_obj_store.py | ||
1016 | 0 | 36 | ||
1017 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/network.yaml' | |||
1018 | === target is u'../../../../helper/setup/network.yaml' | |||
1019 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/network_setup.py' | |||
1020 | === target is u'../../../../helper/setup/network_setup.py' | |||
1021 | === added file 'specs/dev/full_nrpe_ha/icehouse/repo-next-ha' | |||
1022 | --- specs/dev/full_nrpe_ha/icehouse/repo-next-ha 1970-01-01 00:00:00 +0000 | |||
1023 | +++ specs/dev/full_nrpe_ha/icehouse/repo-next-ha 2015-05-08 09:54:56 +0000 | |||
1024 | @@ -0,0 +1,21 @@ | |||
1025 | 1 | nrpe-external-master | ||
1026 | 2 | percona-cluster | ||
1027 | 3 | hacluster | ||
1028 | 4 | rabbitmq-server | ||
1029 | 5 | ceph | ||
1030 | 6 | ceph-osd | ||
1031 | 7 | keystone | ||
1032 | 8 | openstack-dashboard | ||
1033 | 9 | nova-compute | ||
1034 | 10 | nova-cloud-controller | ||
1035 | 11 | quantum-gateway | ||
1036 | 12 | cinder | ||
1037 | 13 | glance | ||
1038 | 14 | swift-proxy | ||
1039 | 15 | swift-storage | ||
1040 | 16 | ceilometer | ||
1041 | 17 | ceilometer-agent | ||
1042 | 18 | mongodb | ||
1043 | 19 | neutron-api | ||
1044 | 20 | neutron-openvswitch | ||
1045 | 21 | cinder-ceph | ||
1046 | 0 | 22 | ||
1047 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/set_vips.py' | |||
1048 | === target is u'../../../../helper/setup/set_vips.py' | |||
1049 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/simple_os_checks.py' | |||
1050 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
1051 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/test_obj_store.py' | |||
1052 | === target is u'../../../../helper/tests/test_obj_store.py' | |||
1053 | === added symlink 'specs/dev/full_nrpe_ha/icehouse/utils' | |||
1054 | === target is u'../../../../helper/utils' | |||
1055 | === added directory 'specs/dev/full_nrpe_ha/juno' | |||
1056 | === added file 'specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt' | |||
1057 | --- specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1058 | +++ specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1059 | @@ -0,0 +1,2 @@ | |||
1060 | 1 | This spec performs a phased ha deploy then runs tests to validate the | ||
1061 | 2 | deployment | ||
1062 | 0 | 3 | ||
1063 | === added symlink 'specs/dev/full_nrpe_ha/juno/check_juju.py' | |||
1064 | === target is u'../../../../helper/tests/check_juju.py' | |||
1065 | === added symlink 'specs/dev/full_nrpe_ha/juno/collect-next-ha' | |||
1066 | === target is u'../../../../helper/collect/collect-next-ha' | |||
1067 | === added symlink 'specs/dev/full_nrpe_ha/juno/haphase1.yaml' | |||
1068 | === target is u'../../../../helper/bundles/haphase1.yaml' | |||
1069 | === added symlink 'specs/dev/full_nrpe_ha/juno/haphase2.yaml' | |||
1070 | === target is u'../../../../helper/bundles/haphase2.yaml' | |||
1071 | === added symlink 'specs/dev/full_nrpe_ha/juno/image_setup.py' | |||
1072 | === target is u'../../../../helper/setup/image_setup.py' | |||
1073 | === added symlink 'specs/dev/full_nrpe_ha/juno/images.yaml' | |||
1074 | === target is u'../../../../helper/setup/images.yaml' | |||
1075 | === added symlink 'specs/dev/full_nrpe_ha/juno/keystone_setup.py' | |||
1076 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
1077 | === added symlink 'specs/dev/full_nrpe_ha/juno/keystone_users.yaml' | |||
1078 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
1079 | === added file 'specs/dev/full_nrpe_ha/juno/manifest' | |||
1080 | --- specs/dev/full_nrpe_ha/juno/manifest 1970-01-01 00:00:00 +0000 | |||
1081 | +++ specs/dev/full_nrpe_ha/juno/manifest 2015-05-08 09:54:56 +0000 | |||
1082 | @@ -0,0 +1,35 @@ | |||
1083 | 1 | # Collect the charm branches from Launchpad | ||
1084 | 2 | collect config=collect-next-ha | ||
1085 | 3 | |||
1086 | 4 | # Copy the branches to the deployment directory | ||
1087 | 5 | repo config=repo-next-ha | ||
1088 | 6 | |||
1089 | 7 | # Use juju deployer to create the units for the deployment | ||
1090 | 8 | deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-juno | ||
1091 | 9 | |||
1092 | 10 | # Check juju statuses are green and that hooks have finished | ||
1093 | 11 | verify config=check_juju.py | ||
1094 | 12 | |||
1095 | 13 | # Examine the available networks and set vips for services | ||
1096 | 14 | script config=set_vips.py | ||
1097 | 15 | |||
1098 | 16 | # Use juju deployer to add the relations for the deployment | ||
1099 | 17 | deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-juno | ||
1100 | 18 | |||
1101 | 19 | # Check juju statuses are green and that hooks have finished | ||
1102 | 20 | verify config=check_juju.py | ||
1103 | 21 | |||
1104 | 22 | # Create sdn on overcloud | ||
1105 | 23 | script config=network_setup.py | ||
1106 | 24 | |||
1107 | 25 | # Setup glance images | ||
1108 | 26 | script config=image_setup.py | ||
1109 | 27 | |||
1110 | 28 | # Setup keystone users | ||
1111 | 29 | script config=keystone_setup.py | ||
1112 | 30 | |||
1113 | 31 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1114 | 32 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300" | ||
1115 | 33 | |||
1116 | 34 | # Test obj store by sending and recieving files | ||
1117 | 35 | verify config=test_obj_store.py | ||
1118 | 0 | 36 | ||
1119 | === added symlink 'specs/dev/full_nrpe_ha/juno/network.yaml' | |||
1120 | === target is u'../../../../helper/setup/network.yaml' | |||
1121 | === added symlink 'specs/dev/full_nrpe_ha/juno/network_setup.py' | |||
1122 | === target is u'../../../../helper/setup/network_setup.py' | |||
1123 | === added symlink 'specs/dev/full_nrpe_ha/juno/repo-next-ha' | |||
1124 | === target is u'../../../../helper/collect/repo-next-ha' | |||
1125 | === added symlink 'specs/dev/full_nrpe_ha/juno/set_vips.py' | |||
1126 | === target is u'../../../../helper/setup/set_vips.py' | |||
1127 | === added symlink 'specs/dev/full_nrpe_ha/juno/simple_os_checks.py' | |||
1128 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
1129 | === added symlink 'specs/dev/full_nrpe_ha/juno/test_obj_store.py' | |||
1130 | === target is u'../../../../helper/tests/test_obj_store.py' | |||
1131 | === added symlink 'specs/dev/full_nrpe_ha/juno/utils' | |||
1132 | === target is u'../../../../helper/utils' | |||
1133 | === added directory 'specs/dev/full_nrpe_ha/kilo' | |||
1134 | === added file 'specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt' | |||
1135 | --- specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1136 | +++ specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1137 | @@ -0,0 +1,2 @@ | |||
1138 | 1 | This spec performs a phased ha deploy then runs tests to validate the | ||
1139 | 2 | deployment | ||
1140 | 0 | 3 | ||
1141 | === added symlink 'specs/dev/full_nrpe_ha/kilo/check_juju.py' | |||
1142 | === target is u'../../../../helper/tests/check_juju.py' | |||
1143 | === added symlink 'specs/dev/full_nrpe_ha/kilo/collect-next-ha' | |||
1144 | === target is u'../../../../helper/collect/collect-next-ha' | |||
1145 | === added symlink 'specs/dev/full_nrpe_ha/kilo/haphase1.yaml' | |||
1146 | === target is u'../../../../helper/bundles/haphase1.yaml' | |||
1147 | === added symlink 'specs/dev/full_nrpe_ha/kilo/haphase2.yaml' | |||
1148 | === target is u'../../../../helper/bundles/haphase2.yaml' | |||
1149 | === added symlink 'specs/dev/full_nrpe_ha/kilo/image_setup.py' | |||
1150 | === target is u'../../../../helper/setup/image_setup.py' | |||
1151 | === added symlink 'specs/dev/full_nrpe_ha/kilo/images.yaml' | |||
1152 | === target is u'../../../../helper/setup/images.yaml' | |||
1153 | === added symlink 'specs/dev/full_nrpe_ha/kilo/keystone_setup.py' | |||
1154 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
1155 | === added symlink 'specs/dev/full_nrpe_ha/kilo/keystone_users.yaml' | |||
1156 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
1157 | === added file 'specs/dev/full_nrpe_ha/kilo/manifest' | |||
1158 | --- specs/dev/full_nrpe_ha/kilo/manifest 1970-01-01 00:00:00 +0000 | |||
1159 | +++ specs/dev/full_nrpe_ha/kilo/manifest 2015-05-08 09:54:56 +0000 | |||
1160 | @@ -0,0 +1,35 @@ | |||
1161 | 1 | # Collect the charm branches from Launchpad | ||
1162 | 2 | collect config=collect-next-ha | ||
1163 | 3 | |||
1164 | 4 | # Copy the branches to the deployment directory | ||
1165 | 5 | repo config=repo-next-ha | ||
1166 | 6 | |||
1167 | 7 | # Use juju deployer to create the units for the deployment | ||
1168 | 8 | deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-kilo | ||
1169 | 9 | |||
1170 | 10 | # Check juju statuses are green and that hooks have finished | ||
1171 | 11 | verify config=check_juju.py | ||
1172 | 12 | |||
1173 | 13 | # Examine the available networks and set vips for services | ||
1174 | 14 | script config=set_vips.py | ||
1175 | 15 | |||
1176 | 16 | # Use juju deployer to add the relations for the deployment | ||
1177 | 17 | deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-kilo | ||
1178 | 18 | |||
1179 | 19 | # Check juju statuses are green and that hooks have finished | ||
1180 | 20 | verify config=check_juju.py | ||
1181 | 21 | |||
1182 | 22 | # Create sdn on overcloud | ||
1183 | 23 | script config=network_setup.py | ||
1184 | 24 | |||
1185 | 25 | # Setup glance images | ||
1186 | 26 | script config=image_setup.py | ||
1187 | 27 | |||
1188 | 28 | # Setup keystone users | ||
1189 | 29 | script config=keystone_setup.py | ||
1190 | 30 | |||
1191 | 31 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1192 | 32 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300" | ||
1193 | 33 | |||
1194 | 34 | # Test obj store by sending and recieving files | ||
1195 | 35 | verify config=test_obj_store.py | ||
1196 | 0 | 36 | ||
1197 | === added symlink 'specs/dev/full_nrpe_ha/kilo/network.yaml' | |||
1198 | === target is u'../../../../helper/setup/network.yaml' | |||
1199 | === added symlink 'specs/dev/full_nrpe_ha/kilo/network_setup.py' | |||
1200 | === target is u'../../../../helper/setup/network_setup.py' | |||
1201 | === added symlink 'specs/dev/full_nrpe_ha/kilo/repo-next-ha' | |||
1202 | === target is u'../../../../helper/collect/repo-next-ha' | |||
1203 | === added symlink 'specs/dev/full_nrpe_ha/kilo/set_vips.py' | |||
1204 | === target is u'../../../../helper/setup/set_vips.py' | |||
1205 | === added symlink 'specs/dev/full_nrpe_ha/kilo/simple_os_checks.py' | |||
1206 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
1207 | === added symlink 'specs/dev/full_nrpe_ha/kilo/test_obj_store.py' | |||
1208 | === target is u'../../../../helper/tests/test_obj_store.py' | |||
1209 | === added symlink 'specs/dev/full_nrpe_ha/kilo/utils' | |||
1210 | === target is u'../../../../helper/utils' | |||
1211 | === added directory 'specs/dev/kilo' | |||
1212 | === added file 'specs/dev/kilo/SPEC_INFO.txt' | |||
1213 | --- specs/dev/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1214 | +++ specs/dev/kilo/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1215 | @@ -0,0 +1,2 @@ | |||
1216 | 1 | This spec performs a non-ha deploy using the next charms and then runs tests | ||
1217 | 2 | to validate the deployment | ||
1218 | 0 | 3 | ||
1219 | === added symlink 'specs/dev/kilo/check_juju.py' | |||
1220 | === target is u'../../../helper/tests/check_juju.py' | |||
1221 | === added file 'specs/dev/kilo/collect-next' | |||
1222 | --- specs/dev/kilo/collect-next 1970-01-01 00:00:00 +0000 | |||
1223 | +++ specs/dev/kilo/collect-next 2015-05-08 09:54:56 +0000 | |||
1224 | @@ -0,0 +1,19 @@ | |||
1225 | 1 | keystone lp:~james-page/charms/trusty/keystone/kilo/ | ||
1226 | 2 | neutron-api lp:~james-page/charms/trusty/neutron-api/kilo/ | ||
1227 | 3 | glance lp:~james-page/charms/trusty/glance/kilo | ||
1228 | 4 | neutron-openvswitch lp:~james-page/charms/trusty/neutron-openvswitch/kilo | ||
1229 | 5 | quantum-gateway lp:~james-page/charms/trusty/quantum-gateway/kilo | ||
1230 | 6 | nova-cloud-controller lp:~james-page/charms/trusty/nova-cloud-controller/kilo | ||
1231 | 7 | nova-compute lp:~james-page/charms/trusty/nova-compute/kilo | ||
1232 | 8 | cinder lp:~james-page/charms/trusty/cinder/kilo | ||
1233 | 9 | swift-proxy lp:~james-page/charms/trusty/swift-proxy/kilo | ||
1234 | 10 | ceph lp:~james-page/charms/trusty/ceph/kilo-support | ||
1235 | 11 | mysql lp:~gnuoy/charms/trusty/mysql/sync-ch | ||
1236 | 12 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next | ||
1237 | 13 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | ||
1238 | 14 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | ||
1239 | 15 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | ||
1240 | 16 | ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next | ||
1241 | 17 | mongodb lp:charms/mongodb | ||
1242 | 18 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | ||
1243 | 19 | heat lp:~openstack-charmers/charms/trusty/heat/next | ||
1244 | 0 | 20 | ||
1245 | === added file 'specs/dev/kilo/full.yaml' | |||
1246 | --- specs/dev/kilo/full.yaml 1970-01-01 00:00:00 +0000 | |||
1247 | +++ specs/dev/kilo/full.yaml 2015-05-08 09:54:56 +0000 | |||
1248 | @@ -0,0 +1,252 @@ | |||
1249 | 1 | # vim: set ts=2 et: | ||
1250 | 2 | openstack-services: | ||
1251 | 3 | services: | ||
1252 | 4 | mysql: | ||
1253 | 5 | charm: mysql | ||
1254 | 6 | constraints: mem=1G | ||
1255 | 7 | options: | ||
1256 | 8 | dataset-size: 50% | ||
1257 | 9 | rabbitmq-server: | ||
1258 | 10 | charm: rabbitmq-server | ||
1259 | 11 | constraints: mem=1G | ||
1260 | 12 | ceph: | ||
1261 | 13 | charm: ceph | ||
1262 | 14 | num_units: 3 | ||
1263 | 15 | constraints: mem=1G | ||
1264 | 16 | options: | ||
1265 | 17 | monitor-count: 3 | ||
1266 | 18 | fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc | ||
1267 | 19 | monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ== | ||
1268 | 20 | osd-devices: /dev/vdb | ||
1269 | 21 | osd-reformat: "yes" | ||
1270 | 22 | ephemeral-unmount: /mnt | ||
1271 | 23 | keystone: | ||
1272 | 24 | charm: keystone | ||
1273 | 25 | constraints: mem=1G | ||
1274 | 26 | options: | ||
1275 | 27 | admin-password: openstack | ||
1276 | 28 | admin-token: ubuntutesting | ||
1277 | 29 | openstack-dashboard: | ||
1278 | 30 | charm: openstack-dashboard | ||
1279 | 31 | constraints: mem=1G | ||
1280 | 32 | nova-compute: | ||
1281 | 33 | charm: nova-compute | ||
1282 | 34 | num_units: 3 | ||
1283 | 35 | constraints: mem=4G | ||
1284 | 36 | options: | ||
1285 | 37 | enable-live-migration: True | ||
1286 | 38 | enable-resize: True | ||
1287 | 39 | nova-cloud-controller: | ||
1288 | 40 | charm: nova-cloud-controller | ||
1289 | 41 | constraints: mem=1G | ||
1290 | 42 | options: | ||
1291 | 43 | network-manager: Quantum | ||
1292 | 44 | quantum-security-groups: "yes" | ||
1293 | 45 | neutron-gateway: | ||
1294 | 46 | charm: quantum-gateway | ||
1295 | 47 | constraints: mem=1G | ||
1296 | 48 | options: | ||
1297 | 49 | instance-mtu: 1300 | ||
1298 | 50 | cinder: | ||
1299 | 51 | charm: cinder | ||
1300 | 52 | options: | ||
1301 | 53 | block-device: "None" | ||
1302 | 54 | glance-api-version: 2 | ||
1303 | 55 | constraints": mem=1G | ||
1304 | 56 | glance: | ||
1305 | 57 | charm: glance | ||
1306 | 58 | constraints: mem=1G | ||
1307 | 59 | swift-proxy: | ||
1308 | 60 | charm: swift-proxy | ||
1309 | 61 | constraints: mem=1G | ||
1310 | 62 | options: | ||
1311 | 63 | zone-assignment: manual | ||
1312 | 64 | replicas: 3 | ||
1313 | 65 | swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae | ||
1314 | 66 | swift-storage-z1: | ||
1315 | 67 | charm: swift-storage | ||
1316 | 68 | constraints: mem=1G | ||
1317 | 69 | options: | ||
1318 | 70 | zone: 1 | ||
1319 | 71 | block-device: vdb | ||
1320 | 72 | overwrite: "true" | ||
1321 | 73 | swift-storage-z2: | ||
1322 | 74 | charm: swift-storage | ||
1323 | 75 | constraints: mem=1G | ||
1324 | 76 | options: | ||
1325 | 77 | zone: 2 | ||
1326 | 78 | block-device: vdb | ||
1327 | 79 | overwrite: "true" | ||
1328 | 80 | swift-storage-z3: | ||
1329 | 81 | charm: swift-storage | ||
1330 | 82 | constraints: mem=1G | ||
1331 | 83 | options: | ||
1332 | 84 | zone: 3 | ||
1333 | 85 | block-device: vdb | ||
1334 | 86 | overwrite: "true" | ||
1335 | 87 | relations: | ||
1336 | 88 | - [ keystone, mysql ] | ||
1337 | 89 | - [ nova-cloud-controller, mysql ] | ||
1338 | 90 | - [ nova-cloud-controller, rabbitmq-server ] | ||
1339 | 91 | - [ nova-cloud-controller, glance ] | ||
1340 | 92 | - [ nova-cloud-controller, keystone ] | ||
1341 | 93 | - [ nova-compute, nova-cloud-controller ] | ||
1342 | 94 | - [ nova-compute, mysql ] | ||
1343 | 95 | - - nova-compute | ||
1344 | 96 | - rabbitmq-server:amqp | ||
1345 | 97 | - [ nova-compute, glance ] | ||
1346 | 98 | - [ nova-compute, ceph ] | ||
1347 | 99 | - [ glance, mysql ] | ||
1348 | 100 | - [ glance, keystone ] | ||
1349 | 101 | - [ glance, ceph ] | ||
1350 | 102 | - [ glance, cinder ] | ||
1351 | 103 | - [ cinder, mysql ] | ||
1352 | 104 | - [ cinder, rabbitmq-server ] | ||
1353 | 105 | - [ cinder, nova-cloud-controller ] | ||
1354 | 106 | - [ cinder, keystone ] | ||
1355 | 107 | - [ cinder, ceph ] | ||
1356 | 108 | - [ neutron-gateway, mysql ] | ||
1357 | 109 | - [ neutron-gateway, nova-cloud-controller ] | ||
1358 | 110 | - [ openstack-dashboard, keystone ] | ||
1359 | 111 | - [ swift-proxy, keystone ] | ||
1360 | 112 | - [ swift-proxy, swift-storage-z1 ] | ||
1361 | 113 | - [ swift-proxy, swift-storage-z2 ] | ||
1362 | 114 | - [ swift-proxy, swift-storage-z3 ] | ||
1363 | 115 | openstack-singlerabbit: | ||
1364 | 116 | inherits: openstack-services | ||
1365 | 117 | relations: | ||
1366 | 118 | - [ "neutron-gateway:amqp", rabbitmq-server ] | ||
1367 | 119 | openstack-icehouse: | ||
1368 | 120 | inherits: openstack-singlerabbit | ||
1369 | 121 | services: | ||
1370 | 122 | neutron-api: | ||
1371 | 123 | charm: neutron-api | ||
1372 | 124 | constraints: mem=1G | ||
1373 | 125 | options: | ||
1374 | 126 | neutron-security-groups: True | ||
1375 | 127 | neutron-openvswitch: | ||
1376 | 128 | charm: neutron-openvswitch | ||
1377 | 129 | relations: | ||
1378 | 130 | - [ neutron-api, mysql ] | ||
1379 | 131 | - [ neutron-api, rabbitmq-server ] | ||
1380 | 132 | - [ neutron-api, nova-cloud-controller ] | ||
1381 | 133 | - [ neutron-api, neutron-openvswitch ] | ||
1382 | 134 | - [ neutron-api, keystone ] | ||
1383 | 135 | - [ neutron-openvswitch, nova-compute ] | ||
1384 | 136 | - [ neutron-openvswitch, rabbitmq-server ] | ||
1385 | 137 | openstack-icehouse-msg-split: | ||
1386 | 138 | inherits: openstack-services | ||
1387 | 139 | services: | ||
1388 | 140 | neutron-api: | ||
1389 | 141 | charm: neutron-api | ||
1390 | 142 | constraints: mem=1G | ||
1391 | 143 | options: | ||
1392 | 144 | neutron-security-groups: True | ||
1393 | 145 | neutron-openvswitch: | ||
1394 | 146 | charm: neutron-openvswitch | ||
1395 | 147 | rabbitmq-server-neutron: | ||
1396 | 148 | charm: rabbitmq-server | ||
1397 | 149 | constraints: mem=1G | ||
1398 | 150 | relations: | ||
1399 | 151 | - [ neutron-api, mysql ] | ||
1400 | 152 | - [ neutron-api, rabbitmq-server-neutron ] | ||
1401 | 153 | - [ neutron-api, nova-cloud-controller ] | ||
1402 | 154 | - [ neutron-api, neutron-openvswitch ] | ||
1403 | 155 | - [ neutron-api, keystone ] | ||
1404 | 156 | - [ neutron-api, neutron-gateway ] | ||
1405 | 157 | - [ neutron-openvswitch, nova-compute ] | ||
1406 | 158 | - [ neutron-openvswitch, rabbitmq-server-neutron ] | ||
1407 | 159 | - [ "neutron-gateway:amqp-nova", rabbitmq-server ] | ||
1408 | 160 | - [ "neutron-gateway:amqp", rabbitmq-server-neutron ] | ||
1409 | 161 | # icehouse | ||
1410 | 162 | precise-icehouse: | ||
1411 | 163 | inherits: openstack-singlerabbit | ||
1412 | 164 | series: precise | ||
1413 | 165 | overrides: | ||
1414 | 166 | openstack-origin: cloud:precise-icehouse | ||
1415 | 167 | source: cloud:precise-updates/icehouse | ||
1416 | 168 | precise-icehouse-proposed: | ||
1417 | 169 | inherits: precise-icehouse | ||
1418 | 170 | overrides: | ||
1419 | 171 | openstack-origin: cloud:precise-icehouse/proposed | ||
1420 | 172 | source: cloud:precise-updates/icehouse | ||
1421 | 173 | precise-icehouse-staging: | ||
1422 | 174 | inherits: precise-icehouse | ||
1423 | 175 | overrides: | ||
1424 | 176 | openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging | ||
1425 | 177 | source: ppa:ubuntu-cloud-archive/icehouse-staging | ||
1426 | 178 | precise-icehouse-trunk: | ||
1427 | 179 | inherits: precise-icehouse | ||
1428 | 180 | overrides: | ||
1429 | 181 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
1430 | 182 | source: ppa:openstack-ubuntu-testing/icehouse | ||
1431 | 183 | trusty-icehouse: | ||
1432 | 184 | inherits: openstack-icehouse | ||
1433 | 185 | series: trusty | ||
1434 | 186 | trusty-icehouse-msg-split: | ||
1435 | 187 | inherits: openstack-icehouse-msg-split | ||
1436 | 188 | series: trusty | ||
1437 | 189 | trusty-icehouse-proposed: | ||
1438 | 190 | inherits: trusty-icehouse | ||
1439 | 191 | overrides: | ||
1440 | 192 | source: proposed | ||
1441 | 193 | openstack-origin: distro-proposed | ||
1442 | 194 | trusty-icehouse-trunk: | ||
1443 | 195 | inherits: trusty-icehouse | ||
1444 | 196 | overrides: | ||
1445 | 197 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
1446 | 198 | source: ppa:openstack-ubuntu-testing/icehouse | ||
1447 | 199 | offline-compression: "no" | ||
1448 | 200 | # juno | ||
1449 | 201 | trusty-juno: | ||
1450 | 202 | inherits: openstack-icehouse | ||
1451 | 203 | series: trusty | ||
1452 | 204 | overrides: | ||
1453 | 205 | openstack-origin: cloud:trusty-juno | ||
1454 | 206 | source: cloud:trusty-updates/juno | ||
1455 | 207 | trusty-juno-proposed: | ||
1456 | 208 | inherits: trusty-juno | ||
1457 | 209 | overrides: | ||
1458 | 210 | openstack-origin: cloud:trusty-juno/proposed | ||
1459 | 211 | source: cloud:trusty-proposed/juno | ||
1460 | 212 | trusty-juno-staging: | ||
1461 | 213 | inherits: trusty-juno | ||
1462 | 214 | overrides: | ||
1463 | 215 | openstack-origin: ppa:ubuntu-cloud-archive/juno-staging | ||
1464 | 216 | source: ppa:ubuntu-cloud-archive/juno-staging | ||
1465 | 217 | utopic-juno: | ||
1466 | 218 | inherits: openstack-icehouse | ||
1467 | 219 | series: utopic | ||
1468 | 220 | utopic-juno-proposed: | ||
1469 | 221 | inherits: utopic-juno | ||
1470 | 222 | overrides: | ||
1471 | 223 | source: proposed | ||
1472 | 224 | openstack-origin: distro-proposed | ||
1473 | 225 | # kilo | ||
1474 | 226 | trusty-kilo: | ||
1475 | 227 | inherits: openstack-icehouse | ||
1476 | 228 | series: trusty | ||
1477 | 229 | overrides: | ||
1478 | 230 | openstack-origin: ppa:james-page/kilo | ||
1479 | 231 | source: ppa:james-page/kilo | ||
1480 | 232 | trusty-kilo-proposed: | ||
1481 | 233 | inherits: trusty-kilo | ||
1482 | 234 | overrides: | ||
1483 | 235 | openstack-origin: cloud:trusty-kilo/proposed | ||
1484 | 236 | source: cloud:trusty-proposed/kilo | ||
1485 | 237 | trusty-kilo-staging: | ||
1486 | 238 | inherits: trusty-kilo | ||
1487 | 239 | overrides: | ||
1488 | 240 | openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging | ||
1489 | 241 | source: ppa:ubuntu-cloud-archive/kilo-staging | ||
1490 | 242 | vivid-kilo: | ||
1491 | 243 | inherits: openstack-icehouse | ||
1492 | 244 | series: vivid | ||
1493 | 245 | overrides: | ||
1494 | 246 | openstack-origin: ppa:james-page/kilo | ||
1495 | 247 | source: ppa:james-page/kilo | ||
1496 | 248 | vivid-kilo-proposed: | ||
1497 | 249 | inherits: vivid-kilo | ||
1498 | 250 | overrides: | ||
1499 | 251 | source: proposed | ||
1500 | 252 | openstack-origin: distro-proposed | ||
1501 | 0 | 253 | ||
1502 | === added symlink 'specs/dev/kilo/image_setup.py' | |||
1503 | === target is u'../../../helper/setup/image_setup.py' | |||
1504 | === added symlink 'specs/dev/kilo/images.yaml' | |||
1505 | === target is u'../../../helper/setup/images.yaml' | |||
1506 | === added symlink 'specs/dev/kilo/keystone_setup.py' | |||
1507 | === target is u'../../../helper/setup/keystone_setup.py' | |||
1508 | === added symlink 'specs/dev/kilo/keystone_users.yaml' | |||
1509 | === target is u'../../../helper/setup/keystone_users.yaml' | |||
1510 | === added file 'specs/dev/kilo/manifest' | |||
1511 | --- specs/dev/kilo/manifest 1970-01-01 00:00:00 +0000 | |||
1512 | +++ specs/dev/kilo/manifest 2015-05-08 09:54:56 +0000 | |||
1513 | @@ -0,0 +1,23 @@ | |||
1514 | 1 | # Collect the charm branches from Launchpad | ||
1515 | 2 | collect config=collect-next | ||
1516 | 3 | |||
1517 | 4 | # Copy the branches to the deployment directory | ||
1518 | 5 | repo config=repo-next | ||
1519 | 6 | |||
1520 | 7 | # Use juju deployer with full.yaml bundle | ||
1521 | 8 | deploy config=full.yaml delay=0 target=${MOJO_SERIES}-kilo | ||
1522 | 9 | |||
1523 | 10 | # Check juju statuses are green and that hooks have finished | ||
1524 | 11 | verify config=check_juju.py | ||
1525 | 12 | |||
1526 | 13 | # Create sdn on overcloud | ||
1527 | 14 | script config=network_setup.py | ||
1528 | 15 | |||
1529 | 16 | # Setup glance images | ||
1530 | 17 | script config=image_setup.py | ||
1531 | 18 | |||
1532 | 19 | # Setup keystone users | ||
1533 | 20 | script config=keystone_setup.py | ||
1534 | 21 | |||
1535 | 22 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1536 | 23 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300" | ||
1537 | 0 | 24 | ||
1538 | === added symlink 'specs/dev/kilo/network.yaml' | |||
1539 | === target is u'../../../helper/setup/network.yaml' | |||
1540 | === added symlink 'specs/dev/kilo/network_setup.py' | |||
1541 | === target is u'../../../helper/setup/network_setup.py' | |||
1542 | === added symlink 'specs/dev/kilo/repo-next' | |||
1543 | === target is u'../../../helper/collect/repo-next' | |||
1544 | === added symlink 'specs/dev/kilo/simple_os_checks.py' | |||
1545 | === target is u'../../../helper/tests/simple_os_checks.py' | |||
1546 | === added symlink 'specs/dev/kilo/utils' | |||
1547 | === target is u'../../../helper/utils' | |||
1548 | === added directory 'specs/dev/neutronshuffle' | |||
1549 | === added file 'specs/dev/neutronshuffle/SPEC_INFO.txt' | |||
1550 | --- specs/dev/neutronshuffle/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1551 | +++ specs/dev/neutronshuffle/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1552 | @@ -0,0 +1,2 @@ | |||
1553 | 1 | This spec performs a non-ha deploy using the next charms and then runs tests | ||
1554 | 2 | to validate the deployment | ||
1555 | 0 | 3 | ||
1556 | === added symlink 'specs/dev/neutronshuffle/check_juju.py' | |||
1557 | === target is u'../../../helper/tests/check_juju.py' | |||
1558 | === added symlink 'specs/dev/neutronshuffle/collect-next' | |||
1559 | === target is u'../../../helper/collect/collect-next' | |||
1560 | === added symlink 'specs/dev/neutronshuffle/full.yaml' | |||
1561 | === target is u'../../../helper/bundles/full.yaml' | |||
1562 | === added symlink 'specs/dev/neutronshuffle/image_setup.py' | |||
1563 | === target is u'../../../helper/setup/image_setup.py' | |||
1564 | === added symlink 'specs/dev/neutronshuffle/images.yaml' | |||
1565 | === target is u'../../../helper/setup/images.yaml' | |||
1566 | === added symlink 'specs/dev/neutronshuffle/keystone_setup.py' | |||
1567 | === target is u'../../../helper/setup/keystone_setup.py' | |||
1568 | === added symlink 'specs/dev/neutronshuffle/keystone_users.yaml' | |||
1569 | === target is u'../../../helper/setup/keystone_users.yaml' | |||
1570 | === added file 'specs/dev/neutronshuffle/manifest' | |||
1571 | --- specs/dev/neutronshuffle/manifest 1970-01-01 00:00:00 +0000 | |||
1572 | +++ specs/dev/neutronshuffle/manifest 2015-05-08 09:54:56 +0000 | |||
1573 | @@ -0,0 +1,23 @@ | |||
1574 | 1 | # Collect the charm branches from Launchpad | ||
1575 | 2 | collect config=collect-next | ||
1576 | 3 | |||
1577 | 4 | # Copy the branches to the deployment directory | ||
1578 | 5 | repo config=repo-next | ||
1579 | 6 | |||
1580 | 7 | # Use juju deployer with full.yaml bundle | ||
1581 | 8 | deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse | ||
1582 | 9 | |||
1583 | 10 | # Check juju statuses are green and that hooks have finished | ||
1584 | 11 | verify config=check_juju.py | ||
1585 | 12 | |||
1586 | 13 | # Create sdn on overcloud | ||
1587 | 14 | script config=network_setup.py | ||
1588 | 15 | |||
1589 | 16 | # Setup glance images | ||
1590 | 17 | script config=image_setup.py | ||
1591 | 18 | |||
1592 | 19 | # Setup keystone users | ||
1593 | 20 | script config=keystone_setup.py | ||
1594 | 21 | |||
1595 | 22 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1596 | 23 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300" | ||
1597 | 0 | 24 | ||
1598 | === added symlink 'specs/dev/neutronshuffle/network.yaml' | |||
1599 | === target is u'../../../helper/setup/network.yaml' | |||
1600 | === added symlink 'specs/dev/neutronshuffle/network_setup.py' | |||
1601 | === target is u'../../../helper/setup/network_setup.py' | |||
1602 | === added symlink 'specs/dev/neutronshuffle/repo-next' | |||
1603 | === target is u'../../../helper/collect/repo-next' | |||
1604 | === added symlink 'specs/dev/neutronshuffle/simple_os_checks.py' | |||
1605 | === target is u'../../../helper/tests/simple_os_checks.py' | |||
1606 | === added symlink 'specs/dev/neutronshuffle/utils' | |||
1607 | === target is u'../../../helper/utils' | |||
1608 | === added directory 'specs/dev/next_l2pop' | |||
1609 | === added directory 'specs/dev/next_l2pop/icehouse' | |||
1610 | === added file 'specs/dev/next_l2pop/icehouse/SPEC_INFO.txt' | |||
1611 | --- specs/dev/next_l2pop/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1612 | +++ specs/dev/next_l2pop/icehouse/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1613 | @@ -0,0 +1,2 @@ | |||
1614 | 1 | This spec performs a non-ha deploy using the next charms and then runs tests | ||
1615 | 2 | to validate the deployment | ||
1616 | 0 | 3 | ||
1617 | === added symlink 'specs/dev/next_l2pop/icehouse/check_juju.py' | |||
1618 | === target is u'../../../../helper/tests/check_juju.py' | |||
1619 | === added symlink 'specs/dev/next_l2pop/icehouse/collect-next' | |||
1620 | === target is u'../../../../helper/collect/collect-next' | |||
1621 | === added file 'specs/dev/next_l2pop/icehouse/full.yaml' | |||
1622 | --- specs/dev/next_l2pop/icehouse/full.yaml 1970-01-01 00:00:00 +0000 | |||
1623 | +++ specs/dev/next_l2pop/icehouse/full.yaml 2015-05-08 09:54:56 +0000 | |||
1624 | @@ -0,0 +1,263 @@ | |||
1625 | 1 | # vim: set ts=2 et: | ||
1626 | 2 | openstack-services: | ||
1627 | 3 | services: | ||
1628 | 4 | mysql: | ||
1629 | 5 | charm: mysql | ||
1630 | 6 | constraints: mem=1G | ||
1631 | 7 | options: | ||
1632 | 8 | dataset-size: 50% | ||
1633 | 9 | rabbitmq-server: | ||
1634 | 10 | charm: rabbitmq-server | ||
1635 | 11 | constraints: mem=1G | ||
1636 | 12 | ceph: | ||
1637 | 13 | charm: ceph | ||
1638 | 14 | num_units: 3 | ||
1639 | 15 | constraints: mem=1G | ||
1640 | 16 | options: | ||
1641 | 17 | monitor-count: 3 | ||
1642 | 18 | fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc | ||
1643 | 19 | monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ== | ||
1644 | 20 | osd-devices: /dev/vdb | ||
1645 | 21 | osd-reformat: "yes" | ||
1646 | 22 | ephemeral-unmount: /mnt | ||
1647 | 23 | keystone: | ||
1648 | 24 | charm: keystone | ||
1649 | 25 | constraints: mem=1G | ||
1650 | 26 | options: | ||
1651 | 27 | admin-password: openstack | ||
1652 | 28 | admin-token: ubuntutesting | ||
1653 | 29 | openstack-dashboard: | ||
1654 | 30 | charm: openstack-dashboard | ||
1655 | 31 | constraints: mem=1G | ||
1656 | 32 | nova-compute: | ||
1657 | 33 | charm: nova-compute | ||
1658 | 34 | num_units: 3 | ||
1659 | 35 | constraints: mem=4G | ||
1660 | 36 | options: | ||
1661 | 37 | enable-live-migration: True | ||
1662 | 38 | enable-resize: True | ||
1663 | 39 | nova-cloud-controller: | ||
1664 | 40 | charm: nova-cloud-controller | ||
1665 | 41 | constraints: mem=1G | ||
1666 | 42 | options: | ||
1667 | 43 | network-manager: Quantum | ||
1668 | 44 | quantum-security-groups: "yes" | ||
1669 | 45 | neutron-gateway: | ||
1670 | 46 | charm: quantum-gateway | ||
1671 | 47 | constraints: mem=1G | ||
1672 | 48 | options: | ||
1673 | 49 | instance-mtu: 1300 | ||
1674 | 50 | cinder: | ||
1675 | 51 | charm: cinder | ||
1676 | 52 | options: | ||
1677 | 53 | block-device: "None" | ||
1678 | 54 | glance-api-version: 2 | ||
1679 | 55 | constraints": mem=1G | ||
1680 | 56 | glance: | ||
1681 | 57 | charm: glance | ||
1682 | 58 | constraints: mem=1G | ||
1683 | 59 | swift-proxy: | ||
1684 | 60 | charm: swift-proxy | ||
1685 | 61 | constraints: mem=1G | ||
1686 | 62 | options: | ||
1687 | 63 | zone-assignment: manual | ||
1688 | 64 | replicas: 3 | ||
1689 | 65 | swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae | ||
1690 | 66 | swift-storage-z1: | ||
1691 | 67 | charm: swift-storage | ||
1692 | 68 | constraints: mem=1G | ||
1693 | 69 | options: | ||
1694 | 70 | zone: 1 | ||
1695 | 71 | block-device: vdb | ||
1696 | 72 | overwrite: "true" | ||
1697 | 73 | swift-storage-z2: | ||
1698 | 74 | charm: swift-storage | ||
1699 | 75 | constraints: mem=1G | ||
1700 | 76 | options: | ||
1701 | 77 | zone: 2 | ||
1702 | 78 | block-device: vdb | ||
1703 | 79 | overwrite: "true" | ||
1704 | 80 | swift-storage-z3: | ||
1705 | 81 | charm: swift-storage | ||
1706 | 82 | constraints: mem=1G | ||
1707 | 83 | options: | ||
1708 | 84 | zone: 3 | ||
1709 | 85 | block-device: vdb | ||
1710 | 86 | overwrite: "true" | ||
1711 | 87 | ceilometer: | ||
1712 | 88 | charm: ceilometer | ||
1713 | 89 | constraints: mem=1G | ||
1714 | 90 | ceilometer-agent: | ||
1715 | 91 | charm: ceilometer-agent | ||
1716 | 92 | mongodb: | ||
1717 | 93 | charm: mongodb | ||
1718 | 94 | constraints: mem=1G | ||
1719 | 95 | relations: | ||
1720 | 96 | - [ keystone, mysql ] | ||
1721 | 97 | - [ nova-cloud-controller, mysql ] | ||
1722 | 98 | - [ nova-cloud-controller, rabbitmq-server ] | ||
1723 | 99 | - [ nova-cloud-controller, glance ] | ||
1724 | 100 | - [ nova-cloud-controller, keystone ] | ||
1725 | 101 | - [ nova-compute, nova-cloud-controller ] | ||
1726 | 102 | - [ nova-compute, mysql ] | ||
1727 | 103 | - - nova-compute | ||
1728 | 104 | - rabbitmq-server:amqp | ||
1729 | 105 | - [ nova-compute, glance ] | ||
1730 | 106 | - [ nova-compute, ceph ] | ||
1731 | 107 | - [ glance, mysql ] | ||
1732 | 108 | - [ glance, keystone ] | ||
1733 | 109 | - [ glance, ceph ] | ||
1734 | 110 | - [ glance, cinder ] | ||
1735 | 111 | - [ cinder, mysql ] | ||
1736 | 112 | - [ cinder, rabbitmq-server ] | ||
1737 | 113 | - [ cinder, nova-cloud-controller ] | ||
1738 | 114 | - [ cinder, keystone ] | ||
1739 | 115 | - [ cinder, ceph ] | ||
1740 | 116 | - [ neutron-gateway, mysql ] | ||
1741 | 117 | - [ neutron-gateway, nova-cloud-controller ] | ||
1742 | 118 | - [ openstack-dashboard, keystone ] | ||
1743 | 119 | - [ swift-proxy, keystone ] | ||
1744 | 120 | - [ swift-proxy, swift-storage-z1 ] | ||
1745 | 121 | - [ swift-proxy, swift-storage-z2 ] | ||
1746 | 122 | - [ swift-proxy, swift-storage-z3 ] | ||
1747 | 123 | - [ "ceilometer:identity-service", keystone ] | ||
1748 | 124 | - [ ceilometer, rabbitmq-server ] | ||
1749 | 125 | - [ ceilometer, mongodb ] | ||
1750 | 126 | - [ ceilometer-agent, nova-compute ] | ||
1751 | 127 | - [ ceilometer-agent, ceilometer ] | ||
1752 | 128 | openstack-singlerabbit: | ||
1753 | 129 | inherits: openstack-services | ||
1754 | 130 | relations: | ||
1755 | 131 | - [ "neutron-gateway:amqp", rabbitmq-server ] | ||
1756 | 132 | openstack-icehouse: | ||
1757 | 133 | inherits: openstack-singlerabbit | ||
1758 | 134 | services: | ||
1759 | 135 | neutron-api: | ||
1760 | 136 | charm: neutron-api | ||
1761 | 137 | constraints: mem=1G | ||
1762 | 138 | options: | ||
1763 | 139 | l2-population: True | ||
1764 | 140 | neutron-security-groups: True | ||
1765 | 141 | neutron-openvswitch: | ||
1766 | 142 | charm: neutron-openvswitch | ||
1767 | 143 | relations: | ||
1768 | 144 | - [ neutron-api, mysql ] | ||
1769 | 145 | - [ neutron-api, rabbitmq-server ] | ||
1770 | 146 | - [ neutron-api, nova-cloud-controller ] | ||
1771 | 147 | - [ neutron-api, neutron-openvswitch ] | ||
1772 | 148 | - [ neutron-api, keystone ] | ||
1773 | 149 | - [ neutron-openvswitch, nova-compute ] | ||
1774 | 150 | - [ neutron-openvswitch, rabbitmq-server ] | ||
1775 | 151 | openstack-icehouse-msg-split: | ||
1776 | 152 | inherits: openstack-services | ||
1777 | 153 | services: | ||
1778 | 154 | neutron-api: | ||
1779 | 155 | charm: neutron-api | ||
1780 | 156 | constraints: mem=1G | ||
1781 | 157 | options: | ||
1782 | 158 | neutron-security-groups: True | ||
1783 | 159 | neutron-openvswitch: | ||
1784 | 160 | charm: neutron-openvswitch | ||
1785 | 161 | rabbitmq-server-neutron: | ||
1786 | 162 | charm: rabbitmq-server | ||
1787 | 163 | constraints: mem=1G | ||
1788 | 164 | relations: | ||
1789 | 165 | - [ neutron-api, mysql ] | ||
1790 | 166 | - [ neutron-api, rabbitmq-server-neutron ] | ||
1791 | 167 | - [ neutron-api, nova-cloud-controller ] | ||
1792 | 168 | - [ neutron-api, neutron-openvswitch ] | ||
1793 | 169 | - [ neutron-api, keystone ] | ||
1794 | 170 | - [ neutron-api, neutron-gateway ] | ||
1795 | 171 | - [ neutron-openvswitch, nova-compute ] | ||
1796 | 172 | - [ neutron-openvswitch, rabbitmq-server-neutron ] | ||
1797 | 173 | - [ "neutron-gateway:amqp-nova", rabbitmq-server ] | ||
1798 | 174 | - [ "neutron-gateway:amqp", rabbitmq-server-neutron ] | ||
1799 | 175 | # icehouse | ||
1800 | 176 | precise-icehouse: | ||
1801 | 177 | inherits: openstack-singlerabbit | ||
1802 | 178 | series: precise | ||
1803 | 179 | overrides: | ||
1804 | 180 | openstack-origin: cloud:precise-icehouse | ||
1805 | 181 | source: cloud:precise-updates/icehouse | ||
1806 | 182 | precise-icehouse-proposed: | ||
1807 | 183 | inherits: precise-icehouse | ||
1808 | 184 | overrides: | ||
1809 | 185 | openstack-origin: cloud:precise-icehouse/proposed | ||
1810 | 186 | source: cloud:precise-updates/icehouse | ||
1811 | 187 | precise-icehouse-staging: | ||
1812 | 188 | inherits: precise-icehouse | ||
1813 | 189 | overrides: | ||
1814 | 190 | openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging | ||
1815 | 191 | source: ppa:ubuntu-cloud-archive/icehouse-staging | ||
1816 | 192 | precise-icehouse-trunk: | ||
1817 | 193 | inherits: precise-icehouse | ||
1818 | 194 | overrides: | ||
1819 | 195 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
1820 | 196 | source: ppa:openstack-ubuntu-testing/icehouse | ||
1821 | 197 | trusty-icehouse: | ||
1822 | 198 | inherits: openstack-icehouse | ||
1823 | 199 | series: trusty | ||
1824 | 200 | trusty-icehouse-msg-split: | ||
1825 | 201 | inherits: openstack-icehouse-msg-split | ||
1826 | 202 | series: trusty | ||
1827 | 203 | trusty-icehouse-proposed: | ||
1828 | 204 | inherits: trusty-icehouse | ||
1829 | 205 | overrides: | ||
1830 | 206 | source: proposed | ||
1831 | 207 | openstack-origin: distro-proposed | ||
1832 | 208 | trusty-icehouse-trunk: | ||
1833 | 209 | inherits: trusty-icehouse | ||
1834 | 210 | overrides: | ||
1835 | 211 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
1836 | 212 | source: ppa:openstack-ubuntu-testing/icehouse | ||
1837 | 213 | offline-compression: "no" | ||
1838 | 214 | # juno | ||
1839 | 215 | trusty-juno: | ||
1840 | 216 | inherits: openstack-icehouse | ||
1841 | 217 | series: trusty | ||
1842 | 218 | overrides: | ||
1843 | 219 | openstack-origin: cloud:trusty-juno | ||
1844 | 220 | source: cloud:trusty-updates/juno | ||
1845 | 221 | trusty-juno-proposed: | ||
1846 | 222 | inherits: trusty-juno | ||
1847 | 223 | overrides: | ||
1848 | 224 | openstack-origin: cloud:trusty-juno/proposed | ||
1849 | 225 | source: cloud:trusty-proposed/juno | ||
1850 | 226 | trusty-juno-staging: | ||
1851 | 227 | inherits: trusty-juno | ||
1852 | 228 | overrides: | ||
1853 | 229 | openstack-origin: ppa:ubuntu-cloud-archive/juno-staging | ||
1854 | 230 | source: ppa:ubuntu-cloud-archive/juno-staging | ||
1855 | 231 | utopic-juno: | ||
1856 | 232 | inherits: openstack-icehouse | ||
1857 | 233 | series: utopic | ||
1858 | 234 | utopic-juno-proposed: | ||
1859 | 235 | inherits: utopic-juno | ||
1860 | 236 | overrides: | ||
1861 | 237 | source: proposed | ||
1862 | 238 | openstack-origin: distro-proposed | ||
1863 | 239 | # kilo | ||
1864 | 240 | trusty-kilo: | ||
1865 | 241 | inherits: openstack-icehouse | ||
1866 | 242 | series: trusty | ||
1867 | 243 | overrides: | ||
1868 | 244 | openstack-origin: cloud:trusty-kilo | ||
1869 | 245 | source: cloud:trusty-kilo | ||
1870 | 246 | trusty-kilo-proposed: | ||
1871 | 247 | inherits: trusty-kilo | ||
1872 | 248 | overrides: | ||
1873 | 249 | openstack-origin: cloud:trusty-kilo/proposed | ||
1874 | 250 | source: cloud:trusty-proposed/kilo | ||
1875 | 251 | trusty-kilo-staging: | ||
1876 | 252 | inherits: trusty-kilo | ||
1877 | 253 | overrides: | ||
1878 | 254 | openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging | ||
1879 | 255 | source: ppa:ubuntu-cloud-archive/kilo-staging | ||
1880 | 256 | vivid-kilo: | ||
1881 | 257 | inherits: openstack-icehouse | ||
1882 | 258 | series: vivid | ||
1883 | 259 | vivid-kilo-proposed: | ||
1884 | 260 | inherits: vivid-kilo | ||
1885 | 261 | overrides: | ||
1886 | 262 | source: proposed | ||
1887 | 263 | openstack-origin: distro-proposed | ||
1888 | 0 | 264 | ||
1889 | === added symlink 'specs/dev/next_l2pop/icehouse/image_setup.py' | |||
1890 | === target is u'../../../../helper/setup/image_setup.py' | |||
1891 | === added symlink 'specs/dev/next_l2pop/icehouse/images.yaml' | |||
1892 | === target is u'../../../../helper/setup/images.yaml' | |||
1893 | === added symlink 'specs/dev/next_l2pop/icehouse/keystone_setup.py' | |||
1894 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
1895 | === added symlink 'specs/dev/next_l2pop/icehouse/keystone_users.yaml' | |||
1896 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
1897 | === added file 'specs/dev/next_l2pop/icehouse/manifest' | |||
1898 | --- specs/dev/next_l2pop/icehouse/manifest 1970-01-01 00:00:00 +0000 | |||
1899 | +++ specs/dev/next_l2pop/icehouse/manifest 2015-05-08 09:54:56 +0000 | |||
1900 | @@ -0,0 +1,23 @@ | |||
1901 | 1 | # Collect the charm branches from Launchpad | ||
1902 | 2 | collect config=collect-next | ||
1903 | 3 | |||
1904 | 4 | # Copy the branches to the deployment directory | ||
1905 | 5 | repo config=repo-next | ||
1906 | 6 | |||
1907 | 7 | # Use juju deployer with full.yaml bundle | ||
1908 | 8 | deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse | ||
1909 | 9 | |||
1910 | 10 | # Check juju statuses are green and that hooks have finished | ||
1911 | 11 | verify config=check_juju.py | ||
1912 | 12 | |||
1913 | 13 | # Create sdn on overcloud | ||
1914 | 14 | script config=network_setup.py | ||
1915 | 15 | |||
1916 | 16 | # Setup glance images | ||
1917 | 17 | script config=image_setup.py | ||
1918 | 18 | |||
1919 | 19 | # Setup keystone users | ||
1920 | 20 | script config=keystone_setup.py | ||
1921 | 21 | |||
1922 | 22 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1923 | 23 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300" | ||
1924 | 0 | 24 | ||
1925 | === added symlink 'specs/dev/next_l2pop/icehouse/network.yaml' | |||
1926 | === target is u'../../../../helper/setup/network.yaml' | |||
1927 | === added symlink 'specs/dev/next_l2pop/icehouse/network_setup.py' | |||
1928 | === target is u'../../../../helper/setup/network_setup.py' | |||
1929 | === added symlink 'specs/dev/next_l2pop/icehouse/repo-next' | |||
1930 | === target is u'../../../../helper/collect/repo-next' | |||
1931 | === added symlink 'specs/dev/next_l2pop/icehouse/simple_os_checks.py' | |||
1932 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
1933 | === added symlink 'specs/dev/next_l2pop/icehouse/utils' | |||
1934 | === target is u'../../../../helper/utils' | |||
1935 | === added directory 'specs/dev/next_l2pop/juno' | |||
1936 | === added file 'specs/dev/next_l2pop/juno/SPEC_INFO.txt' | |||
1937 | --- specs/dev/next_l2pop/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1938 | +++ specs/dev/next_l2pop/juno/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1939 | @@ -0,0 +1,2 @@ | |||
1940 | 1 | This spec performs a non-ha deploy using the next charms and then runs tests | ||
1941 | 2 | to validate the deployment | ||
1942 | 0 | 3 | ||
1943 | === added symlink 'specs/dev/next_l2pop/juno/check_juju.py' | |||
1944 | === target is u'../../../../helper/tests/check_juju.py' | |||
1945 | === added symlink 'specs/dev/next_l2pop/juno/collect-next' | |||
1946 | === target is u'../../../../helper/collect/collect-next' | |||
1947 | === added symlink 'specs/dev/next_l2pop/juno/full.yaml' | |||
1948 | === target is u'../../../../helper/bundles/full.yaml' | |||
1949 | === added symlink 'specs/dev/next_l2pop/juno/image_setup.py' | |||
1950 | === target is u'../../../../helper/setup/image_setup.py' | |||
1951 | === added symlink 'specs/dev/next_l2pop/juno/images.yaml' | |||
1952 | === target is u'../../../../helper/setup/images.yaml' | |||
1953 | === added symlink 'specs/dev/next_l2pop/juno/keystone_setup.py' | |||
1954 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
1955 | === added symlink 'specs/dev/next_l2pop/juno/keystone_users.yaml' | |||
1956 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
1957 | === added file 'specs/dev/next_l2pop/juno/manifest' | |||
1958 | --- specs/dev/next_l2pop/juno/manifest 1970-01-01 00:00:00 +0000 | |||
1959 | +++ specs/dev/next_l2pop/juno/manifest 2015-05-08 09:54:56 +0000 | |||
1960 | @@ -0,0 +1,23 @@ | |||
1961 | 1 | # Collect the charm branches from Launchpad | ||
1962 | 2 | collect config=collect-next | ||
1963 | 3 | |||
1964 | 4 | # Copy the branches to the deployment directory | ||
1965 | 5 | repo config=repo-next | ||
1966 | 6 | |||
1967 | 7 | # Use juju deployer with full.yaml bundle | ||
1968 | 8 | deploy config=full.yaml delay=0 target=${MOJO_SERIES}-juno | ||
1969 | 9 | |||
1970 | 10 | # Check juju statuses are green and that hooks have finished | ||
1971 | 11 | verify config=check_juju.py | ||
1972 | 12 | |||
1973 | 13 | # Create sdn on overcloud | ||
1974 | 14 | script config=network_setup.py | ||
1975 | 15 | |||
1976 | 16 | # Setup glance images | ||
1977 | 17 | script config=image_setup.py | ||
1978 | 18 | |||
1979 | 19 | # Setup keystone users | ||
1980 | 20 | script config=keystone_setup.py | ||
1981 | 21 | |||
1982 | 22 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
1983 | 23 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300" | ||
1984 | 0 | 24 | ||
1985 | === added symlink 'specs/dev/next_l2pop/juno/network.yaml' | |||
1986 | === target is u'../../../../helper/setup/network.yaml' | |||
1987 | === added symlink 'specs/dev/next_l2pop/juno/network_setup.py' | |||
1988 | === target is u'../../../../helper/setup/network_setup.py' | |||
1989 | === added symlink 'specs/dev/next_l2pop/juno/repo-next' | |||
1990 | === target is u'../../../../helper/collect/repo-next' | |||
1991 | === added symlink 'specs/dev/next_l2pop/juno/simple_os_checks.py' | |||
1992 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
1993 | === added symlink 'specs/dev/next_l2pop/juno/utils' | |||
1994 | === target is u'../../../../helper/utils' | |||
1995 | === added directory 'specs/dev/next_l2pop/kilo' | |||
1996 | === added file 'specs/dev/next_l2pop/kilo/SPEC_INFO.txt' | |||
1997 | --- specs/dev/next_l2pop/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
1998 | +++ specs/dev/next_l2pop/kilo/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
1999 | @@ -0,0 +1,2 @@ | |||
2000 | 1 | This spec performs a non-ha deploy using the next charms and then runs tests | ||
2001 | 2 | to validate the deployment | ||
2002 | 0 | 3 | ||
2003 | === added symlink 'specs/dev/next_l2pop/kilo/check_juju.py' | |||
2004 | === target is u'../../../../helper/tests/check_juju.py' | |||
2005 | === added symlink 'specs/dev/next_l2pop/kilo/collect-next' | |||
2006 | === target is u'../../../../helper/collect/collect-next' | |||
2007 | === added symlink 'specs/dev/next_l2pop/kilo/full.yaml' | |||
2008 | === target is u'../../../../helper/bundles/full.yaml' | |||
2009 | === added symlink 'specs/dev/next_l2pop/kilo/image_setup.py' | |||
2010 | === target is u'../../../../helper/setup/image_setup.py' | |||
2011 | === added symlink 'specs/dev/next_l2pop/kilo/images.yaml' | |||
2012 | === target is u'../../../../helper/setup/images.yaml' | |||
2013 | === added symlink 'specs/dev/next_l2pop/kilo/keystone_setup.py' | |||
2014 | === target is u'../../../../helper/setup/keystone_setup.py' | |||
2015 | === added symlink 'specs/dev/next_l2pop/kilo/keystone_users.yaml' | |||
2016 | === target is u'../../../../helper/setup/keystone_users.yaml' | |||
2017 | === added file 'specs/dev/next_l2pop/kilo/manifest' | |||
2018 | --- specs/dev/next_l2pop/kilo/manifest 1970-01-01 00:00:00 +0000 | |||
2019 | +++ specs/dev/next_l2pop/kilo/manifest 2015-05-08 09:54:56 +0000 | |||
2020 | @@ -0,0 +1,23 @@ | |||
2021 | 1 | # Collect the charm branches from Launchpad | ||
2022 | 2 | collect config=collect-next | ||
2023 | 3 | |||
2024 | 4 | # Copy the branches to the deployment directory | ||
2025 | 5 | repo config=repo-next | ||
2026 | 6 | |||
2027 | 7 | # Use juju deployer with full.yaml bundle | ||
2028 | 8 | deploy config=full.yaml delay=0 target=${MOJO_SERIES}-kilo | ||
2029 | 9 | |||
2030 | 10 | # Check juju statuses are green and that hooks have finished | ||
2031 | 11 | verify config=check_juju.py | ||
2032 | 12 | |||
2033 | 13 | # Create sdn on overcloud | ||
2034 | 14 | script config=network_setup.py | ||
2035 | 15 | |||
2036 | 16 | # Setup glance images | ||
2037 | 17 | script config=image_setup.py | ||
2038 | 18 | |||
2039 | 19 | # Setup keystone users | ||
2040 | 20 | script config=keystone_setup.py | ||
2041 | 21 | |||
2042 | 22 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
2043 | 23 | verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300" | ||
2044 | 0 | 24 | ||
2045 | === added symlink 'specs/dev/next_l2pop/kilo/network.yaml' | |||
2046 | === target is u'../../../../helper/setup/network.yaml' | |||
2047 | === added symlink 'specs/dev/next_l2pop/kilo/network_setup.py' | |||
2048 | === target is u'../../../../helper/setup/network_setup.py' | |||
2049 | === added symlink 'specs/dev/next_l2pop/kilo/repo-next' | |||
2050 | === target is u'../../../../helper/collect/repo-next' | |||
2051 | === added symlink 'specs/dev/next_l2pop/kilo/simple_os_checks.py' | |||
2052 | === target is u'../../../../helper/tests/simple_os_checks.py' | |||
2053 | === added symlink 'specs/dev/next_l2pop/kilo/utils' | |||
2054 | === target is u'../../../../helper/utils' | |||
2055 | === added directory 'specs/dev/vrrp_blog' | |||
2056 | === added file 'specs/dev/vrrp_blog/SPEC_INFO.txt' | |||
2057 | --- specs/dev/vrrp_blog/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
2058 | +++ specs/dev/vrrp_blog/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
2059 | @@ -0,0 +1,1 @@ | |||
2060 | 1 | This spec deploys and tests a deployment with neutron DVR enabled | ||
2061 | 0 | 2 | ||
2062 | === added file 'specs/dev/vrrp_blog/bug1364215.py' | |||
2063 | --- specs/dev/vrrp_blog/bug1364215.py 1970-01-01 00:00:00 +0000 | |||
2064 | +++ specs/dev/vrrp_blog/bug1364215.py 2015-05-08 09:54:56 +0000 | |||
2065 | @@ -0,0 +1,12 @@ | |||
2066 | 1 | #!/usr/bin/python | ||
2067 | 2 | import sys | ||
2068 | 3 | import utils.mojo_utils as mojo_utils | ||
2069 | 4 | |||
2070 | 5 | |||
2071 | 6 | def main(argv): | ||
2072 | 7 | for unit in mojo_utils.get_juju_units(service='neutron-gateway'): | ||
2073 | 8 | cmd='sudo service neutron-plugin-openvswitch-agent restart' | ||
2074 | 9 | mojo_utils.remote_run(unit, remote_cmd=cmd) | ||
2075 | 10 | |||
2076 | 11 | if __name__ == "__main__": | ||
2077 | 12 | sys.exit(main(sys.argv)) | ||
2078 | 0 | 13 | ||
2079 | === added symlink 'specs/dev/vrrp_blog/check_juju.py' | |||
2080 | === target is u'../../../helper/tests/check_juju.py' | |||
2081 | === added file 'specs/dev/vrrp_blog/collect-next' | |||
2082 | --- specs/dev/vrrp_blog/collect-next 1970-01-01 00:00:00 +0000 | |||
2083 | +++ specs/dev/vrrp_blog/collect-next 2015-05-08 09:54:56 +0000 | |||
2084 | @@ -0,0 +1,19 @@ | |||
2085 | 1 | nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next | ||
2086 | 2 | neutron-api lp:~gnuoy/charms/trusty/neutron-api/order-overlay-type | ||
2087 | 3 | keystone lp:~openstack-charmers/charms/trusty/keystone/next | ||
2088 | 4 | glance lp:~openstack-charmers/charms/trusty/glance/next | ||
2089 | 5 | swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next | ||
2090 | 6 | percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk | ||
2091 | 7 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next | ||
2092 | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | ||
2093 | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | ||
2094 | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next | ||
2095 | 11 | quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/conntrack | ||
2096 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | ||
2097 | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | ||
2098 | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | ||
2099 | 15 | ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next | ||
2100 | 16 | mongodb lp:charms/mongodb | ||
2101 | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | ||
2102 | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next | ||
2103 | 19 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next | ||
2104 | 0 | 20 | ||
2105 | === added file 'specs/dev/vrrp_blog/full_vrrpha.yaml' | |||
2106 | --- specs/dev/vrrp_blog/full_vrrpha.yaml 1970-01-01 00:00:00 +0000 | |||
2107 | +++ specs/dev/vrrp_blog/full_vrrpha.yaml 2015-05-08 09:54:56 +0000 | |||
2108 | @@ -0,0 +1,194 @@ | |||
2109 | 1 | # vim: set ts=2 et: | ||
2110 | 2 | openstack-services: | ||
2111 | 3 | services: | ||
2112 | 4 | mysql: | ||
2113 | 5 | charm: percona-cluster | ||
2114 | 6 | constraints: mem=1G | ||
2115 | 7 | options: | ||
2116 | 8 | dataset-size: 50% | ||
2117 | 9 | rabbitmq-server: | ||
2118 | 10 | charm: rabbitmq-server | ||
2119 | 11 | constraints: mem=1G | ||
2120 | 12 | keystone: | ||
2121 | 13 | charm: keystone | ||
2122 | 14 | constraints: mem=1G | ||
2123 | 15 | options: | ||
2124 | 16 | admin-password: openstack | ||
2125 | 17 | admin-token: ubuntutesting | ||
2126 | 18 | openstack-dashboard: | ||
2127 | 19 | charm: openstack-dashboard | ||
2128 | 20 | constraints: mem=1G | ||
2129 | 21 | nova-compute: | ||
2130 | 22 | charm: nova-compute | ||
2131 | 23 | num_units: 3 | ||
2132 | 24 | constraints: mem=4G | ||
2133 | 25 | options: | ||
2134 | 26 | enable-live-migration: True | ||
2135 | 27 | enable-resize: True | ||
2136 | 28 | nova-cloud-controller: | ||
2137 | 29 | charm: nova-cloud-controller | ||
2138 | 30 | constraints: mem=1G | ||
2139 | 31 | options: | ||
2140 | 32 | network-manager: Quantum | ||
2141 | 33 | quantum-security-groups: "yes" | ||
2142 | 34 | neutron-gateway: | ||
2143 | 35 | charm: quantum-gateway | ||
2144 | 36 | constraints: mem=1G | ||
2145 | 37 | num_units: 3 | ||
2146 | 38 | options: | ||
2147 | 39 | instance-mtu: 1300 | ||
2148 | 40 | cinder: | ||
2149 | 41 | charm: cinder | ||
2150 | 42 | options: | ||
2151 | 43 | block-device: "None" | ||
2152 | 44 | glance-api-version: 2 | ||
2153 | 45 | constraints": mem=1G | ||
2154 | 46 | glance: | ||
2155 | 47 | charm: glance | ||
2156 | 48 | constraints: mem=1G | ||
2157 | 49 | relations: | ||
2158 | 50 | - [ keystone, mysql ] | ||
2159 | 51 | - [ nova-cloud-controller, mysql ] | ||
2160 | 52 | - [ nova-cloud-controller, rabbitmq-server ] | ||
2161 | 53 | - [ nova-cloud-controller, glance ] | ||
2162 | 54 | - [ nova-cloud-controller, keystone ] | ||
2163 | 55 | - [ nova-compute, nova-cloud-controller ] | ||
2164 | 56 | - [ nova-compute, mysql ] | ||
2165 | 57 | - - nova-compute | ||
2166 | 58 | - rabbitmq-server:amqp | ||
2167 | 59 | - [ nova-compute, glance ] | ||
2168 | 60 | - [ glance, mysql ] | ||
2169 | 61 | - [ glance, keystone ] | ||
2170 | 62 | - [ glance, cinder ] | ||
2171 | 63 | - [ cinder, mysql ] | ||
2172 | 64 | - [ cinder, rabbitmq-server ] | ||
2173 | 65 | - [ cinder, nova-cloud-controller ] | ||
2174 | 66 | - [ cinder, keystone ] | ||
2175 | 67 | - [ neutron-gateway, mysql ] | ||
2176 | 68 | - [ neutron-gateway, nova-cloud-controller ] | ||
2177 | 69 | - [ openstack-dashboard, keystone ] | ||
2178 | 70 | openstack-singlerabbit: | ||
2179 | 71 | inherits: openstack-services | ||
2180 | 72 | relations: | ||
2181 | 73 | - [ "neutron-gateway:amqp", rabbitmq-server ] | ||
2182 | 74 | openstack-icehouse: | ||
2183 | 75 | inherits: openstack-singlerabbit | ||
2184 | 76 | services: | ||
2185 | 77 | neutron-api: | ||
2186 | 78 | charm: neutron-api | ||
2187 | 79 | constraints: mem=1G | ||
2188 | 80 | options: | ||
2189 | 81 | overlay-network-type: 'vxlan' | ||
2190 | 82 | l2-population: False | ||
2191 | 83 | neutron-security-groups: True | ||
2192 | 84 | enable-dvr: False | ||
2193 | 85 | enable-l3ha: False | ||
2194 | 86 | neutron-openvswitch: | ||
2195 | 87 | charm: neutron-openvswitch | ||
2196 | 88 | relations: | ||
2197 | 89 | - [ neutron-api, mysql ] | ||
2198 | 90 | - [ neutron-api, rabbitmq-server ] | ||
2199 | 91 | - [ neutron-api, nova-cloud-controller ] | ||
2200 | 92 | - [ neutron-api, neutron-openvswitch ] | ||
2201 | 93 | - [ neutron-api, keystone ] | ||
2202 | 94 | - [ neutron-api, "neutron-gateway:neutron-plugin-api" ] | ||
2203 | 95 | - [ neutron-openvswitch, nova-compute ] | ||
2204 | 96 | - [ neutron-openvswitch, rabbitmq-server ] | ||
2205 | 97 | - [ neutron-openvswitch, nova-cloud-controller ] | ||
2206 | 98 | openstack-icehouse-msg-split: | ||
2207 | 99 | inherits: openstack-services | ||
2208 | 100 | services: | ||
2209 | 101 | neutron-api: | ||
2210 | 102 | charm: neutron-api | ||
2211 | 103 | constraints: mem=1G | ||
2212 | 104 | options: | ||
2213 | 105 | neutron-security-groups: True | ||
2214 | 106 | neutron-openvswitch: | ||
2215 | 107 | charm: neutron-openvswitch | ||
2216 | 108 | rabbitmq-server-neutron: | ||
2217 | 109 | charm: rabbitmq-server | ||
2218 | 110 | constraints: mem=1G | ||
2219 | 111 | relations: | ||
2220 | 112 | - [ neutron-api, mysql ] | ||
2221 | 113 | - [ neutron-api, rabbitmq-server-neutron ] | ||
2222 | 114 | - [ neutron-api, nova-cloud-controller ] | ||
2223 | 115 | - [ neutron-api, neutron-openvswitch ] | ||
2224 | 116 | - [ neutron-api, keystone ] | ||
2225 | 117 | - [ neutron-api, neutron-gateway ] | ||
2226 | 118 | - [ neutron-openvswitch, nova-compute ] | ||
2227 | 119 | - [ neutron-openvswitch, rabbitmq-server-neutron ] | ||
2228 | 120 | - [ "neutron-gateway:amqp-nova", rabbitmq-server ] | ||
2229 | 121 | - [ "neutron-gateway:amqp", rabbitmq-server-neutron ] | ||
2230 | 122 | # icehouse | ||
2231 | 123 | precise-icehouse: | ||
2232 | 124 | inherits: openstack-singlerabbit | ||
2233 | 125 | series: precise | ||
2234 | 126 | overrides: | ||
2235 | 127 | openstack-origin: cloud:precise-icehouse | ||
2236 | 128 | source: cloud:precise-updates/icehouse | ||
2237 | 129 | precise-icehouse-proposed: | ||
2238 | 130 | inherits: precise-icehouse | ||
2239 | 131 | overrides: | ||
2240 | 132 | openstack-origin: cloud:precise-icehouse/proposed | ||
2241 | 133 | source: cloud:precise-updates/icehouse | ||
2242 | 134 | precise-icehouse-staging: | ||
2243 | 135 | inherits: precise-icehouse | ||
2244 | 136 | overrides: | ||
2245 | 137 | openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging | ||
2246 | 138 | source: ppa:ubuntu-cloud-archive/icehouse-staging | ||
2247 | 139 | precise-icehouse-trunk: | ||
2248 | 140 | inherits: precise-icehouse | ||
2249 | 141 | overrides: | ||
2250 | 142 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
2251 | 143 | source: ppa:openstack-ubuntu-testing/icehouse | ||
2252 | 144 | trusty-icehouse: | ||
2253 | 145 | inherits: openstack-icehouse | ||
2254 | 146 | series: trusty | ||
2255 | 147 | trusty-icehouse-msg-split: | ||
2256 | 148 | inherits: openstack-icehouse-msg-split | ||
2257 | 149 | series: trusty | ||
2258 | 150 | trusty-icehouse-proposed: | ||
2259 | 151 | inherits: trusty-icehouse | ||
2260 | 152 | overrides: | ||
2261 | 153 | source: proposed | ||
2262 | 154 | openstack-origin: distro-proposed | ||
2263 | 155 | trusty-icehouse-trunk: | ||
2264 | 156 | inherits: trusty-icehouse | ||
2265 | 157 | overrides: | ||
2266 | 158 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
2267 | 159 | source: ppa:openstack-ubuntu-testing/icehouse | ||
2268 | 160 | offline-compression: "no" | ||
2269 | 161 | # juno | ||
2270 | 162 | trusty-juno: | ||
2271 | 163 | inherits: openstack-icehouse | ||
2272 | 164 | series: trusty | ||
2273 | 165 | overrides: | ||
2274 | 166 | openstack-origin: cloud:trusty-juno | ||
2275 | 167 | source: cloud:trusty-updates/juno | ||
2276 | 168 | trusty-juno-proposed: | ||
2277 | 169 | inherits: trusty-juno | ||
2278 | 170 | overrides: | ||
2279 | 171 | openstack-origin: cloud:trusty-juno/proposed | ||
2280 | 172 | source: cloud:trusty-proposed/juno | ||
2281 | 173 | trusty-juno-staging: | ||
2282 | 174 | inherits: trusty-juno | ||
2283 | 175 | overrides: | ||
2284 | 176 | openstack-origin: ppa:ubuntu-cloud-archive/juno-staging | ||
2285 | 177 | source: ppa:ubuntu-cloud-archive/juno-staging | ||
2286 | 178 | trusty-kilo: | ||
2287 | 179 | inherits: openstack-icehouse | ||
2288 | 180 | series: trusty | ||
2289 | 181 | overrides: | ||
2290 | 182 | openstack-origin: cloud:trusty-kilo | ||
2291 | 183 | source: cloud:trusty-kilo | ||
2292 | 184 | utopic-juno: | ||
2293 | 185 | inherits: openstack-icehouse | ||
2294 | 186 | series: utopic | ||
2295 | 187 | utopic-juno-proposed: | ||
2296 | 188 | inherits: utopic-juno | ||
2297 | 189 | overrides: | ||
2298 | 190 | source: proposed | ||
2299 | 191 | openstack-origin: distro-proposed | ||
2300 | 192 | vivid-kilo: | ||
2301 | 193 | inherits: openstack-icehouse | ||
2302 | 194 | series: vivid | ||
2303 | 0 | 195 | ||
2304 | === added symlink 'specs/dev/vrrp_blog/image_setup.py' | |||
2305 | === target is u'../../../helper/setup/image_setup.py' | |||
2306 | === added symlink 'specs/dev/vrrp_blog/images.yaml' | |||
2307 | === target is u'../../../helper/setup/images.yaml' | |||
2308 | === added symlink 'specs/dev/vrrp_blog/keystone_setup.py' | |||
2309 | === target is u'../../../helper/setup/keystone_setup.py' | |||
2310 | === added symlink 'specs/dev/vrrp_blog/keystone_users.yaml' | |||
2311 | === target is u'../../../helper/setup/keystone_users.yaml' | |||
2312 | === added file 'specs/dev/vrrp_blog/manifest' | |||
2313 | --- specs/dev/vrrp_blog/manifest 1970-01-01 00:00:00 +0000 | |||
2314 | +++ specs/dev/vrrp_blog/manifest 2015-05-08 09:54:56 +0000 | |||
2315 | @@ -0,0 +1,29 @@ | |||
2316 | 1 | # Collect the charm branches from Launchpad | ||
2317 | 2 | collect config=collect-next | ||
2318 | 3 | |||
2319 | 4 | # Copy the branches to the deployment directory | ||
2320 | 5 | repo config=repo-next | ||
2321 | 6 | |||
2322 | 7 | # Use juju deployer with full.yaml bundle | ||
2323 | 8 | deploy config=full_vrrpha.yaml delay=0 target=trusty-kilo | ||
2324 | 9 | |||
2325 | 10 | # Check juju statuses are green and that hooks have finished | ||
2326 | 11 | verify config=check_juju.py | ||
2327 | 12 | |||
2328 | 13 | # Create sdn on overcloud | ||
2329 | 14 | script config=network_setup.py NET_TOPOLOGY="vxlan" | ||
2330 | 15 | |||
2331 | 16 | # Setup glance images | ||
2332 | 17 | script config=image_setup.py | ||
2333 | 18 | |||
2334 | 19 | # Setup keystone users | ||
2335 | 20 | script config=keystone_setup.py | ||
2336 | 21 | |||
2337 | 22 | # Restarting neutron-plugin-openvswitch-agent to work around Bug #1364215 | ||
2338 | 23 | #script config=bug1364215.py | ||
2339 | 24 | |||
2340 | 25 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
2341 | 26 | verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300" | ||
2342 | 27 | |||
2343 | 28 | # Test guest connectivity after stopping and starting gateway | ||
2344 | 29 | #verify config=test_vrrp_ha.py | ||
2345 | 0 | 30 | ||
2346 | === added file 'specs/dev/vrrp_blog/network.yaml' | |||
2347 | --- specs/dev/vrrp_blog/network.yaml 1970-01-01 00:00:00 +0000 | |||
2348 | +++ specs/dev/vrrp_blog/network.yaml 2015-05-08 09:54:56 +0000 | |||
2349 | @@ -0,0 +1,48 @@ | |||
2350 | 1 | gre: | ||
2351 | 2 | default_gateway: 10.5.0.1 | ||
2352 | 3 | end_floating_ip: 10.5.200.254 | ||
2353 | 4 | external_dns: 10.98.191.11 | ||
2354 | 5 | external_net_cidr: 10.5.0.0/16 | ||
2355 | 6 | external_net_name: ext_net | ||
2356 | 7 | external_subnet_name: ext_net_subnet | ||
2357 | 8 | network_type: gre | ||
2358 | 9 | private_net_cidr: 192.168.21.0/24 | ||
2359 | 10 | router_name: provider-router | ||
2360 | 11 | start_floating_ip: 10.5.150.0 | ||
2361 | 12 | dvr_enabled: False | ||
2362 | 13 | vxlan: | ||
2363 | 14 | default_gateway: 10.5.0.1 | ||
2364 | 15 | end_floating_ip: 10.5.200.254 | ||
2365 | 16 | external_dns: 10.98.191.11 | ||
2366 | 17 | external_net_cidr: 10.5.0.0/16 | ||
2367 | 18 | external_net_name: ext_net | ||
2368 | 19 | external_subnet_name: ext_net_subnet | ||
2369 | 20 | network_type: vxlan | ||
2370 | 21 | private_net_cidr: 192.168.21.0/24 | ||
2371 | 22 | router_name: provider-router | ||
2372 | 23 | start_floating_ip: 10.5.150.0 | ||
2373 | 24 | dvr_enabled: False | ||
2374 | 25 | dvr: | ||
2375 | 26 | default_gateway: 10.5.0.1 | ||
2376 | 27 | end_floating_ip: 10.5.200.254 | ||
2377 | 28 | external_dns: 10.98.191.11 | ||
2378 | 29 | external_net_cidr: 10.5.0.0/16 | ||
2379 | 30 | external_net_name: ext_net | ||
2380 | 31 | external_subnet_name: ext_net_subnet | ||
2381 | 32 | network_type: vxlan | ||
2382 | 33 | private_net_cidr: 192.168.21.0/24 | ||
2383 | 34 | router_name: provider-router | ||
2384 | 35 | start_floating_ip: 10.5.150.0 | ||
2385 | 36 | dvr_enabled: True | ||
2386 | 37 | vrrpha: | ||
2387 | 38 | default_gateway: 10.5.0.1 | ||
2388 | 39 | end_floating_ip: 10.5.200.254 | ||
2389 | 40 | external_dns: 10.98.191.11 | ||
2390 | 41 | external_net_cidr: 10.5.0.0/16 | ||
2391 | 42 | external_net_name: ext_net | ||
2392 | 43 | external_subnet_name: ext_net_subnet | ||
2393 | 44 | network_type: vxlan | ||
2394 | 45 | private_net_cidr: 192.168.21.0/24 | ||
2395 | 46 | router_name: provider-router | ||
2396 | 47 | start_floating_ip: 10.5.150.0 | ||
2397 | 48 | dvr_enabled: False | ||
2398 | 0 | 49 | ||
2399 | === added symlink 'specs/dev/vrrp_blog/network_setup.py' | |||
2400 | === target is u'../../../helper/setup/network_setup.py' | |||
2401 | === added symlink 'specs/dev/vrrp_blog/repo-next' | |||
2402 | === target is u'../../../helper/collect/repo-next' | |||
2403 | === added symlink 'specs/dev/vrrp_blog/simple_os_checks.py' | |||
2404 | === target is u'../../../helper/tests/simple_os_checks.py' | |||
2405 | === added file 'specs/dev/vrrp_blog/test_vrrp_ha.py' | |||
2406 | --- specs/dev/vrrp_blog/test_vrrp_ha.py 1970-01-01 00:00:00 +0000 | |||
2407 | +++ specs/dev/vrrp_blog/test_vrrp_ha.py 2015-05-08 09:54:56 +0000 | |||
2408 | @@ -0,0 +1,93 @@ | |||
2409 | 1 | #!/usr/bin/python | ||
2410 | 2 | import time | ||
2411 | 3 | import sys | ||
2412 | 4 | import utils.mojo_utils as mojo_utils | ||
2413 | 5 | import utils.mojo_os_utils as mojo_os_utils | ||
2414 | 6 | import logging | ||
2415 | 7 | import argparse | ||
2416 | 8 | |||
2417 | 9 | def get_cirros_server(cloud_auth): | ||
2418 | 10 | logging.info('Looking for existing cirros server') | ||
2419 | 11 | cirros_images = get_cirros_images(cloud_auth) | ||
2420 | 12 | nova_client = mojo_os_utils.get_nova_client(cloud_auth) | ||
2421 | 13 | for server in nova_client.servers.list(): | ||
2422 | 14 | if server.image['id'] in cirros_images: | ||
2423 | 15 | return server | ||
2424 | 16 | |||
2425 | 17 | def get_cirros_images(cloud_auth): | ||
2426 | 18 | logging.info('Getting list of cirros images') | ||
2427 | 19 | glance_client = mojo_os_utils.get_glance_client(cloud_auth) | ||
2428 | 20 | cirros_images = [] | ||
2429 | 21 | for image in glance_client.images.list(): | ||
2430 | 22 | if 'cirros' in image.name: | ||
2431 | 23 | cirros_images.append(image.id) | ||
2432 | 24 | return cirros_images | ||
2433 | 25 | |||
2434 | 26 | def check_server_state(nova_client, state, server_id=None, server_name=None, wait_time=120): | ||
2435 | 27 | sleep_time = 2 | ||
2436 | 28 | if server_name: | ||
2437 | 29 | server_id = nova_client.servers.find(name=server_name).id | ||
2438 | 30 | server = nova_client.servers.find(id=server_id) | ||
2439 | 31 | while server.status != state and wait_time > 0: | ||
2440 | 32 | time.sleep(sleep_time) | ||
2441 | 33 | server = nova_client.servers.find(id=server_id) | ||
2442 | 34 | wait_time -= sleep_time | ||
2443 | 35 | return server.status == state | ||
2444 | 36 | |||
2445 | 37 | def check_neutron_agent_states(neutron_client, host_name, wait_time=120): | ||
2446 | 38 | sleep_time = 2 | ||
2447 | 39 | statuses = [False] | ||
2448 | 40 | while False in statuses and wait_time > 0: | ||
2449 | 41 | time.sleep(sleep_time) | ||
2450 | 42 | statuses = [] | ||
2451 | 43 | for agent in neutron_client.list_agents()['agents']: | ||
2452 | 44 | if agent['host'] == host_name: | ||
2453 | 45 | statuses.append(agent['admin_state_up']) | ||
2454 | 46 | statuses.append(agent['alive']) | ||
2455 | 47 | wait_time -= sleep_time | ||
2456 | 48 | return not False in statuses | ||
2457 | 49 | |||
2458 | 50 | |||
2459 | 51 | def get_server_floating_ip(server): | ||
2460 | 52 | for addr in server.addresses['private']: | ||
2461 | 53 | if addr['OS-EXT-IPS:type'] == 'floating': | ||
2462 | 54 | return addr['addr'] | ||
2463 | 55 | |||
2464 | 56 | def main(argv): | ||
2465 | 57 | logging.basicConfig(level=logging.INFO) | ||
2466 | 58 | logging.getLogger("urllib3").setLevel(logging.WARNING) | ||
2467 | 59 | overcloud_novarc = mojo_utils.get_overcloud_auth() | ||
2468 | 60 | undercloud_novarc = mojo_utils.get_undercload_auth() | ||
2469 | 61 | under_novac = mojo_os_utils.get_nova_client(undercloud_novarc) | ||
2470 | 62 | over_neutronc = mojo_os_utils.get_neutron_client(overcloud_novarc) | ||
2471 | 63 | server = get_cirros_server(overcloud_novarc) | ||
2472 | 64 | ip = get_server_floating_ip(server) | ||
2473 | 65 | logging.info('Checking connectivity to cirros guest') | ||
2474 | 66 | if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'): | ||
2475 | 67 | raise Exception('Cirros guest inaccessable') | ||
2476 | 68 | router = over_neutronc.list_routers(name='provider-router')['routers'][0] | ||
2477 | 69 | l3_agents = over_neutronc.list_l3_agent_hosting_routers(router=router['id'])['agents'] | ||
2478 | 70 | logging.info('Checking there are multiple L3 agents running tenant router') | ||
2479 | 71 | if len(l3_agents) != 2: | ||
2480 | 72 | raise Exception('Unexpected number of l3 agents') | ||
2481 | 73 | for agent in l3_agents: | ||
2482 | 74 | neutron_gateway = under_novac.servers.find(name=agent['host']) | ||
2483 | 75 | logging.info('Shutting down neutron gateway: ' + neutron_gateway.id) | ||
2484 | 76 | neutron_gateway.stop() | ||
2485 | 77 | if not check_server_state(under_novac, 'SHUTOFF', server_name=agent['host']): | ||
2486 | 78 | raise Exception('Server failed to reach SHUTOFF state') | ||
2487 | 79 | logging.info('Neutron gateway %s has shutdown' % (neutron_gateway.id)) | ||
2488 | 80 | logging.info('Checking connectivity to cirros guest') | ||
2489 | 81 | if not mojo_os_utils.wait_for_ping(ip, 90): | ||
2490 | 82 | raise Exception('Cirros guest inaccessable') | ||
2491 | 83 | if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'): | ||
2492 | 84 | raise Exception('Cirros guest inaccessable') | ||
2493 | 85 | logging.info('Starting neutron gateway: ' + neutron_gateway.id) | ||
2494 | 86 | neutron_gateway.start() | ||
2495 | 87 | if not check_server_state(under_novac, 'ACTIVE', server_name=agent['host']): | ||
2496 | 88 | raise Exception('Server failed to reach SHUTOFF state') | ||
2497 | 89 | if not check_neutron_agent_states(over_neutronc, agent['host']): | ||
2498 | 90 | raise Exception('Server agents failed to reach active state') | ||
2499 | 91 | |||
2500 | 92 | if __name__ == "__main__": | ||
2501 | 93 | sys.exit(main(sys.argv)) | ||
2502 | 0 | 94 | ||
2503 | === added symlink 'specs/dev/vrrp_blog/utils' | |||
2504 | === target is u'../../../helper/utils' | |||
2505 | === added directory 'specs/dev/vrrp_ha' | |||
2506 | === added file 'specs/dev/vrrp_ha/SPEC_INFO.txt' | |||
2507 | --- specs/dev/vrrp_ha/SPEC_INFO.txt 1970-01-01 00:00:00 +0000 | |||
2508 | +++ specs/dev/vrrp_ha/SPEC_INFO.txt 2015-05-08 09:54:56 +0000 | |||
2509 | @@ -0,0 +1,1 @@ | |||
2510 | 1 | This spec deploys and tests a deployment with neutron DVR enabled | ||
2511 | 0 | 2 | ||
2512 | === added file 'specs/dev/vrrp_ha/bug1364215.py' | |||
2513 | --- specs/dev/vrrp_ha/bug1364215.py 1970-01-01 00:00:00 +0000 | |||
2514 | +++ specs/dev/vrrp_ha/bug1364215.py 2015-05-08 09:54:56 +0000 | |||
2515 | @@ -0,0 +1,12 @@ | |||
2516 | 1 | #!/usr/bin/python | ||
2517 | 2 | import sys | ||
2518 | 3 | import utils.mojo_utils as mojo_utils | ||
2519 | 4 | |||
2520 | 5 | |||
2521 | 6 | def main(argv): | ||
2522 | 7 | for unit in mojo_utils.get_juju_units(service='neutron-gateway'): | ||
2523 | 8 | cmd='sudo service neutron-plugin-openvswitch-agent restart' | ||
2524 | 9 | mojo_utils.remote_run(unit, remote_cmd=cmd) | ||
2525 | 10 | |||
2526 | 11 | if __name__ == "__main__": | ||
2527 | 12 | sys.exit(main(sys.argv)) | ||
2528 | 0 | 13 | ||
2529 | === added symlink 'specs/dev/vrrp_ha/check_juju.py' | |||
2530 | === target is u'../../../helper/tests/check_juju.py' | |||
2531 | === added file 'specs/dev/vrrp_ha/collect-next' | |||
2532 | --- specs/dev/vrrp_ha/collect-next 1970-01-01 00:00:00 +0000 | |||
2533 | +++ specs/dev/vrrp_ha/collect-next 2015-05-08 09:54:56 +0000 | |||
2534 | @@ -0,0 +1,19 @@ | |||
2535 | 1 | nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next | ||
2536 | 2 | neutron-api lp:~james-page/charms/trusty/neutron-api/kilo-dvr | ||
2537 | 3 | keystone lp:~openstack-charmers/charms/trusty/keystone/next | ||
2538 | 4 | glance lp:~openstack-charmers/charms/trusty/glance/next | ||
2539 | 5 | swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next | ||
2540 | 6 | percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk | ||
2541 | 7 | rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next | ||
2542 | 8 | ceph lp:~openstack-charmers/charms/trusty/ceph/next | ||
2543 | 9 | openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next | ||
2544 | 10 | nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next | ||
2545 | 11 | quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/conntrack | ||
2546 | 12 | cinder lp:~openstack-charmers/charms/trusty/cinder/next | ||
2547 | 13 | swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next | ||
2548 | 14 | ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next | ||
2549 | 15 | ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next | ||
2550 | 16 | mongodb lp:charms/mongodb | ||
2551 | 17 | cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next | ||
2552 | 18 | heat lp:~openstack-charmers/charms/trusty/heat/next | ||
2553 | 19 | neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next | ||
2554 | 0 | 20 | ||
2555 | === added file 'specs/dev/vrrp_ha/full_vrrpha.yaml' | |||
2556 | --- specs/dev/vrrp_ha/full_vrrpha.yaml 1970-01-01 00:00:00 +0000 | |||
2557 | +++ specs/dev/vrrp_ha/full_vrrpha.yaml 2015-05-08 09:54:56 +0000 | |||
2558 | @@ -0,0 +1,194 @@ | |||
2559 | 1 | # vim: set ts=2 et: | ||
2560 | 2 | openstack-services: | ||
2561 | 3 | services: | ||
2562 | 4 | mysql: | ||
2563 | 5 | charm: percona-cluster | ||
2564 | 6 | constraints: mem=1G | ||
2565 | 7 | options: | ||
2566 | 8 | dataset-size: 50% | ||
2567 | 9 | rabbitmq-server: | ||
2568 | 10 | charm: rabbitmq-server | ||
2569 | 11 | constraints: mem=1G | ||
2570 | 12 | keystone: | ||
2571 | 13 | charm: keystone | ||
2572 | 14 | constraints: mem=1G | ||
2573 | 15 | options: | ||
2574 | 16 | admin-password: openstack | ||
2575 | 17 | admin-token: ubuntutesting | ||
2576 | 18 | openstack-dashboard: | ||
2577 | 19 | charm: openstack-dashboard | ||
2578 | 20 | constraints: mem=1G | ||
2579 | 21 | nova-compute: | ||
2580 | 22 | charm: nova-compute | ||
2581 | 23 | num_units: 3 | ||
2582 | 24 | constraints: mem=4G | ||
2583 | 25 | options: | ||
2584 | 26 | enable-live-migration: True | ||
2585 | 27 | enable-resize: True | ||
2586 | 28 | nova-cloud-controller: | ||
2587 | 29 | charm: nova-cloud-controller | ||
2588 | 30 | constraints: mem=1G | ||
2589 | 31 | options: | ||
2590 | 32 | network-manager: Quantum | ||
2591 | 33 | quantum-security-groups: "yes" | ||
2592 | 34 | neutron-gateway: | ||
2593 | 35 | charm: quantum-gateway | ||
2594 | 36 | constraints: mem=1G | ||
2595 | 37 | num_units: 2 | ||
2596 | 38 | options: | ||
2597 | 39 | instance-mtu: 1300 | ||
2598 | 40 | cinder: | ||
2599 | 41 | charm: cinder | ||
2600 | 42 | options: | ||
2601 | 43 | block-device: "None" | ||
2602 | 44 | glance-api-version: 2 | ||
2603 | 45 | constraints": mem=1G | ||
2604 | 46 | glance: | ||
2605 | 47 | charm: glance | ||
2606 | 48 | constraints: mem=1G | ||
2607 | 49 | relations: | ||
2608 | 50 | - [ keystone, mysql ] | ||
2609 | 51 | - [ nova-cloud-controller, mysql ] | ||
2610 | 52 | - [ nova-cloud-controller, rabbitmq-server ] | ||
2611 | 53 | - [ nova-cloud-controller, glance ] | ||
2612 | 54 | - [ nova-cloud-controller, keystone ] | ||
2613 | 55 | - [ nova-compute, nova-cloud-controller ] | ||
2614 | 56 | - [ nova-compute, mysql ] | ||
2615 | 57 | - - nova-compute | ||
2616 | 58 | - rabbitmq-server:amqp | ||
2617 | 59 | - [ nova-compute, glance ] | ||
2618 | 60 | - [ glance, mysql ] | ||
2619 | 61 | - [ glance, keystone ] | ||
2620 | 62 | - [ glance, cinder ] | ||
2621 | 63 | - [ cinder, mysql ] | ||
2622 | 64 | - [ cinder, rabbitmq-server ] | ||
2623 | 65 | - [ cinder, nova-cloud-controller ] | ||
2624 | 66 | - [ cinder, keystone ] | ||
2625 | 67 | - [ neutron-gateway, mysql ] | ||
2626 | 68 | - [ neutron-gateway, nova-cloud-controller ] | ||
2627 | 69 | - [ openstack-dashboard, keystone ] | ||
2628 | 70 | openstack-singlerabbit: | ||
2629 | 71 | inherits: openstack-services | ||
2630 | 72 | relations: | ||
2631 | 73 | - [ "neutron-gateway:amqp", rabbitmq-server ] | ||
2632 | 74 | openstack-icehouse: | ||
2633 | 75 | inherits: openstack-singlerabbit | ||
2634 | 76 | services: | ||
2635 | 77 | neutron-api: | ||
2636 | 78 | charm: neutron-api | ||
2637 | 79 | constraints: mem=1G | ||
2638 | 80 | options: | ||
2639 | 81 | overlay-network-type: 'vxlan' | ||
2640 | 82 | l2-population: False | ||
2641 | 83 | neutron-security-groups: True | ||
2642 | 84 | enable-dvr: False | ||
2643 | 85 | enable-l3ha: True | ||
2644 | 86 | neutron-openvswitch: | ||
2645 | 87 | charm: neutron-openvswitch | ||
2646 | 88 | relations: | ||
2647 | 89 | - [ neutron-api, mysql ] | ||
2648 | 90 | - [ neutron-api, rabbitmq-server ] | ||
2649 | 91 | - [ neutron-api, nova-cloud-controller ] | ||
2650 | 92 | - [ neutron-api, neutron-openvswitch ] | ||
2651 | 93 | - [ neutron-api, keystone ] | ||
2652 | 94 | - [ neutron-api, "neutron-gateway:neutron-plugin-api" ] | ||
2653 | 95 | - [ neutron-openvswitch, nova-compute ] | ||
2654 | 96 | - [ neutron-openvswitch, rabbitmq-server ] | ||
2655 | 97 | - [ neutron-openvswitch, nova-cloud-controller ] | ||
2656 | 98 | openstack-icehouse-msg-split: | ||
2657 | 99 | inherits: openstack-services | ||
2658 | 100 | services: | ||
2659 | 101 | neutron-api: | ||
2660 | 102 | charm: neutron-api | ||
2661 | 103 | constraints: mem=1G | ||
2662 | 104 | options: | ||
2663 | 105 | neutron-security-groups: True | ||
2664 | 106 | neutron-openvswitch: | ||
2665 | 107 | charm: neutron-openvswitch | ||
2666 | 108 | rabbitmq-server-neutron: | ||
2667 | 109 | charm: rabbitmq-server | ||
2668 | 110 | constraints: mem=1G | ||
2669 | 111 | relations: | ||
2670 | 112 | - [ neutron-api, mysql ] | ||
2671 | 113 | - [ neutron-api, rabbitmq-server-neutron ] | ||
2672 | 114 | - [ neutron-api, nova-cloud-controller ] | ||
2673 | 115 | - [ neutron-api, neutron-openvswitch ] | ||
2674 | 116 | - [ neutron-api, keystone ] | ||
2675 | 117 | - [ neutron-api, neutron-gateway ] | ||
2676 | 118 | - [ neutron-openvswitch, nova-compute ] | ||
2677 | 119 | - [ neutron-openvswitch, rabbitmq-server-neutron ] | ||
2678 | 120 | - [ "neutron-gateway:amqp-nova", rabbitmq-server ] | ||
2679 | 121 | - [ "neutron-gateway:amqp", rabbitmq-server-neutron ] | ||
2680 | 122 | # icehouse | ||
2681 | 123 | precise-icehouse: | ||
2682 | 124 | inherits: openstack-singlerabbit | ||
2683 | 125 | series: precise | ||
2684 | 126 | overrides: | ||
2685 | 127 | openstack-origin: cloud:precise-icehouse | ||
2686 | 128 | source: cloud:precise-updates/icehouse | ||
2687 | 129 | precise-icehouse-proposed: | ||
2688 | 130 | inherits: precise-icehouse | ||
2689 | 131 | overrides: | ||
2690 | 132 | openstack-origin: cloud:precise-icehouse/proposed | ||
2691 | 133 | source: cloud:precise-updates/icehouse | ||
2692 | 134 | precise-icehouse-staging: | ||
2693 | 135 | inherits: precise-icehouse | ||
2694 | 136 | overrides: | ||
2695 | 137 | openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging | ||
2696 | 138 | source: ppa:ubuntu-cloud-archive/icehouse-staging | ||
2697 | 139 | precise-icehouse-trunk: | ||
2698 | 140 | inherits: precise-icehouse | ||
2699 | 141 | overrides: | ||
2700 | 142 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
2701 | 143 | source: ppa:openstack-ubuntu-testing/icehouse | ||
2702 | 144 | trusty-icehouse: | ||
2703 | 145 | inherits: openstack-icehouse | ||
2704 | 146 | series: trusty | ||
2705 | 147 | trusty-icehouse-msg-split: | ||
2706 | 148 | inherits: openstack-icehouse-msg-split | ||
2707 | 149 | series: trusty | ||
2708 | 150 | trusty-icehouse-proposed: | ||
2709 | 151 | inherits: trusty-icehouse | ||
2710 | 152 | overrides: | ||
2711 | 153 | source: proposed | ||
2712 | 154 | openstack-origin: distro-proposed | ||
2713 | 155 | trusty-icehouse-trunk: | ||
2714 | 156 | inherits: trusty-icehouse | ||
2715 | 157 | overrides: | ||
2716 | 158 | openstack-origin: ppa:openstack-ubuntu-testing/icehouse | ||
2717 | 159 | source: ppa:openstack-ubuntu-testing/icehouse | ||
2718 | 160 | offline-compression: "no" | ||
2719 | 161 | # juno | ||
2720 | 162 | trusty-juno: | ||
2721 | 163 | inherits: openstack-icehouse | ||
2722 | 164 | series: trusty | ||
2723 | 165 | overrides: | ||
2724 | 166 | openstack-origin: cloud:trusty-juno | ||
2725 | 167 | source: cloud:trusty-updates/juno | ||
2726 | 168 | trusty-juno-proposed: | ||
2727 | 169 | inherits: trusty-juno | ||
2728 | 170 | overrides: | ||
2729 | 171 | openstack-origin: cloud:trusty-juno/proposed | ||
2730 | 172 | source: cloud:trusty-proposed/juno | ||
2731 | 173 | trusty-juno-staging: | ||
2732 | 174 | inherits: trusty-juno | ||
2733 | 175 | overrides: | ||
2734 | 176 | openstack-origin: ppa:ubuntu-cloud-archive/juno-staging | ||
2735 | 177 | source: ppa:ubuntu-cloud-archive/juno-staging | ||
2736 | 178 | trusty-kilo: | ||
2737 | 179 | inherits: openstack-icehouse | ||
2738 | 180 | series: trusty | ||
2739 | 181 | overrides: | ||
2740 | 182 | openstack-origin: cloud:trusty-kilo | ||
2741 | 183 | source: cloud:trusty-kilo | ||
2742 | 184 | utopic-juno: | ||
2743 | 185 | inherits: openstack-icehouse | ||
2744 | 186 | series: utopic | ||
2745 | 187 | utopic-juno-proposed: | ||
2746 | 188 | inherits: utopic-juno | ||
2747 | 189 | overrides: | ||
2748 | 190 | source: proposed | ||
2749 | 191 | openstack-origin: distro-proposed | ||
2750 | 192 | vivid-kilo: | ||
2751 | 193 | inherits: openstack-icehouse | ||
2752 | 194 | series: vivid | ||
2753 | 0 | 195 | ||
2754 | === added symlink 'specs/dev/vrrp_ha/image_setup.py' | |||
2755 | === target is u'../../../helper/setup/image_setup.py' | |||
2756 | === added symlink 'specs/dev/vrrp_ha/images.yaml' | |||
2757 | === target is u'../../../helper/setup/images.yaml' | |||
2758 | === added symlink 'specs/dev/vrrp_ha/keystone_setup.py' | |||
2759 | === target is u'../../../helper/setup/keystone_setup.py' | |||
2760 | === added symlink 'specs/dev/vrrp_ha/keystone_users.yaml' | |||
2761 | === target is u'../../../helper/setup/keystone_users.yaml' | |||
2762 | === added file 'specs/dev/vrrp_ha/manifest' | |||
2763 | --- specs/dev/vrrp_ha/manifest 1970-01-01 00:00:00 +0000 | |||
2764 | +++ specs/dev/vrrp_ha/manifest 2015-05-08 09:54:56 +0000 | |||
2765 | @@ -0,0 +1,29 @@ | |||
2766 | 1 | # Collect the charm branches from Launchpad | ||
2767 | 2 | collect config=collect-next | ||
2768 | 3 | |||
2769 | 4 | # Copy the branches to the deployment directory | ||
2770 | 5 | repo config=repo-next | ||
2771 | 6 | |||
2772 | 7 | # Use juju deployer with full.yaml bundle | ||
2773 | 8 | deploy config=full_vrrpha.yaml delay=0 target=trusty-kilo | ||
2774 | 9 | |||
2775 | 10 | # Check juju statuses are green and that hooks have finished | ||
2776 | 11 | verify config=check_juju.py | ||
2777 | 12 | |||
2778 | 13 | # Create sdn on overcloud | ||
2779 | 14 | script config=network_setup.py NET_TOPOLOGY="vrrpha" | ||
2780 | 15 | |||
2781 | 16 | # Setup glance images | ||
2782 | 17 | script config=image_setup.py | ||
2783 | 18 | |||
2784 | 19 | # Setup keystone users | ||
2785 | 20 | script config=keystone_setup.py | ||
2786 | 21 | |||
2787 | 22 | # Restarting neutron-plugin-openvswitch-agent to work around Bug #1364215 | ||
2788 | 23 | #script config=bug1364215.py | ||
2789 | 24 | |||
2790 | 25 | # Create 1 * tiny cirros and 1 * small precise instances on the overcloud | ||
2791 | 26 | verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300" | ||
2792 | 27 | |||
2793 | 28 | # Test guest connectivity after stopping and starting gateway | ||
2794 | 29 | verify config=test_vrrp_ha.py | ||
2795 | 0 | 30 | ||
2796 | === added file 'specs/dev/vrrp_ha/network.yaml' | |||
2797 | --- specs/dev/vrrp_ha/network.yaml 1970-01-01 00:00:00 +0000 | |||
2798 | +++ specs/dev/vrrp_ha/network.yaml 2015-05-08 09:54:56 +0000 | |||
2799 | @@ -0,0 +1,36 @@ | |||
2800 | 1 | gre: | ||
2801 | 2 | default_gateway: 10.5.0.1 | ||
2802 | 3 | end_floating_ip: 10.5.200.254 | ||
2803 | 4 | external_dns: 10.98.191.11 | ||
2804 | 5 | external_net_cidr: 10.5.0.0/16 | ||
2805 | 6 | external_net_name: ext_net | ||
2806 | 7 | external_subnet_name: ext_net_subnet | ||
2807 | 8 | network_type: gre | ||
2808 | 9 | private_net_cidr: 192.168.21.0/24 | ||
2809 | 10 | router_name: provider-router | ||
2810 | 11 | start_floating_ip: 10.5.150.0 | ||
2811 | 12 | dvr_enabled: False | ||
2812 | 13 | dvr: | ||
2813 | 14 | default_gateway: 10.5.0.1 | ||
2814 | 15 | end_floating_ip: 10.5.200.254 | ||
2815 | 16 | external_dns: 10.98.191.11 | ||
2816 | 17 | external_net_cidr: 10.5.0.0/16 | ||
2817 | 18 | external_net_name: ext_net | ||
2818 | 19 | external_subnet_name: ext_net_subnet | ||
2819 | 20 | network_type: vxlan | ||
2820 | 21 | private_net_cidr: 192.168.21.0/24 | ||
2821 | 22 | router_name: provider-router | ||
2822 | 23 | start_floating_ip: 10.5.150.0 | ||
2823 | 24 | dvr_enabled: True | ||
2824 | 25 | vrrpha: | ||
2825 | 26 | default_gateway: 10.5.0.1 | ||
2826 | 27 | end_floating_ip: 10.5.200.254 | ||
2827 | 28 | external_dns: 10.98.191.11 | ||
2828 | 29 | external_net_cidr: 10.5.0.0/16 | ||
2829 | 30 | external_net_name: ext_net | ||
2830 | 31 | external_subnet_name: ext_net_subnet | ||
2831 | 32 | network_type: vxlan | ||
2832 | 33 | private_net_cidr: 192.168.21.0/24 | ||
2833 | 34 | router_name: provider-router | ||
2834 | 35 | start_floating_ip: 10.5.150.0 | ||
2835 | 36 | dvr_enabled: False | ||
2836 | 0 | 37 | ||
2837 | === added symlink 'specs/dev/vrrp_ha/network_setup.py' | |||
2838 | === target is u'../../../helper/setup/network_setup.py' | |||
2839 | === added symlink 'specs/dev/vrrp_ha/repo-next' | |||
2840 | === target is u'../../../helper/collect/repo-next' | |||
2841 | === added symlink 'specs/dev/vrrp_ha/simple_os_checks.py' | |||
2842 | === target is u'../../../helper/tests/simple_os_checks.py' | |||
2843 | === added file 'specs/dev/vrrp_ha/test_vrrp_ha.py' | |||
2844 | --- specs/dev/vrrp_ha/test_vrrp_ha.py 1970-01-01 00:00:00 +0000 | |||
2845 | +++ specs/dev/vrrp_ha/test_vrrp_ha.py 2015-05-08 09:54:56 +0000 | |||
2846 | @@ -0,0 +1,93 @@ | |||
2847 | 1 | #!/usr/bin/python | ||
2848 | 2 | import time | ||
2849 | 3 | import sys | ||
2850 | 4 | import utils.mojo_utils as mojo_utils | ||
2851 | 5 | import utils.mojo_os_utils as mojo_os_utils | ||
2852 | 6 | import logging | ||
2853 | 7 | import argparse | ||
2854 | 8 | |||
2855 | 9 | def get_cirros_server(cloud_auth): | ||
2856 | 10 | logging.info('Looking for existing cirros server') | ||
2857 | 11 | cirros_images = get_cirros_images(cloud_auth) | ||
2858 | 12 | nova_client = mojo_os_utils.get_nova_client(cloud_auth) | ||
2859 | 13 | for server in nova_client.servers.list(): | ||
2860 | 14 | if server.image['id'] in cirros_images: | ||
2861 | 15 | return server | ||
2862 | 16 | |||
2863 | 17 | def get_cirros_images(cloud_auth): | ||
2864 | 18 | logging.info('Getting list of cirros images') | ||
2865 | 19 | glance_client = mojo_os_utils.get_glance_client(cloud_auth) | ||
2866 | 20 | cirros_images = [] | ||
2867 | 21 | for image in glance_client.images.list(): | ||
2868 | 22 | if 'cirros' in image.name: | ||
2869 | 23 | cirros_images.append(image.id) | ||
2870 | 24 | return cirros_images | ||
2871 | 25 | |||
2872 | 26 | def check_server_state(nova_client, state, server_id=None, server_name=None, wait_time=120): | ||
2873 | 27 | sleep_time = 2 | ||
2874 | 28 | if server_name: | ||
2875 | 29 | server_id = nova_client.servers.find(name=server_name).id | ||
2876 | 30 | server = nova_client.servers.find(id=server_id) | ||
2877 | 31 | while server.status != state and wait_time > 0: | ||
2878 | 32 | time.sleep(sleep_time) | ||
2879 | 33 | server = nova_client.servers.find(id=server_id) | ||
2880 | 34 | wait_time -= sleep_time | ||
2881 | 35 | return server.status == state | ||
2882 | 36 | |||
2883 | 37 | def check_neutron_agent_states(neutron_client, host_name, wait_time=120): | ||
2884 | 38 | sleep_time = 2 | ||
2885 | 39 | statuses = [False] | ||
2886 | 40 | while False in statuses and wait_time > 0: | ||
2887 | 41 | time.sleep(sleep_time) | ||
2888 | 42 | statuses = [] | ||
2889 | 43 | for agent in neutron_client.list_agents()['agents']: | ||
2890 | 44 | if agent['host'] == host_name: | ||
2891 | 45 | statuses.append(agent['admin_state_up']) | ||
2892 | 46 | statuses.append(agent['alive']) | ||
2893 | 47 | wait_time -= sleep_time | ||
2894 | 48 | return not False in statuses | ||
2895 | 49 | |||
2896 | 50 | |||
2897 | 51 | def get_server_floating_ip(server): | ||
2898 | 52 | for addr in server.addresses['private']: | ||
2899 | 53 | if addr['OS-EXT-IPS:type'] == 'floating': | ||
2900 | 54 | return addr['addr'] | ||
2901 | 55 | |||
2902 | 56 | def main(argv): | ||
2903 | 57 | logging.basicConfig(level=logging.INFO) | ||
2904 | 58 | logging.getLogger("urllib3").setLevel(logging.WARNING) | ||
2905 | 59 | overcloud_novarc = mojo_utils.get_overcloud_auth() | ||
2906 | 60 | undercloud_novarc = mojo_utils.get_undercload_auth() | ||
2907 | 61 | under_novac = mojo_os_utils.get_nova_client(undercloud_novarc) | ||
2908 | 62 | over_neutronc = mojo_os_utils.get_neutron_client(overcloud_novarc) | ||
2909 | 63 | server = get_cirros_server(overcloud_novarc) | ||
2910 | 64 | ip = get_server_floating_ip(server) | ||
2911 | 65 | logging.info('Checking connectivity to cirros guest') | ||
2912 | 66 | if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'): | ||
2913 | 67 | raise Exception('Cirros guest inaccessable') | ||
2914 | 68 | router = over_neutronc.list_routers(name='provider-router')['routers'][0] | ||
2915 | 69 | l3_agents = over_neutronc.list_l3_agent_hosting_routers(router=router['id'])['agents'] | ||
2916 | 70 | logging.info('Checking there are multiple L3 agents running tenant router') | ||
2917 | 71 | if len(l3_agents) != 2: | ||
2918 | 72 | raise Exception('Unexpected number of l3 agents') | ||
2919 | 73 | for agent in l3_agents: | ||
2920 | 74 | neutron_gateway = under_novac.servers.find(name=agent['host']) | ||
2921 | 75 | logging.info('Shutting down neutron gateway: ' + neutron_gateway.id) | ||
2922 | 76 | neutron_gateway.stop() | ||
2923 | 77 | if not check_server_state(under_novac, 'SHUTOFF', server_name=agent['host']): | ||
2924 | 78 | raise Exception('Server failed to reach SHUTOFF state') | ||
2925 | 79 | logging.info('Neutron gateway %s has shutdown' % (neutron_gateway.id)) | ||
2926 | 80 | logging.info('Checking connectivity to cirros guest') | ||
2927 | 81 | if not mojo_os_utils.wait_for_ping(ip, 90): | ||
2928 | 82 | raise Exception('Cirros guest inaccessable') | ||
2929 | 83 | if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'): | ||
2930 | 84 | raise Exception('Cirros guest inaccessable') | ||
2931 | 85 | logging.info('Starting neutron gateway: ' + neutron_gateway.id) | ||
2932 | 86 | neutron_gateway.start() | ||
2933 | 87 | if not check_server_state(under_novac, 'ACTIVE', server_name=agent['host']): | ||
2934 | 88 | raise Exception('Server failed to reach SHUTOFF state') | ||
2935 | 89 | if not check_neutron_agent_states(over_neutronc, agent['host']): | ||
2936 | 90 | raise Exception('Server agents failed to reach active state') | ||
2937 | 91 | |||
2938 | 92 | if __name__ == "__main__": | ||
2939 | 93 | sys.exit(main(sys.argv)) | ||
2940 | 0 | 94 | ||
2941 | === added symlink 'specs/dev/vrrp_ha/utils' | |||
2942 | === target is u'../../../helper/utils' |
charm_lint_check #6898 mojo-openstack- specs for gnuoy mp249489
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/11933116/ 10.245. 162.77: 8080/job/ charm_lint_ check/6898/
Build: http://