Merge lp:~gnuoy/openstack-mojo-specs/mojo-openstack-specs-spec-tidy-l2pop into lp:openstack-mojo-specs

Proposed by Liam Young
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
Reviewer Review Type Date Requested Status
OpenStack Charm Testing Maintainers Pending
Review via email: mp+249489@code.launchpad.net

Description of the change

add sepcs for l2pop and openstack upgrades

To post a comment you must log in.
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

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

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/
Build: http://10.245.162.77:8080/job/charm_lint_check/6898/

Revision history for this message
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

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'helper/collect/collect-next'
--- helper/collect/collect-next 2015-01-24 13:11:08 +0000
+++ helper/collect/collect-next 2015-05-08 09:54:56 +0000
@@ -8,7 +8,7 @@
8ceph lp:~openstack-charmers/charms/trusty/ceph/next8ceph lp:~openstack-charmers/charms/trusty/ceph/next
9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
11quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next11quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/neutron-contexts
12cinder lp:~openstack-charmers/charms/trusty/cinder/next12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
@@ -16,4 +16,4 @@
16mongodb lp:charms/mongodb16mongodb lp:charms/mongodb
17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
18heat lp:~openstack-charmers/charms/trusty/heat/next18heat lp:~openstack-charmers/charms/trusty/heat/next
19neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next19neutron-openvswitch lp:~gnuoy/charms/trusty/neutron-openvswitch/neutron-contexts
2020
=== modified file 'helper/collect/repo-next'
--- helper/collect/repo-next 2014-12-16 07:59:12 +0000
+++ helper/collect/repo-next 2015-05-08 09:54:56 +0000
@@ -1,4 +1,4 @@
1mysql1percona-cluster
2rabbitmq-server2rabbitmq-server
3ceph3ceph
4keystone4keystone
55
=== added file 'helper/setup/upgrade_openstack.py'
--- helper/setup/upgrade_openstack.py 1970-01-01 00:00:00 +0000
+++ helper/setup/upgrade_openstack.py 2015-05-08 09:54:56 +0000
@@ -0,0 +1,61 @@
1#!/usr/bin/python
2import sys
3import utils.mojo_utils as mojo_utils
4import logging
5import argparse
6
7OS_ORIGINS = {
8 'trusty-juno': {
9 'openstack-origin': 'cloud:trusty-juno',
10 'source': 'cloud:trusty-juno'
11 },
12 'trusty-juno-proposed': {
13 'openstack-origin': 'cloud:trusty-juno/proposed',
14 'source': 'cloud:trusty-proposed/juno'
15 },
16 'trusty-juno-staging': {
17 'openstack-origin': 'ppa:ubuntu-cloud-archive/juno-staging',
18 'source': 'ppa:ubuntu-cloud-archive/juno-staging'
19 },
20 'utopic-juno-proposed': {
21 'openstack-origin': 'distro-proposed',
22 'source': 'proposed'
23 },
24 'trusty-kilo': {
25 'openstack-origin': 'cloud:trusty-kilo',
26 'source': 'cloud:trusty-kilo'
27 },
28 'trusty-kilo-proposed': {
29 'openstack-origin': 'cloud:trusty-kilo/proposed',
30 'source': 'cloud:trusty-proposed/kilo'
31 },
32 'trusty-kilo-staging': {
33 'openstack-origin': 'ppa:ubuntu-cloud-archive/kilo-staging',
34 'source': 'ppa:ubuntu-cloud-archive/kilo-staging'
35 },
36 'vivid-kilo-proposed': {
37 'openstack-origin': 'distro-proposed',
38 'source': 'proposed'
39 },
40}
41
42def main(argv):
43 logging.basicConfig(level=logging.INFO)
44 parser = argparse.ArgumentParser()
45 parser.add_argument("upgrade_to", nargs="?")
46 options = parser.parse_args()
47 release = mojo_utils.parse_mojo_arg(options, 'upgrade_to')
48 juju_status = mojo_utils.get_juju_status()
49 for svc in juju_status['services']:
50 units = mojo_utils.get_juju_units(juju_status=juju_status, service=svc)
51 machine_number = mojo_utils.convert_unit_to_machineno(units[0])
52 series = mojo_utils.get_machine_series(machine_number)
53 key = series + '-' + release
54 svc_options = mojo_utils.juju_get_config_keys(svc)
55 if 'openstack-origin' in svc_options:
56 mojo_utils.juju_set(svc, '%s=%s' % ('openstack-origin', OS_ORIGINS[key]['openstack-origin']), wait=False)
57 elif 'source' in svc_options:
58 mojo_utils.juju_set(svc, '%s=%s' % ('source', OS_ORIGINS[key]['source']), wait=False)
59
60if __name__ == "__main__":
61 sys.exit(main(sys.argv))
062
=== modified file 'helper/utils/mojo_os_utils.py'
--- helper/utils/mojo_os_utils.py 2015-02-10 07:55:00 +0000
+++ helper/utils/mojo_os_utils.py 2015-05-08 09:54:56 +0000
@@ -518,6 +518,7 @@
518518
519def ssh_test(username, ip, vm_name, password=None, privkey=None):519def ssh_test(username, ip, vm_name, password=None, privkey=None):
520 logging.info('Attempting to ssh to %s(%s)' % (vm_name, ip))520 logging.info('Attempting to ssh to %s(%s)' % (vm_name, ip))
521 logging.getLogger("paramiko").setLevel(logging.WARNING)
521 ssh = paramiko.SSHClient()522 ssh = paramiko.SSHClient()
522 ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())523 ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
523 if privkey:524 if privkey:
524525
=== modified file 'helper/utils/mojo_utils.py'
--- helper/utils/mojo_utils.py 2015-02-10 07:55:00 +0000
+++ helper/utils/mojo_utils.py 2015-05-08 09:54:56 +0000
@@ -6,7 +6,7 @@
6import mojo6import mojo
7import logging7import logging
8import time8import time
9from collections import Counter9from collections import Counter, defaultdict
10import shutil10import shutil
1111
12JUJU_STATUSES = {12JUJU_STATUSES = {
@@ -33,19 +33,16 @@
3333
3434
35def get_juju_units(juju_status=None, service=None):35def get_juju_units(juju_status=None, service=None):
36 if not juju_status:36 machine_map = get_unit_to_machineno_mapping(juju_status)
37 juju_status = get_juju_status()
38 units = []37 units = []
39 if service:38 if not service:
40 services = [service]39 units = machine_map.keys()
41 else:40 else:
42 services = [svc for svc in juju_status['services']]41 for unit in machine_map.keys():
43 for svc in services:42 if unit.split('/')[0] == service:
44 if 'units' in juju_status['services'][svc]:
45 for unit in juju_status['services'][svc]['units']:
46 units.append(unit)43 units.append(unit)
47 return units44 return units
4845
4946
50def get_principle_services(juju_status=None):47def get_principle_services(juju_status=None):
51 if not juju_status:48 if not juju_status:
@@ -57,21 +54,50 @@
57 return p_services54 return p_services
5855
5956
60def convert_unit_to_machineno(unit):57def get_machine_series(machineno, juju_status=None):
58 if not juju_status:
59 juju_status = get_juju_status()
60 return juju_status['machines'][machineno]['series']
61
62
63def get_machineno_to_unit_mapping(juju_status=None):
64 if not juju_status:
65 juju_status = get_juju_status()
66 machine_map = defaultdict(list)
67 for svc in juju_status['services']:
68 if 'units' in juju_status['services'][svc]:
69 principle_units = juju_status['services'][svc]['units']
70 for unit in principle_units:
71 machine_no = principle_units[unit]['machine']
72 machine_map[machine_no].append(unit)
73 if 'subordinates' in principle_units[unit]:
74 subordinet_units = principle_units[unit]['subordinates']
75 machine_map[machine_no].extend(subordinet_units.keys())
76 return dict(machine_map)
77
78
79def get_unit_to_machineno_mapping(juju_status=None):
80 rmap = get_machineno_to_unit_mapping(juju_status)
81 unit_map = {}
82 for machine_no in rmap:
83 for unit in rmap[machine_no]:
84 unit_map[unit] = machine_no
85 return unit_map
86
87
88def convert_unit_to_machineno(unit, juju_status=None):
89 unitmap = get_unit_to_machineno_mapping(juju_status)
90 return unitmap[unit]
91
92
93def convert_unit_to_instanceid(unit):
61 juju_status = get_juju_status(unit)94 juju_status = get_juju_status(unit)
62 return juju_status['machines'].itervalues().next()['instance-id']95 return juju_status['machines'].itervalues().next()['instance-id']
6396
6497
65def convert_machineno_to_unit(machineno, juju_status=None):98def convert_machineno_to_unit(machineno, juju_status=None):
66 if not juju_status:99 machinemap = get_machineno_to_unit_mapping(juju_status)
67 juju_status = get_juju_status()100 return machinemap[machineno]
68 services = [service for service in juju_status['services']]
69 for svc in services:
70 if 'units' in juju_status['services'][svc]:
71 for unit in juju_status['services'][svc]['units']:
72 unit_info = juju_status['services'][svc]['units'][unit]
73 if unit_info['machine'] == machineno:
74 return unit
75101
76102
77def remote_shell_check(unit, timeout=None):103def remote_shell_check(unit, timeout=None):
@@ -131,7 +157,7 @@
131157
132def delete_unit_openstack(unit):158def delete_unit_openstack(unit):
133 from novaclient.v1_1 import client as novaclient159 from novaclient.v1_1 import client as novaclient
134 server_id = convert_unit_to_machineno(unit)160 server_id = convert_unit_to_instanceid(unit)
135 cloud_creds = get_undercload_auth()161 cloud_creds = get_undercload_auth()
136 auth = {162 auth = {
137 'username': cloud_creds['OS_USERNAME'],163 'username': cloud_creds['OS_USERNAME'],
@@ -166,8 +192,9 @@
166192
167def delete_machine(machine):193def delete_machine(machine):
168 mach_no = machine.split('-')[-1]194 mach_no = machine.split('-')[-1]
169 unit = convert_machineno_to_unit(mach_no)195 units = convert_machineno_to_unit(mach_no)
170 delete_unit(unit)196 for unit in units:
197 delete_unit(unit)
171198
172199
173def is_crm_clustered(service):200def is_crm_clustered(service):
174201
=== added directory 'specs/bugs/1427660'
=== added directory 'specs/bugs/1427660/icehouse'
=== added file 'specs/bugs/1427660/icehouse/SPEC_INFO.txt'
--- specs/bugs/1427660/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/bugs/1427660/icehouse/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a non-ha deploy using the next charms and then runs tests
2to validate the deployment
03
=== added symlink 'specs/bugs/1427660/icehouse/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added file 'specs/bugs/1427660/icehouse/collect-next'
--- specs/bugs/1427660/icehouse/collect-next 1970-01-01 00:00:00 +0000
+++ specs/bugs/1427660/icehouse/collect-next 2015-05-08 09:54:56 +0000
@@ -0,0 +1,19 @@
1nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
2neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next
3keystone lp:~openstack-charmers/charms/trusty/keystone/next
4glance lp:~openstack-charmers/charms/trusty/glance/next
5swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
6mysql lp:charms/mysql
7rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
8ceph lp:~openstack-charmers/charms/trusty/ceph/next
9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
10nova-compute lp:~gnuoy/charms/trusty/nova-compute/1427660
11quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next
12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
15ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
16mongodb lp:charms/mongodb
17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
18heat lp:~openstack-charmers/charms/trusty/heat/next
19neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
020
=== added symlink 'specs/bugs/1427660/icehouse/full.yaml'
=== target is u'../../../../helper/bundles/full.yaml'
=== added symlink 'specs/bugs/1427660/icehouse/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/bugs/1427660/icehouse/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/bugs/1427660/icehouse/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/bugs/1427660/icehouse/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/bugs/1427660/icehouse/manifest'
--- specs/bugs/1427660/icehouse/manifest 1970-01-01 00:00:00 +0000
+++ specs/bugs/1427660/icehouse/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,23 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
23verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
024
=== added symlink 'specs/bugs/1427660/icehouse/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/bugs/1427660/icehouse/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added symlink 'specs/bugs/1427660/icehouse/repo-next'
=== target is u'../../../../helper/collect/repo-next'
=== added symlink 'specs/bugs/1427660/icehouse/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/bugs/1427660/icehouse/utils'
=== target is u'../../../../helper/utils'
=== modified file 'specs/dev/dvr/collect-next'
--- specs/dev/dvr/collect-next 2015-02-04 16:33:38 +0000
+++ specs/dev/dvr/collect-next 2015-05-08 09:54:56 +0000
@@ -1,5 +1,5 @@
1nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next1nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
2neutron-api lp:~gnuoy/charms/trusty/neutron-api/dvr-support2neutron-api lp:~gnuoy/charms/trusty/neutron-api/fix-neutron-query
3keystone lp:~openstack-charmers/charms/trusty/keystone/next3keystone lp:~openstack-charmers/charms/trusty/keystone/next
4glance lp:~openstack-charmers/charms/trusty/glance/next4glance lp:~openstack-charmers/charms/trusty/glance/next
5swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next5swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
@@ -7,8 +7,8 @@
7rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next7rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
8ceph lp:~openstack-charmers/charms/trusty/ceph/next8ceph lp:~openstack-charmers/charms/trusty/ceph/next
9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
10nova-compute lp:~gnuoy/charms/trusty/nova-compute/dvr-support/10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
11quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/dvr-support11quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next
12cinder lp:~openstack-charmers/charms/trusty/cinder/next12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
@@ -16,4 +16,4 @@
16mongodb lp:charms/mongodb16mongodb lp:charms/mongodb
17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
18heat lp:~openstack-charmers/charms/trusty/heat/next18heat lp:~openstack-charmers/charms/trusty/heat/next
19neutron-openvswitch lp:~gnuoy/charms/trusty/neutron-openvswitch/dvr-support19neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
2020
=== modified file 'specs/dev/full_nrpe/collect-next'
--- specs/dev/full_nrpe/collect-next 2015-01-26 08:31:29 +0000
+++ specs/dev/full_nrpe/collect-next 2015-05-08 09:54:56 +0000
@@ -8,13 +8,14 @@
8ceph lp:~openstack-charmers/charms/trusty/ceph/next8ceph lp:~openstack-charmers/charms/trusty/ceph/next
9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
11quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next11quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/neutron-contexts
12cinder lp:~openstack-charmers/charms/trusty/cinder/next12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
15ceilometer-agent lp:~gnuoy/charms/trusty/ceilometer-agent/add-nrpe-checks15ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
16mongodb lp:charms/mongodb16mongodb lp:charms/mongodb
17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
18heat lp:~openstack-charmers/charms/trusty/heat/next18heat lp:~openstack-charmers/charms/trusty/heat/next
19neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next19neutron-openvswitch lp:~gnuoy/charms/trusty/neutron-openvswitch/neutron-contexts
20nrpe-external-master lp:charms/nrpe-external-master20nrpe lp:~gnuoy/charms/trusty/nrpe/services-rewrite
21nagios lp:charms/trusty/nagios
2122
=== modified file 'specs/dev/full_nrpe/next.yaml'
--- specs/dev/full_nrpe/next.yaml 2015-01-12 13:53:35 +0000
+++ specs/dev/full_nrpe/next.yaml 2015-05-08 09:54:56 +0000
@@ -92,40 +92,42 @@
92 mongodb:92 mongodb:
93 branch: lp:charms/mongodb93 branch: lp:charms/mongodb
94 constraints: mem=1G94 constraints: mem=1G
95 nagios:
96 charm: nagios
95 nrpe-nova-cloud-controller:97 nrpe-nova-cloud-controller:
96 charm: nrpe-external-master98 charm: nrpe
97 nrpe-neutron-api:99 nrpe-neutron-api:
98 charm: nrpe-external-master100 charm: nrpe
99 nrpe-keystone:101 nrpe-keystone:
100 charm: nrpe-external-master102 charm: nrpe
101 nrpe-glance:103 nrpe-glance:
102 charm: nrpe-external-master104 charm: nrpe
103 nrpe-swift-proxy:105 nrpe-swift-proxy:
104 charm: nrpe-external-master106 charm: nrpe
105 nrpe-mysql:107 nrpe-mysql:
106 charm: nrpe-external-master108 charm: nrpe
107 nrpe-rabbitmq-server:109 nrpe-rabbitmq-server:
108 charm: nrpe-external-master110 charm: nrpe
109 nrpe-ceph:111 nrpe-ceph:
110 charm: nrpe-external-master112 charm: nrpe
111 nrpe-openstack-dashboard:113 nrpe-openstack-dashboard:
112 charm: nrpe-external-master114 charm: nrpe
113 nrpe-nova-compute:115 nrpe-nova-compute:
114 charm: nrpe-external-master116 charm: nrpe
115 options:117 options:
116 procs: "-w200 -C300"118 procs: "-w200 -C300"
117 nrpe-quantum-gateway:119 nrpe-quantum-gateway:
118 charm: nrpe-external-master120 charm: nrpe
119 options:121 options:
120 procs: "-w200 -C300"122 procs: "-w200 -C300"
121 nrpe-cinder:123 nrpe-cinder:
122 charm: nrpe-external-master124 charm: nrpe
123 nrpe-swift-storage:125 nrpe-swift-storage:
124 charm: nrpe-external-master126 charm: nrpe
125 nrpe-ceilometer:127 nrpe-ceilometer:
126 charm: nrpe-external-master128 charm: nrpe
127 nrpe-heat:129 nrpe-heat:
128 charm: nrpe-external-master130 charm: nrpe
129 relations:131 relations:
130 - [ keystone, mysql ]132 - [ keystone, mysql ]
131 - [ nova-cloud-controller, mysql ]133 - [ nova-cloud-controller, mysql ]
@@ -160,19 +162,31 @@
160 - [ ceilometer-agent, nova-compute ]162 - [ ceilometer-agent, nova-compute ]
161 - [ ceilometer-agent, ceilometer ]163 - [ ceilometer-agent, ceilometer ]
162 - [ nrpe-nova-cloud-controller, nova-cloud-controller ]164 - [ nrpe-nova-cloud-controller, nova-cloud-controller ]
165 - [ "nrpe-nova-cloud-controller:monitors", "nagios:monitors" ]
163 - [ nrpe-neutron-api, neutron-api ]166 - [ nrpe-neutron-api, neutron-api ]
167 - [ "nrpe-neutron-api:monitors", "nagios:monitors" ]
164 - [ nrpe-keystone, keystone ]168 - [ nrpe-keystone, keystone ]
169 - [ "nrpe-keystone:monitors", "nagios:monitors" ]
165 - [ nrpe-glance, glance ]170 - [ nrpe-glance, glance ]
171 - [ "nrpe-glance:monitors", "nagios:monitors" ]
166 - [ nrpe-swift-proxy, swift-proxy ]172 - [ nrpe-swift-proxy, swift-proxy ]
173 - [ "nrpe-swift-proxy:monitors", "nagios:monitors" ]
167 - [ nrpe-ceph, ceph ]174 - [ nrpe-ceph, ceph ]
175 - [ "nrpe-ceph:monitors", "nagios:monitors" ]
168 - [ nrpe-openstack-dashboard, openstack-dashboard ]176 - [ nrpe-openstack-dashboard, openstack-dashboard ]
177 - [ "nrpe-openstack-dashboard:monitors", "nagios:monitors" ]
169 - [ nrpe-nova-compute, nova-compute ]178 - [ nrpe-nova-compute, nova-compute ]
179 - [ "nrpe-nova-compute:monitors", "nagios:monitors" ]
170 - [ nrpe-quantum-gateway, neutron-gateway ]180 - [ nrpe-quantum-gateway, neutron-gateway ]
181 - [ "nrpe-quantum-gateway:monitors", "nagios:monitors" ]
171 - [ nrpe-cinder, cinder ]182 - [ nrpe-cinder, cinder ]
183 - [ "nrpe-cinder:monitors", "nagios:monitors" ]
172 - [ nrpe-swift-storage, swift-storage-z1 ]184 - [ nrpe-swift-storage, swift-storage-z1 ]
173 - [ nrpe-swift-storage, swift-storage-z2 ]185 - [ nrpe-swift-storage, swift-storage-z2 ]
174 - [ nrpe-swift-storage, swift-storage-z3 ]186 - [ nrpe-swift-storage, swift-storage-z3 ]
187 - [ "nrpe-swift-storage:monitors", "nagios:monitors" ]
175 - [ nrpe-ceilometer, ceilometer ]188 - [ nrpe-ceilometer, ceilometer ]
189 - [ "nrpe-ceilometer:monitors", "nagios:monitors" ]
176openstack-singlerabbit:190openstack-singlerabbit:
177 inherits: openstack-services191 inherits: openstack-services
178 relations:192 relations:
179193
=== modified file 'specs/dev/full_nrpe/repo-next'
--- specs/dev/full_nrpe/repo-next 2015-01-12 12:20:56 +0000
+++ specs/dev/full_nrpe/repo-next 2015-05-08 09:54:56 +0000
@@ -17,4 +17,5 @@
17cinder-ceph17cinder-ceph
18heat18heat
19neutron-openvswitch19neutron-openvswitch
20nrpe-external-master20nrpe
21nagios
2122
=== added directory 'specs/dev/full_nrpe_ha'
=== added directory 'specs/dev/full_nrpe_ha/icehouse'
=== added file 'specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt'
--- specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/icehouse/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a phased ha deploy then runs tests to validate the
2deployment
03
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added file 'specs/dev/full_nrpe_ha/icehouse/collect-next-ha'
--- specs/dev/full_nrpe_ha/icehouse/collect-next-ha 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/icehouse/collect-next-ha 2015-05-08 09:54:56 +0000
@@ -0,0 +1,21 @@
1nrpe-external-master lp:charms/nrpe-external-master
2percona-cluster lp:~brad-marshall/charms/trusty/percona-cluster/fix-nagios
3hacluster lp:~gnuoy/charms/trusty/hacluster/charmhelper_sync
4rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
5ceph lp:~openstack-charmers/charms/trusty/ceph/next
6ceph-osd lp:~brad-marshall/charms/trusty/ceph-osd/nagios-fix-servicegroups
7keystone lp:~openstack-charmers/charms/trusty/keystone/next
8openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
9nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
10nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
11quantum-gateway lp:~openstack-charmers/charms/trusty/quantum-gateway/next
12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13glance lp:~brad-marshall/charms/trusty/glance/add-haproxy-nrpe-fix-servicegroups
14swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
15swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
16ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
17ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
18mongodb lp:charms/mongodb
19neutron-api lp:~openstack-charmers/charms/trusty/neutron-api/next
20neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
21cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
022
=== added file 'specs/dev/full_nrpe_ha/icehouse/haphase1.yaml'
--- specs/dev/full_nrpe_ha/icehouse/haphase1.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/icehouse/haphase1.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,201 @@
1# vim: set ts=2 et:
2openstack-services:
3 series: trusty
4 services:
5 mysql:
6 charm: percona-cluster
7 constraints: mem=1G
8 num_units: 2
9 options:
10 vip: 10.5.100.10
11 vip_cidr: 16
12 root-password: crapper
13 sst-password: crapper
14 mysql-hacluster:
15 charm: hacluster
16 rabbitmq-server:
17 charm: rabbitmq-server
18 constraints: mem=1G
19 num_units: 2
20 ceph:
21 charm: ceph
22 num_units: 3
23 constraints: mem=1G
24 options:
25 monitor-count: 3
26 fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
27 monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
28 osd-devices: /dev/vdb
29 osd-reformat: "yes"
30 ephemeral-unmount: /mnt
31 ceph-osd:
32 charm: ceph-osd
33 num_units: 3
34 constraints: mem=1G
35 options:
36 osd-devices: /dev/vdb
37 osd-reformat: "yes"
38 ephemeral-unmount: /mnt
39 keystone:
40 charm: keystone
41 constraints: mem=1G
42 num_units: 2
43 options:
44 admin-password: openstack
45 admin-token: ubuntutesting
46 vip: 10.5.100.1
47 keystone-hacluster:
48 charm: hacluster
49 openstack-dashboard:
50 charm: openstack-dashboard
51 constraints: mem=1G
52 num_units: 2
53 options:
54 vip: 10.5.100.2
55 dashboard-hacluster:
56 charm: hacluster
57 nova-compute:
58 charm: nova-compute
59 num_units: 3
60 constraints: mem=4G
61 options:
62 config-flags: "auto_assign_floating_ip=False"
63 enable-live-migration: False
64 enable-resize: False
65 nova-cloud-controller:
66 charm: nova-cloud-controller
67 constraints: mem=1G
68 num_units: 2
69 options:
70 network-manager: Quantum
71 quantum-security-groups: "yes"
72 vip: 10.5.100.3
73 ncc-hacluster:
74 charm: hacluster
75 neutron-gateway:
76 charm: quantum-gateway
77 constraints: mem=1G
78 num_units: 2
79 options:
80 instance-mtu: 1350
81 cinder:
82 charm: cinder
83 num_units: 2
84 options:
85 block-device: "None"
86 glance-api-version: 2
87 vip: 10.5.100.4
88 constraints": mem=1G
89 cinder-hacluster:
90 charm: hacluster
91 cinder-ceph:
92 charm: cinder-ceph
93 glance:
94 charm: glance
95 constraints: mem=1G
96 num_units: 2
97 options:
98 vip: 10.5.100.5
99 glance-hacluster:
100 charm: hacluster
101 swift-proxy:
102 charm: swift-proxy
103 constraints: mem=1G
104 num_units: 2
105 options:
106 zone-assignment: manual
107 replicas: 3
108 swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
109 vip: 10.5.100.6
110 swift-proxy-hacluster:
111 charm: hacluster
112 swift-storage-z1:
113 charm: swift-storage
114 constraints: mem=1G
115 options:
116 zone: 1
117 block-device: vdb
118 overwrite: "true"
119 swift-storage-z2:
120 charm: swift-storage
121 constraints: mem=1G
122 options:
123 zone: 2
124 block-device: vdb
125 overwrite: "true"
126 swift-storage-z3:
127 charm: swift-storage
128 constraints: mem=1G
129 options:
130 zone: 3
131 block-device: vdb
132 overwrite: "true"
133 nrpe-glance:
134 charm: nrpe-external-master
135 nrpe-percona:
136 charm: nrpe-external-master
137 nrpe-cephosd:
138 charm: nrpe-external-master
139openstack-singlerabbit:
140 inherits: openstack-services
141openstack-icehouse:
142 inherits: openstack-singlerabbit
143 services:
144 neutron-api:
145 num_units: 2
146 charm: neutron-api
147 constraints: mem=1G
148 options:
149 neutron-security-groups: True
150 vip: 10.5.108.1
151 neutron-api-hacluster:
152 charm: hacluster
153 options:
154 corosync_mcastaddr: 226.94.1.8
155 corosync_key: "JFgMRJhNfKnmBRGm+rbAwpZmd/1FX08SCzOzDg/teaVtfGf60QYBCrpRYQzjzM2f+iNpGFuYEW8fXd+Dvquns6E1v7JbSt7oPRi2DYfdXXHc3EYkhimPG7h/VvnhaabLQ5z8CuQzaVJL1Fp25n4Rs5V4d71sgE5IR0skkWC6YO8="
156 neutron-openvswitch:
157 charm: neutron-openvswitch
158precise-icehouse:
159 inherits: openstack-singlerabbit
160 series: precise
161 overrides:
162 openstack-origin: cloud:precise-icehouse
163 source: cloud:precise-icehouse
164trusty-icehouse:
165 inherits: openstack-icehouse
166 series: trusty
167trusty-juno:
168 inherits: openstack-icehouse
169 series: trusty
170 overrides:
171 openstack-origin: cloud:trusty-juno
172 source: cloud:trusty-juno
173utopic-juno:
174 inherits: openstack-icehouse
175 series: utopic
176# kilo
177trusty-kilo:
178 inherits: openstack-icehouse
179 series: trusty
180 overrides:
181 openstack-origin: cloud:trusty-kilo
182 source: cloud:trusty-kilo
183trusty-kilo-proposed:
184 inherits: trusty-kilo
185 overrides:
186 openstack-origin: cloud:trusty-kilo/proposed
187 source: cloud:trusty-proposed/kilo
188trusty-kilo-staging:
189 inherits: trusty-kilo
190 overrides:
191 openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
192 source: ppa:ubuntu-cloud-archive/kilo-staging
193vivid-kilo:
194 inherits: openstack-icehouse
195 series: vivid
196vivid-kilo-proposed:
197 inherits: vivid-kilo
198 overrides:
199 source: proposed
200 openstack-origin: distro-proposed
201
0202
=== added file 'specs/dev/full_nrpe_ha/icehouse/haphase2.yaml'
--- specs/dev/full_nrpe_ha/icehouse/haphase2.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/icehouse/haphase2.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,253 @@
1# vim: set ts=2 et:
2openstack-services:
3 series: trusty
4 services:
5 mysql:
6 charm: percona-cluster
7 constraints: mem=1G
8 num_units: 2
9 options:
10 vip: 10.5.100.10
11 vip_cidr: 16
12 root-password: crapper
13 sst-password: crapper
14 mysql-hacluster:
15 charm: hacluster
16 rabbitmq-server:
17 charm: rabbitmq-server
18 constraints: mem=1G
19 num_units: 2
20 ceph:
21 charm: ceph
22 num_units: 3
23 constraints: mem=1G
24 options:
25 monitor-count: 3
26 fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
27 monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
28 osd-devices: /dev/vdb
29 osd-reformat: "yes"
30 ephemeral-unmount: /mnt
31 ceph-osd:
32 charm: ceph-osd
33 num_units: 3
34 constraints: mem=1G
35 options:
36 osd-devices: /dev/vdb
37 osd-reformat: "yes"
38 ephemeral-unmount: /mnt
39 keystone:
40 charm: keystone
41 constraints: mem=1G
42 num_units: 2
43 options:
44 admin-password: openstack
45 admin-token: ubuntutesting
46 vip: 10.5.100.1
47 keystone-hacluster:
48 charm: hacluster
49 openstack-dashboard:
50 charm: openstack-dashboard
51 constraints: mem=1G
52 num_units: 2
53 options:
54 vip: 10.5.100.2
55 dashboard-hacluster:
56 charm: hacluster
57 nova-compute:
58 charm: nova-compute
59 num_units: 3
60 constraints: mem=4G
61 options:
62 config-flags: "auto_assign_floating_ip=False"
63 enable-live-migration: False
64 enable-resize: False
65 nova-cloud-controller:
66 charm: nova-cloud-controller
67 constraints: mem=1G
68 num_units: 2
69 options:
70 network-manager: Quantum
71 quantum-security-groups: "yes"
72 vip: 10.5.100.3
73 ncc-hacluster:
74 charm: hacluster
75 neutron-gateway:
76 charm: quantum-gateway
77 constraints: mem=1G
78 num_units: 2
79 options:
80 instance-mtu: 1350
81 cinder:
82 charm: cinder
83 num_units: 2
84 options:
85 block-device: "None"
86 glance-api-version: 2
87 vip: 10.5.100.4
88 constraints": mem=1G
89 cinder-hacluster:
90 charm: hacluster
91 cinder-ceph:
92 charm: cinder-ceph
93 glance:
94 charm: glance
95 constraints: mem=1G
96 num_units: 2
97 options:
98 vip: 10.5.100.5
99 glance-hacluster:
100 charm: hacluster
101 swift-proxy:
102 charm: swift-proxy
103 constraints: mem=1G
104 num_units: 2
105 options:
106 zone-assignment: manual
107 replicas: 3
108 swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
109 vip: 10.5.100.6
110 swift-proxy-hacluster:
111 charm: hacluster
112 swift-storage-z1:
113 charm: swift-storage
114 constraints: mem=1G
115 options:
116 zone: 1
117 block-device: vdb
118 overwrite: "true"
119 swift-storage-z2:
120 charm: swift-storage
121 constraints: mem=1G
122 options:
123 zone: 2
124 block-device: vdb
125 overwrite: "true"
126 swift-storage-z3:
127 charm: swift-storage
128 constraints: mem=1G
129 options:
130 zone: 3
131 block-device: vdb
132 overwrite: "true"
133 nrpe-glance:
134 charm: nrpe-external-master
135 nrpe-percona:
136 charm: nrpe-external-master
137 nrpe-cephosd:
138 charm: nrpe-external-master
139 relations:
140 - [ mysql, mysql-hacluster ]
141 - [ keystone, mysql ]
142 - [ keystone, keystone-hacluster ]
143 - [ nova-cloud-controller, ncc-hacluster ]
144 - [ nova-cloud-controller, mysql ]
145 - [ nova-cloud-controller, rabbitmq-server ]
146 - [ nova-cloud-controller, glance ]
147 - [ nova-cloud-controller, keystone ]
148 - [ nova-compute, nova-cloud-controller ]
149 - [ nova-compute, mysql ]
150 - - nova-compute
151 - rabbitmq-server:amqp
152 - [ nova-compute, glance ]
153 - [ nova-compute, ceph ]
154 - [ glance, glance-hacluster ]
155 - [ glance, mysql ]
156 - [ glance, keystone ]
157 - [ glance, ceph ]
158 - [ glance, cinder ]
159 - [ glance, rabbitmq-server ]
160 - [ cinder, cinder-hacluster ]
161 - [ cinder, mysql ]
162 - [ cinder, rabbitmq-server ]
163 - [ cinder, nova-cloud-controller ]
164 - [ cinder, keystone ]
165 - [ cinder, cinder-ceph ]
166 - [ cinder-ceph, ceph ]
167 - [ ceph, ceph-osd ]
168 - [ neutron-gateway, mysql ]
169 - [ neutron-gateway, nova-cloud-controller ]
170 - [ openstack-dashboard, keystone ]
171 - [ openstack-dashboard, dashboard-hacluster ]
172 - [ swift-proxy, keystone ]
173 - [ swift-proxy, swift-proxy-hacluster ]
174 - [ swift-proxy, swift-storage-z1 ]
175 - [ swift-proxy, swift-storage-z2 ]
176 - [ swift-proxy, swift-storage-z3 ]
177 - [ nrpe-cephosd, ceph-osd ]
178 - [ nrpe-percona, mysql ]
179 - [ nrpe-glance, glance ]
180openstack-singlerabbit:
181 inherits: openstack-services
182 relations:
183 - [ "neutron-gateway:amqp", rabbitmq-server ]
184openstack-icehouse:
185 inherits: openstack-singlerabbit
186 services:
187 neutron-api:
188 num_units: 2
189 charm: neutron-api
190 constraints: mem=1G
191 options:
192 neutron-security-groups: True
193 vip: 10.5.108.1
194 neutron-api-hacluster:
195 charm: hacluster
196 options:
197 corosync_mcastaddr: 226.94.1.8
198 corosync_key: "JFgMRJhNfKnmBRGm+rbAwpZmd/1FX08SCzOzDg/teaVtfGf60QYBCrpRYQzjzM2f+iNpGFuYEW8fXd+Dvquns6E1v7JbSt7oPRi2DYfdXXHc3EYkhimPG7h/VvnhaabLQ5z8CuQzaVJL1Fp25n4Rs5V4d71sgE5IR0skkWC6YO8="
199 neutron-openvswitch:
200 charm: neutron-openvswitch
201 relations:
202 - [ neutron-api, mysql ]
203 - [ neutron-api, rabbitmq-server ]
204 - [ neutron-api, nova-cloud-controller ]
205 - [ neutron-api, neutron-openvswitch ]
206 - [ neutron-api, keystone ]
207 - [ neutron-openvswitch, nova-compute ]
208 - [ neutron-openvswitch, rabbitmq-server ]
209 #hacluster relation
210 - [ neutron-api, neutron-api-hacluster ]
211precise-icehouse:
212 inherits: openstack-singlerabbit
213 series: precise
214 overrides:
215 openstack-origin: cloud:precise-icehouse
216 source: cloud:precise-icehouse
217trusty-icehouse:
218 inherits: openstack-icehouse
219 series: trusty
220trusty-juno:
221 inherits: openstack-icehouse
222 series: trusty
223 overrides:
224 openstack-origin: cloud:trusty-juno
225 source: cloud:trusty-juno
226utopic-juno:
227 inherits: openstack-icehouse
228 series: utopic
229# kilo
230trusty-kilo:
231 inherits: openstack-icehouse
232 series: trusty
233 overrides:
234 openstack-origin: cloud:trusty-kilo
235 source: cloud:trusty-kilo
236trusty-kilo-proposed:
237 inherits: trusty-kilo
238 overrides:
239 openstack-origin: cloud:trusty-kilo/proposed
240 source: cloud:trusty-proposed/kilo
241trusty-kilo-staging:
242 inherits: trusty-kilo
243 overrides:
244 openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
245 source: ppa:ubuntu-cloud-archive/kilo-staging
246vivid-kilo:
247 inherits: openstack-icehouse
248 series: vivid
249vivid-kilo-proposed:
250 inherits: vivid-kilo
251 overrides:
252 source: proposed
253 openstack-origin: distro-proposed
0254
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/full_nrpe_ha/icehouse/manifest'
--- specs/dev/full_nrpe_ha/icehouse/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/icehouse/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,35 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next-ha
3
4# Copy the branches to the deployment directory
5repo config=repo-next-ha
6
7# Use juju deployer to create the units for the deployment
8deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-icehouse
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Examine the available networks and set vips for services
14script config=set_vips.py
15
16# Use juju deployer to add the relations for the deployment
17deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-icehouse
18
19# Check juju statuses are green and that hooks have finished
20verify config=check_juju.py
21
22# Create sdn on overcloud
23script config=network_setup.py
24
25# Setup glance images
26script config=image_setup.py
27
28# Setup keystone users
29script config=keystone_setup.py
30
31# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
32verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
33
34# Test obj store by sending and recieving files
35verify config=test_obj_store.py
036
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added file 'specs/dev/full_nrpe_ha/icehouse/repo-next-ha'
--- specs/dev/full_nrpe_ha/icehouse/repo-next-ha 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/icehouse/repo-next-ha 2015-05-08 09:54:56 +0000
@@ -0,0 +1,21 @@
1nrpe-external-master
2percona-cluster
3hacluster
4rabbitmq-server
5ceph
6ceph-osd
7keystone
8openstack-dashboard
9nova-compute
10nova-cloud-controller
11quantum-gateway
12cinder
13glance
14swift-proxy
15swift-storage
16ceilometer
17ceilometer-agent
18mongodb
19neutron-api
20neutron-openvswitch
21cinder-ceph
022
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/set_vips.py'
=== target is u'../../../../helper/setup/set_vips.py'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/test_obj_store.py'
=== target is u'../../../../helper/tests/test_obj_store.py'
=== added symlink 'specs/dev/full_nrpe_ha/icehouse/utils'
=== target is u'../../../../helper/utils'
=== added directory 'specs/dev/full_nrpe_ha/juno'
=== added file 'specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt'
--- specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/juno/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a phased ha deploy then runs tests to validate the
2deployment
03
=== added symlink 'specs/dev/full_nrpe_ha/juno/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/collect-next-ha'
=== target is u'../../../../helper/collect/collect-next-ha'
=== added symlink 'specs/dev/full_nrpe_ha/juno/haphase1.yaml'
=== target is u'../../../../helper/bundles/haphase1.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/juno/haphase2.yaml'
=== target is u'../../../../helper/bundles/haphase2.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/juno/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/juno/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/full_nrpe_ha/juno/manifest'
--- specs/dev/full_nrpe_ha/juno/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/juno/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,35 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next-ha
3
4# Copy the branches to the deployment directory
5repo config=repo-next-ha
6
7# Use juju deployer to create the units for the deployment
8deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-juno
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Examine the available networks and set vips for services
14script config=set_vips.py
15
16# Use juju deployer to add the relations for the deployment
17deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-juno
18
19# Check juju statuses are green and that hooks have finished
20verify config=check_juju.py
21
22# Create sdn on overcloud
23script config=network_setup.py
24
25# Setup glance images
26script config=image_setup.py
27
28# Setup keystone users
29script config=keystone_setup.py
30
31# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
32verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
33
34# Test obj store by sending and recieving files
35verify config=test_obj_store.py
036
=== added symlink 'specs/dev/full_nrpe_ha/juno/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/juno/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/repo-next-ha'
=== target is u'../../../../helper/collect/repo-next-ha'
=== added symlink 'specs/dev/full_nrpe_ha/juno/set_vips.py'
=== target is u'../../../../helper/setup/set_vips.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/test_obj_store.py'
=== target is u'../../../../helper/tests/test_obj_store.py'
=== added symlink 'specs/dev/full_nrpe_ha/juno/utils'
=== target is u'../../../../helper/utils'
=== added directory 'specs/dev/full_nrpe_ha/kilo'
=== added file 'specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt'
--- specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/kilo/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a phased ha deploy then runs tests to validate the
2deployment
03
=== added symlink 'specs/dev/full_nrpe_ha/kilo/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/collect-next-ha'
=== target is u'../../../../helper/collect/collect-next-ha'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/haphase1.yaml'
=== target is u'../../../../helper/bundles/haphase1.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/haphase2.yaml'
=== target is u'../../../../helper/bundles/haphase2.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/full_nrpe_ha/kilo/manifest'
--- specs/dev/full_nrpe_ha/kilo/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/full_nrpe_ha/kilo/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,35 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next-ha
3
4# Copy the branches to the deployment directory
5repo config=repo-next-ha
6
7# Use juju deployer to create the units for the deployment
8deploy config=haphase1.yaml delay=0 target=${MOJO_SERIES}-kilo
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Examine the available networks and set vips for services
14script config=set_vips.py
15
16# Use juju deployer to add the relations for the deployment
17deploy config=haphase2.yaml delay=0 target=${MOJO_SERIES}-kilo
18
19# Check juju statuses are green and that hooks have finished
20verify config=check_juju.py
21
22# Create sdn on overcloud
23script config=network_setup.py
24
25# Setup glance images
26script config=image_setup.py
27
28# Setup keystone users
29script config=keystone_setup.py
30
31# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
32verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:3' CLOUDINIT_WAIT="300"
33
34# Test obj store by sending and recieving files
35verify config=test_obj_store.py
036
=== added symlink 'specs/dev/full_nrpe_ha/kilo/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/repo-next-ha'
=== target is u'../../../../helper/collect/repo-next-ha'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/set_vips.py'
=== target is u'../../../../helper/setup/set_vips.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/test_obj_store.py'
=== target is u'../../../../helper/tests/test_obj_store.py'
=== added symlink 'specs/dev/full_nrpe_ha/kilo/utils'
=== target is u'../../../../helper/utils'
=== added directory 'specs/dev/kilo'
=== added file 'specs/dev/kilo/SPEC_INFO.txt'
--- specs/dev/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/kilo/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a non-ha deploy using the next charms and then runs tests
2to validate the deployment
03
=== added symlink 'specs/dev/kilo/check_juju.py'
=== target is u'../../../helper/tests/check_juju.py'
=== added file 'specs/dev/kilo/collect-next'
--- specs/dev/kilo/collect-next 1970-01-01 00:00:00 +0000
+++ specs/dev/kilo/collect-next 2015-05-08 09:54:56 +0000
@@ -0,0 +1,19 @@
1keystone lp:~james-page/charms/trusty/keystone/kilo/
2neutron-api lp:~james-page/charms/trusty/neutron-api/kilo/
3glance lp:~james-page/charms/trusty/glance/kilo
4neutron-openvswitch lp:~james-page/charms/trusty/neutron-openvswitch/kilo
5quantum-gateway lp:~james-page/charms/trusty/quantum-gateway/kilo
6nova-cloud-controller lp:~james-page/charms/trusty/nova-cloud-controller/kilo
7nova-compute lp:~james-page/charms/trusty/nova-compute/kilo
8cinder lp:~james-page/charms/trusty/cinder/kilo
9swift-proxy lp:~james-page/charms/trusty/swift-proxy/kilo
10ceph lp:~james-page/charms/trusty/ceph/kilo-support
11mysql lp:~gnuoy/charms/trusty/mysql/sync-ch
12rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
13openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
14swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
15ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
16ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
17mongodb lp:charms/mongodb
18cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
19heat lp:~openstack-charmers/charms/trusty/heat/next
020
=== added file 'specs/dev/kilo/full.yaml'
--- specs/dev/kilo/full.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/kilo/full.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,252 @@
1# vim: set ts=2 et:
2openstack-services:
3 services:
4 mysql:
5 charm: mysql
6 constraints: mem=1G
7 options:
8 dataset-size: 50%
9 rabbitmq-server:
10 charm: rabbitmq-server
11 constraints: mem=1G
12 ceph:
13 charm: ceph
14 num_units: 3
15 constraints: mem=1G
16 options:
17 monitor-count: 3
18 fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
19 monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
20 osd-devices: /dev/vdb
21 osd-reformat: "yes"
22 ephemeral-unmount: /mnt
23 keystone:
24 charm: keystone
25 constraints: mem=1G
26 options:
27 admin-password: openstack
28 admin-token: ubuntutesting
29 openstack-dashboard:
30 charm: openstack-dashboard
31 constraints: mem=1G
32 nova-compute:
33 charm: nova-compute
34 num_units: 3
35 constraints: mem=4G
36 options:
37 enable-live-migration: True
38 enable-resize: True
39 nova-cloud-controller:
40 charm: nova-cloud-controller
41 constraints: mem=1G
42 options:
43 network-manager: Quantum
44 quantum-security-groups: "yes"
45 neutron-gateway:
46 charm: quantum-gateway
47 constraints: mem=1G
48 options:
49 instance-mtu: 1300
50 cinder:
51 charm: cinder
52 options:
53 block-device: "None"
54 glance-api-version: 2
55 constraints": mem=1G
56 glance:
57 charm: glance
58 constraints: mem=1G
59 swift-proxy:
60 charm: swift-proxy
61 constraints: mem=1G
62 options:
63 zone-assignment: manual
64 replicas: 3
65 swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
66 swift-storage-z1:
67 charm: swift-storage
68 constraints: mem=1G
69 options:
70 zone: 1
71 block-device: vdb
72 overwrite: "true"
73 swift-storage-z2:
74 charm: swift-storage
75 constraints: mem=1G
76 options:
77 zone: 2
78 block-device: vdb
79 overwrite: "true"
80 swift-storage-z3:
81 charm: swift-storage
82 constraints: mem=1G
83 options:
84 zone: 3
85 block-device: vdb
86 overwrite: "true"
87 relations:
88 - [ keystone, mysql ]
89 - [ nova-cloud-controller, mysql ]
90 - [ nova-cloud-controller, rabbitmq-server ]
91 - [ nova-cloud-controller, glance ]
92 - [ nova-cloud-controller, keystone ]
93 - [ nova-compute, nova-cloud-controller ]
94 - [ nova-compute, mysql ]
95 - - nova-compute
96 - rabbitmq-server:amqp
97 - [ nova-compute, glance ]
98 - [ nova-compute, ceph ]
99 - [ glance, mysql ]
100 - [ glance, keystone ]
101 - [ glance, ceph ]
102 - [ glance, cinder ]
103 - [ cinder, mysql ]
104 - [ cinder, rabbitmq-server ]
105 - [ cinder, nova-cloud-controller ]
106 - [ cinder, keystone ]
107 - [ cinder, ceph ]
108 - [ neutron-gateway, mysql ]
109 - [ neutron-gateway, nova-cloud-controller ]
110 - [ openstack-dashboard, keystone ]
111 - [ swift-proxy, keystone ]
112 - [ swift-proxy, swift-storage-z1 ]
113 - [ swift-proxy, swift-storage-z2 ]
114 - [ swift-proxy, swift-storage-z3 ]
115openstack-singlerabbit:
116 inherits: openstack-services
117 relations:
118 - [ "neutron-gateway:amqp", rabbitmq-server ]
119openstack-icehouse:
120 inherits: openstack-singlerabbit
121 services:
122 neutron-api:
123 charm: neutron-api
124 constraints: mem=1G
125 options:
126 neutron-security-groups: True
127 neutron-openvswitch:
128 charm: neutron-openvswitch
129 relations:
130 - [ neutron-api, mysql ]
131 - [ neutron-api, rabbitmq-server ]
132 - [ neutron-api, nova-cloud-controller ]
133 - [ neutron-api, neutron-openvswitch ]
134 - [ neutron-api, keystone ]
135 - [ neutron-openvswitch, nova-compute ]
136 - [ neutron-openvswitch, rabbitmq-server ]
137openstack-icehouse-msg-split:
138 inherits: openstack-services
139 services:
140 neutron-api:
141 charm: neutron-api
142 constraints: mem=1G
143 options:
144 neutron-security-groups: True
145 neutron-openvswitch:
146 charm: neutron-openvswitch
147 rabbitmq-server-neutron:
148 charm: rabbitmq-server
149 constraints: mem=1G
150 relations:
151 - [ neutron-api, mysql ]
152 - [ neutron-api, rabbitmq-server-neutron ]
153 - [ neutron-api, nova-cloud-controller ]
154 - [ neutron-api, neutron-openvswitch ]
155 - [ neutron-api, keystone ]
156 - [ neutron-api, neutron-gateway ]
157 - [ neutron-openvswitch, nova-compute ]
158 - [ neutron-openvswitch, rabbitmq-server-neutron ]
159 - [ "neutron-gateway:amqp-nova", rabbitmq-server ]
160 - [ "neutron-gateway:amqp", rabbitmq-server-neutron ]
161# icehouse
162precise-icehouse:
163 inherits: openstack-singlerabbit
164 series: precise
165 overrides:
166 openstack-origin: cloud:precise-icehouse
167 source: cloud:precise-updates/icehouse
168precise-icehouse-proposed:
169 inherits: precise-icehouse
170 overrides:
171 openstack-origin: cloud:precise-icehouse/proposed
172 source: cloud:precise-updates/icehouse
173precise-icehouse-staging:
174 inherits: precise-icehouse
175 overrides:
176 openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
177 source: ppa:ubuntu-cloud-archive/icehouse-staging
178precise-icehouse-trunk:
179 inherits: precise-icehouse
180 overrides:
181 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
182 source: ppa:openstack-ubuntu-testing/icehouse
183trusty-icehouse:
184 inherits: openstack-icehouse
185 series: trusty
186trusty-icehouse-msg-split:
187 inherits: openstack-icehouse-msg-split
188 series: trusty
189trusty-icehouse-proposed:
190 inherits: trusty-icehouse
191 overrides:
192 source: proposed
193 openstack-origin: distro-proposed
194trusty-icehouse-trunk:
195 inherits: trusty-icehouse
196 overrides:
197 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
198 source: ppa:openstack-ubuntu-testing/icehouse
199 offline-compression: "no"
200# juno
201trusty-juno:
202 inherits: openstack-icehouse
203 series: trusty
204 overrides:
205 openstack-origin: cloud:trusty-juno
206 source: cloud:trusty-updates/juno
207trusty-juno-proposed:
208 inherits: trusty-juno
209 overrides:
210 openstack-origin: cloud:trusty-juno/proposed
211 source: cloud:trusty-proposed/juno
212trusty-juno-staging:
213 inherits: trusty-juno
214 overrides:
215 openstack-origin: ppa:ubuntu-cloud-archive/juno-staging
216 source: ppa:ubuntu-cloud-archive/juno-staging
217utopic-juno:
218 inherits: openstack-icehouse
219 series: utopic
220utopic-juno-proposed:
221 inherits: utopic-juno
222 overrides:
223 source: proposed
224 openstack-origin: distro-proposed
225# kilo
226trusty-kilo:
227 inherits: openstack-icehouse
228 series: trusty
229 overrides:
230 openstack-origin: ppa:james-page/kilo
231 source: ppa:james-page/kilo
232trusty-kilo-proposed:
233 inherits: trusty-kilo
234 overrides:
235 openstack-origin: cloud:trusty-kilo/proposed
236 source: cloud:trusty-proposed/kilo
237trusty-kilo-staging:
238 inherits: trusty-kilo
239 overrides:
240 openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
241 source: ppa:ubuntu-cloud-archive/kilo-staging
242vivid-kilo:
243 inherits: openstack-icehouse
244 series: vivid
245 overrides:
246 openstack-origin: ppa:james-page/kilo
247 source: ppa:james-page/kilo
248vivid-kilo-proposed:
249 inherits: vivid-kilo
250 overrides:
251 source: proposed
252 openstack-origin: distro-proposed
0253
=== added symlink 'specs/dev/kilo/image_setup.py'
=== target is u'../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/kilo/images.yaml'
=== target is u'../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/kilo/keystone_setup.py'
=== target is u'../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/kilo/keystone_users.yaml'
=== target is u'../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/kilo/manifest'
--- specs/dev/kilo/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/kilo/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,23 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full.yaml delay=0 target=${MOJO_SERIES}-kilo
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
23verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
024
=== added symlink 'specs/dev/kilo/network.yaml'
=== target is u'../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/kilo/network_setup.py'
=== target is u'../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/kilo/repo-next'
=== target is u'../../../helper/collect/repo-next'
=== added symlink 'specs/dev/kilo/simple_os_checks.py'
=== target is u'../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/kilo/utils'
=== target is u'../../../helper/utils'
=== added directory 'specs/dev/neutronshuffle'
=== added file 'specs/dev/neutronshuffle/SPEC_INFO.txt'
--- specs/dev/neutronshuffle/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/neutronshuffle/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a non-ha deploy using the next charms and then runs tests
2to validate the deployment
03
=== added symlink 'specs/dev/neutronshuffle/check_juju.py'
=== target is u'../../../helper/tests/check_juju.py'
=== added symlink 'specs/dev/neutronshuffle/collect-next'
=== target is u'../../../helper/collect/collect-next'
=== added symlink 'specs/dev/neutronshuffle/full.yaml'
=== target is u'../../../helper/bundles/full.yaml'
=== added symlink 'specs/dev/neutronshuffle/image_setup.py'
=== target is u'../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/neutronshuffle/images.yaml'
=== target is u'../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/neutronshuffle/keystone_setup.py'
=== target is u'../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/neutronshuffle/keystone_users.yaml'
=== target is u'../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/neutronshuffle/manifest'
--- specs/dev/neutronshuffle/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/neutronshuffle/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,23 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
23verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
024
=== added symlink 'specs/dev/neutronshuffle/network.yaml'
=== target is u'../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/neutronshuffle/network_setup.py'
=== target is u'../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/neutronshuffle/repo-next'
=== target is u'../../../helper/collect/repo-next'
=== added symlink 'specs/dev/neutronshuffle/simple_os_checks.py'
=== target is u'../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/neutronshuffle/utils'
=== target is u'../../../helper/utils'
=== added directory 'specs/dev/next_l2pop'
=== added directory 'specs/dev/next_l2pop/icehouse'
=== added file 'specs/dev/next_l2pop/icehouse/SPEC_INFO.txt'
--- specs/dev/next_l2pop/icehouse/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/icehouse/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a non-ha deploy using the next charms and then runs tests
2to validate the deployment
03
=== added symlink 'specs/dev/next_l2pop/icehouse/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added symlink 'specs/dev/next_l2pop/icehouse/collect-next'
=== target is u'../../../../helper/collect/collect-next'
=== added file 'specs/dev/next_l2pop/icehouse/full.yaml'
--- specs/dev/next_l2pop/icehouse/full.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/icehouse/full.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,263 @@
1# vim: set ts=2 et:
2openstack-services:
3 services:
4 mysql:
5 charm: mysql
6 constraints: mem=1G
7 options:
8 dataset-size: 50%
9 rabbitmq-server:
10 charm: rabbitmq-server
11 constraints: mem=1G
12 ceph:
13 charm: ceph
14 num_units: 3
15 constraints: mem=1G
16 options:
17 monitor-count: 3
18 fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
19 monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
20 osd-devices: /dev/vdb
21 osd-reformat: "yes"
22 ephemeral-unmount: /mnt
23 keystone:
24 charm: keystone
25 constraints: mem=1G
26 options:
27 admin-password: openstack
28 admin-token: ubuntutesting
29 openstack-dashboard:
30 charm: openstack-dashboard
31 constraints: mem=1G
32 nova-compute:
33 charm: nova-compute
34 num_units: 3
35 constraints: mem=4G
36 options:
37 enable-live-migration: True
38 enable-resize: True
39 nova-cloud-controller:
40 charm: nova-cloud-controller
41 constraints: mem=1G
42 options:
43 network-manager: Quantum
44 quantum-security-groups: "yes"
45 neutron-gateway:
46 charm: quantum-gateway
47 constraints: mem=1G
48 options:
49 instance-mtu: 1300
50 cinder:
51 charm: cinder
52 options:
53 block-device: "None"
54 glance-api-version: 2
55 constraints": mem=1G
56 glance:
57 charm: glance
58 constraints: mem=1G
59 swift-proxy:
60 charm: swift-proxy
61 constraints: mem=1G
62 options:
63 zone-assignment: manual
64 replicas: 3
65 swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
66 swift-storage-z1:
67 charm: swift-storage
68 constraints: mem=1G
69 options:
70 zone: 1
71 block-device: vdb
72 overwrite: "true"
73 swift-storage-z2:
74 charm: swift-storage
75 constraints: mem=1G
76 options:
77 zone: 2
78 block-device: vdb
79 overwrite: "true"
80 swift-storage-z3:
81 charm: swift-storage
82 constraints: mem=1G
83 options:
84 zone: 3
85 block-device: vdb
86 overwrite: "true"
87 ceilometer:
88 charm: ceilometer
89 constraints: mem=1G
90 ceilometer-agent:
91 charm: ceilometer-agent
92 mongodb:
93 charm: mongodb
94 constraints: mem=1G
95 relations:
96 - [ keystone, mysql ]
97 - [ nova-cloud-controller, mysql ]
98 - [ nova-cloud-controller, rabbitmq-server ]
99 - [ nova-cloud-controller, glance ]
100 - [ nova-cloud-controller, keystone ]
101 - [ nova-compute, nova-cloud-controller ]
102 - [ nova-compute, mysql ]
103 - - nova-compute
104 - rabbitmq-server:amqp
105 - [ nova-compute, glance ]
106 - [ nova-compute, ceph ]
107 - [ glance, mysql ]
108 - [ glance, keystone ]
109 - [ glance, ceph ]
110 - [ glance, cinder ]
111 - [ cinder, mysql ]
112 - [ cinder, rabbitmq-server ]
113 - [ cinder, nova-cloud-controller ]
114 - [ cinder, keystone ]
115 - [ cinder, ceph ]
116 - [ neutron-gateway, mysql ]
117 - [ neutron-gateway, nova-cloud-controller ]
118 - [ openstack-dashboard, keystone ]
119 - [ swift-proxy, keystone ]
120 - [ swift-proxy, swift-storage-z1 ]
121 - [ swift-proxy, swift-storage-z2 ]
122 - [ swift-proxy, swift-storage-z3 ]
123 - [ "ceilometer:identity-service", keystone ]
124 - [ ceilometer, rabbitmq-server ]
125 - [ ceilometer, mongodb ]
126 - [ ceilometer-agent, nova-compute ]
127 - [ ceilometer-agent, ceilometer ]
128openstack-singlerabbit:
129 inherits: openstack-services
130 relations:
131 - [ "neutron-gateway:amqp", rabbitmq-server ]
132openstack-icehouse:
133 inherits: openstack-singlerabbit
134 services:
135 neutron-api:
136 charm: neutron-api
137 constraints: mem=1G
138 options:
139 l2-population: True
140 neutron-security-groups: True
141 neutron-openvswitch:
142 charm: neutron-openvswitch
143 relations:
144 - [ neutron-api, mysql ]
145 - [ neutron-api, rabbitmq-server ]
146 - [ neutron-api, nova-cloud-controller ]
147 - [ neutron-api, neutron-openvswitch ]
148 - [ neutron-api, keystone ]
149 - [ neutron-openvswitch, nova-compute ]
150 - [ neutron-openvswitch, rabbitmq-server ]
151openstack-icehouse-msg-split:
152 inherits: openstack-services
153 services:
154 neutron-api:
155 charm: neutron-api
156 constraints: mem=1G
157 options:
158 neutron-security-groups: True
159 neutron-openvswitch:
160 charm: neutron-openvswitch
161 rabbitmq-server-neutron:
162 charm: rabbitmq-server
163 constraints: mem=1G
164 relations:
165 - [ neutron-api, mysql ]
166 - [ neutron-api, rabbitmq-server-neutron ]
167 - [ neutron-api, nova-cloud-controller ]
168 - [ neutron-api, neutron-openvswitch ]
169 - [ neutron-api, keystone ]
170 - [ neutron-api, neutron-gateway ]
171 - [ neutron-openvswitch, nova-compute ]
172 - [ neutron-openvswitch, rabbitmq-server-neutron ]
173 - [ "neutron-gateway:amqp-nova", rabbitmq-server ]
174 - [ "neutron-gateway:amqp", rabbitmq-server-neutron ]
175# icehouse
176precise-icehouse:
177 inherits: openstack-singlerabbit
178 series: precise
179 overrides:
180 openstack-origin: cloud:precise-icehouse
181 source: cloud:precise-updates/icehouse
182precise-icehouse-proposed:
183 inherits: precise-icehouse
184 overrides:
185 openstack-origin: cloud:precise-icehouse/proposed
186 source: cloud:precise-updates/icehouse
187precise-icehouse-staging:
188 inherits: precise-icehouse
189 overrides:
190 openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
191 source: ppa:ubuntu-cloud-archive/icehouse-staging
192precise-icehouse-trunk:
193 inherits: precise-icehouse
194 overrides:
195 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
196 source: ppa:openstack-ubuntu-testing/icehouse
197trusty-icehouse:
198 inherits: openstack-icehouse
199 series: trusty
200trusty-icehouse-msg-split:
201 inherits: openstack-icehouse-msg-split
202 series: trusty
203trusty-icehouse-proposed:
204 inherits: trusty-icehouse
205 overrides:
206 source: proposed
207 openstack-origin: distro-proposed
208trusty-icehouse-trunk:
209 inherits: trusty-icehouse
210 overrides:
211 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
212 source: ppa:openstack-ubuntu-testing/icehouse
213 offline-compression: "no"
214# juno
215trusty-juno:
216 inherits: openstack-icehouse
217 series: trusty
218 overrides:
219 openstack-origin: cloud:trusty-juno
220 source: cloud:trusty-updates/juno
221trusty-juno-proposed:
222 inherits: trusty-juno
223 overrides:
224 openstack-origin: cloud:trusty-juno/proposed
225 source: cloud:trusty-proposed/juno
226trusty-juno-staging:
227 inherits: trusty-juno
228 overrides:
229 openstack-origin: ppa:ubuntu-cloud-archive/juno-staging
230 source: ppa:ubuntu-cloud-archive/juno-staging
231utopic-juno:
232 inherits: openstack-icehouse
233 series: utopic
234utopic-juno-proposed:
235 inherits: utopic-juno
236 overrides:
237 source: proposed
238 openstack-origin: distro-proposed
239# kilo
240trusty-kilo:
241 inherits: openstack-icehouse
242 series: trusty
243 overrides:
244 openstack-origin: cloud:trusty-kilo
245 source: cloud:trusty-kilo
246trusty-kilo-proposed:
247 inherits: trusty-kilo
248 overrides:
249 openstack-origin: cloud:trusty-kilo/proposed
250 source: cloud:trusty-proposed/kilo
251trusty-kilo-staging:
252 inherits: trusty-kilo
253 overrides:
254 openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
255 source: ppa:ubuntu-cloud-archive/kilo-staging
256vivid-kilo:
257 inherits: openstack-icehouse
258 series: vivid
259vivid-kilo-proposed:
260 inherits: vivid-kilo
261 overrides:
262 source: proposed
263 openstack-origin: distro-proposed
0264
=== added symlink 'specs/dev/next_l2pop/icehouse/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/next_l2pop/icehouse/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/next_l2pop/icehouse/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/next_l2pop/icehouse/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/next_l2pop/icehouse/manifest'
--- specs/dev/next_l2pop/icehouse/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/icehouse/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,23 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full.yaml delay=0 target=${MOJO_SERIES}-icehouse
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
23verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
024
=== added symlink 'specs/dev/next_l2pop/icehouse/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/next_l2pop/icehouse/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/next_l2pop/icehouse/repo-next'
=== target is u'../../../../helper/collect/repo-next'
=== added symlink 'specs/dev/next_l2pop/icehouse/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/next_l2pop/icehouse/utils'
=== target is u'../../../../helper/utils'
=== added directory 'specs/dev/next_l2pop/juno'
=== added file 'specs/dev/next_l2pop/juno/SPEC_INFO.txt'
--- specs/dev/next_l2pop/juno/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/juno/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a non-ha deploy using the next charms and then runs tests
2to validate the deployment
03
=== added symlink 'specs/dev/next_l2pop/juno/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added symlink 'specs/dev/next_l2pop/juno/collect-next'
=== target is u'../../../../helper/collect/collect-next'
=== added symlink 'specs/dev/next_l2pop/juno/full.yaml'
=== target is u'../../../../helper/bundles/full.yaml'
=== added symlink 'specs/dev/next_l2pop/juno/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/next_l2pop/juno/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/next_l2pop/juno/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/next_l2pop/juno/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/next_l2pop/juno/manifest'
--- specs/dev/next_l2pop/juno/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/juno/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,23 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full.yaml delay=0 target=${MOJO_SERIES}-juno
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
23verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
024
=== added symlink 'specs/dev/next_l2pop/juno/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/next_l2pop/juno/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/next_l2pop/juno/repo-next'
=== target is u'../../../../helper/collect/repo-next'
=== added symlink 'specs/dev/next_l2pop/juno/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/next_l2pop/juno/utils'
=== target is u'../../../../helper/utils'
=== added directory 'specs/dev/next_l2pop/kilo'
=== added file 'specs/dev/next_l2pop/kilo/SPEC_INFO.txt'
--- specs/dev/next_l2pop/kilo/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/kilo/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,2 @@
1This spec performs a non-ha deploy using the next charms and then runs tests
2to validate the deployment
03
=== added symlink 'specs/dev/next_l2pop/kilo/check_juju.py'
=== target is u'../../../../helper/tests/check_juju.py'
=== added symlink 'specs/dev/next_l2pop/kilo/collect-next'
=== target is u'../../../../helper/collect/collect-next'
=== added symlink 'specs/dev/next_l2pop/kilo/full.yaml'
=== target is u'../../../../helper/bundles/full.yaml'
=== added symlink 'specs/dev/next_l2pop/kilo/image_setup.py'
=== target is u'../../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/next_l2pop/kilo/images.yaml'
=== target is u'../../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/next_l2pop/kilo/keystone_setup.py'
=== target is u'../../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/next_l2pop/kilo/keystone_users.yaml'
=== target is u'../../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/next_l2pop/kilo/manifest'
--- specs/dev/next_l2pop/kilo/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/next_l2pop/kilo/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,23 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full.yaml delay=0 target=${MOJO_SERIES}-kilo
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
23verify config=simple_os_checks.py MACHINES='cirros:m1.tiny:1 precise:m1.small:1' CLOUDINIT_WAIT="300"
024
=== added symlink 'specs/dev/next_l2pop/kilo/network.yaml'
=== target is u'../../../../helper/setup/network.yaml'
=== added symlink 'specs/dev/next_l2pop/kilo/network_setup.py'
=== target is u'../../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/next_l2pop/kilo/repo-next'
=== target is u'../../../../helper/collect/repo-next'
=== added symlink 'specs/dev/next_l2pop/kilo/simple_os_checks.py'
=== target is u'../../../../helper/tests/simple_os_checks.py'
=== added symlink 'specs/dev/next_l2pop/kilo/utils'
=== target is u'../../../../helper/utils'
=== added directory 'specs/dev/vrrp_blog'
=== added file 'specs/dev/vrrp_blog/SPEC_INFO.txt'
--- specs/dev/vrrp_blog/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,1 @@
1This spec deploys and tests a deployment with neutron DVR enabled
02
=== added file 'specs/dev/vrrp_blog/bug1364215.py'
--- specs/dev/vrrp_blog/bug1364215.py 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/bug1364215.py 2015-05-08 09:54:56 +0000
@@ -0,0 +1,12 @@
1#!/usr/bin/python
2import sys
3import utils.mojo_utils as mojo_utils
4
5
6def main(argv):
7 for unit in mojo_utils.get_juju_units(service='neutron-gateway'):
8 cmd='sudo service neutron-plugin-openvswitch-agent restart'
9 mojo_utils.remote_run(unit, remote_cmd=cmd)
10
11if __name__ == "__main__":
12 sys.exit(main(sys.argv))
013
=== added symlink 'specs/dev/vrrp_blog/check_juju.py'
=== target is u'../../../helper/tests/check_juju.py'
=== added file 'specs/dev/vrrp_blog/collect-next'
--- specs/dev/vrrp_blog/collect-next 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/collect-next 2015-05-08 09:54:56 +0000
@@ -0,0 +1,19 @@
1nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
2neutron-api lp:~gnuoy/charms/trusty/neutron-api/order-overlay-type
3keystone lp:~openstack-charmers/charms/trusty/keystone/next
4glance lp:~openstack-charmers/charms/trusty/glance/next
5swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
6percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
7rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
8ceph lp:~openstack-charmers/charms/trusty/ceph/next
9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
11quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/conntrack
12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
15ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
16mongodb lp:charms/mongodb
17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
18heat lp:~openstack-charmers/charms/trusty/heat/next
19neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
020
=== added file 'specs/dev/vrrp_blog/full_vrrpha.yaml'
--- specs/dev/vrrp_blog/full_vrrpha.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/full_vrrpha.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,194 @@
1# vim: set ts=2 et:
2openstack-services:
3 services:
4 mysql:
5 charm: percona-cluster
6 constraints: mem=1G
7 options:
8 dataset-size: 50%
9 rabbitmq-server:
10 charm: rabbitmq-server
11 constraints: mem=1G
12 keystone:
13 charm: keystone
14 constraints: mem=1G
15 options:
16 admin-password: openstack
17 admin-token: ubuntutesting
18 openstack-dashboard:
19 charm: openstack-dashboard
20 constraints: mem=1G
21 nova-compute:
22 charm: nova-compute
23 num_units: 3
24 constraints: mem=4G
25 options:
26 enable-live-migration: True
27 enable-resize: True
28 nova-cloud-controller:
29 charm: nova-cloud-controller
30 constraints: mem=1G
31 options:
32 network-manager: Quantum
33 quantum-security-groups: "yes"
34 neutron-gateway:
35 charm: quantum-gateway
36 constraints: mem=1G
37 num_units: 3
38 options:
39 instance-mtu: 1300
40 cinder:
41 charm: cinder
42 options:
43 block-device: "None"
44 glance-api-version: 2
45 constraints": mem=1G
46 glance:
47 charm: glance
48 constraints: mem=1G
49 relations:
50 - [ keystone, mysql ]
51 - [ nova-cloud-controller, mysql ]
52 - [ nova-cloud-controller, rabbitmq-server ]
53 - [ nova-cloud-controller, glance ]
54 - [ nova-cloud-controller, keystone ]
55 - [ nova-compute, nova-cloud-controller ]
56 - [ nova-compute, mysql ]
57 - - nova-compute
58 - rabbitmq-server:amqp
59 - [ nova-compute, glance ]
60 - [ glance, mysql ]
61 - [ glance, keystone ]
62 - [ glance, cinder ]
63 - [ cinder, mysql ]
64 - [ cinder, rabbitmq-server ]
65 - [ cinder, nova-cloud-controller ]
66 - [ cinder, keystone ]
67 - [ neutron-gateway, mysql ]
68 - [ neutron-gateway, nova-cloud-controller ]
69 - [ openstack-dashboard, keystone ]
70openstack-singlerabbit:
71 inherits: openstack-services
72 relations:
73 - [ "neutron-gateway:amqp", rabbitmq-server ]
74openstack-icehouse:
75 inherits: openstack-singlerabbit
76 services:
77 neutron-api:
78 charm: neutron-api
79 constraints: mem=1G
80 options:
81 overlay-network-type: 'vxlan'
82 l2-population: False
83 neutron-security-groups: True
84 enable-dvr: False
85 enable-l3ha: False
86 neutron-openvswitch:
87 charm: neutron-openvswitch
88 relations:
89 - [ neutron-api, mysql ]
90 - [ neutron-api, rabbitmq-server ]
91 - [ neutron-api, nova-cloud-controller ]
92 - [ neutron-api, neutron-openvswitch ]
93 - [ neutron-api, keystone ]
94 - [ neutron-api, "neutron-gateway:neutron-plugin-api" ]
95 - [ neutron-openvswitch, nova-compute ]
96 - [ neutron-openvswitch, rabbitmq-server ]
97 - [ neutron-openvswitch, nova-cloud-controller ]
98openstack-icehouse-msg-split:
99 inherits: openstack-services
100 services:
101 neutron-api:
102 charm: neutron-api
103 constraints: mem=1G
104 options:
105 neutron-security-groups: True
106 neutron-openvswitch:
107 charm: neutron-openvswitch
108 rabbitmq-server-neutron:
109 charm: rabbitmq-server
110 constraints: mem=1G
111 relations:
112 - [ neutron-api, mysql ]
113 - [ neutron-api, rabbitmq-server-neutron ]
114 - [ neutron-api, nova-cloud-controller ]
115 - [ neutron-api, neutron-openvswitch ]
116 - [ neutron-api, keystone ]
117 - [ neutron-api, neutron-gateway ]
118 - [ neutron-openvswitch, nova-compute ]
119 - [ neutron-openvswitch, rabbitmq-server-neutron ]
120 - [ "neutron-gateway:amqp-nova", rabbitmq-server ]
121 - [ "neutron-gateway:amqp", rabbitmq-server-neutron ]
122# icehouse
123precise-icehouse:
124 inherits: openstack-singlerabbit
125 series: precise
126 overrides:
127 openstack-origin: cloud:precise-icehouse
128 source: cloud:precise-updates/icehouse
129precise-icehouse-proposed:
130 inherits: precise-icehouse
131 overrides:
132 openstack-origin: cloud:precise-icehouse/proposed
133 source: cloud:precise-updates/icehouse
134precise-icehouse-staging:
135 inherits: precise-icehouse
136 overrides:
137 openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
138 source: ppa:ubuntu-cloud-archive/icehouse-staging
139precise-icehouse-trunk:
140 inherits: precise-icehouse
141 overrides:
142 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
143 source: ppa:openstack-ubuntu-testing/icehouse
144trusty-icehouse:
145 inherits: openstack-icehouse
146 series: trusty
147trusty-icehouse-msg-split:
148 inherits: openstack-icehouse-msg-split
149 series: trusty
150trusty-icehouse-proposed:
151 inherits: trusty-icehouse
152 overrides:
153 source: proposed
154 openstack-origin: distro-proposed
155trusty-icehouse-trunk:
156 inherits: trusty-icehouse
157 overrides:
158 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
159 source: ppa:openstack-ubuntu-testing/icehouse
160 offline-compression: "no"
161# juno
162trusty-juno:
163 inherits: openstack-icehouse
164 series: trusty
165 overrides:
166 openstack-origin: cloud:trusty-juno
167 source: cloud:trusty-updates/juno
168trusty-juno-proposed:
169 inherits: trusty-juno
170 overrides:
171 openstack-origin: cloud:trusty-juno/proposed
172 source: cloud:trusty-proposed/juno
173trusty-juno-staging:
174 inherits: trusty-juno
175 overrides:
176 openstack-origin: ppa:ubuntu-cloud-archive/juno-staging
177 source: ppa:ubuntu-cloud-archive/juno-staging
178trusty-kilo:
179 inherits: openstack-icehouse
180 series: trusty
181 overrides:
182 openstack-origin: cloud:trusty-kilo
183 source: cloud:trusty-kilo
184utopic-juno:
185 inherits: openstack-icehouse
186 series: utopic
187utopic-juno-proposed:
188 inherits: utopic-juno
189 overrides:
190 source: proposed
191 openstack-origin: distro-proposed
192vivid-kilo:
193 inherits: openstack-icehouse
194 series: vivid
0195
=== added symlink 'specs/dev/vrrp_blog/image_setup.py'
=== target is u'../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/vrrp_blog/images.yaml'
=== target is u'../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/vrrp_blog/keystone_setup.py'
=== target is u'../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/vrrp_blog/keystone_users.yaml'
=== target is u'../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/vrrp_blog/manifest'
--- specs/dev/vrrp_blog/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,29 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full_vrrpha.yaml delay=0 target=trusty-kilo
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py NET_TOPOLOGY="vxlan"
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Restarting neutron-plugin-openvswitch-agent to work around Bug #1364215
23#script config=bug1364215.py
24
25# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
26verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300"
27
28# Test guest connectivity after stopping and starting gateway
29#verify config=test_vrrp_ha.py
030
=== added file 'specs/dev/vrrp_blog/network.yaml'
--- specs/dev/vrrp_blog/network.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/network.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,48 @@
1gre:
2 default_gateway: 10.5.0.1
3 end_floating_ip: 10.5.200.254
4 external_dns: 10.98.191.11
5 external_net_cidr: 10.5.0.0/16
6 external_net_name: ext_net
7 external_subnet_name: ext_net_subnet
8 network_type: gre
9 private_net_cidr: 192.168.21.0/24
10 router_name: provider-router
11 start_floating_ip: 10.5.150.0
12 dvr_enabled: False
13vxlan:
14 default_gateway: 10.5.0.1
15 end_floating_ip: 10.5.200.254
16 external_dns: 10.98.191.11
17 external_net_cidr: 10.5.0.0/16
18 external_net_name: ext_net
19 external_subnet_name: ext_net_subnet
20 network_type: vxlan
21 private_net_cidr: 192.168.21.0/24
22 router_name: provider-router
23 start_floating_ip: 10.5.150.0
24 dvr_enabled: False
25dvr:
26 default_gateway: 10.5.0.1
27 end_floating_ip: 10.5.200.254
28 external_dns: 10.98.191.11
29 external_net_cidr: 10.5.0.0/16
30 external_net_name: ext_net
31 external_subnet_name: ext_net_subnet
32 network_type: vxlan
33 private_net_cidr: 192.168.21.0/24
34 router_name: provider-router
35 start_floating_ip: 10.5.150.0
36 dvr_enabled: True
37vrrpha:
38 default_gateway: 10.5.0.1
39 end_floating_ip: 10.5.200.254
40 external_dns: 10.98.191.11
41 external_net_cidr: 10.5.0.0/16
42 external_net_name: ext_net
43 external_subnet_name: ext_net_subnet
44 network_type: vxlan
45 private_net_cidr: 192.168.21.0/24
46 router_name: provider-router
47 start_floating_ip: 10.5.150.0
48 dvr_enabled: False
049
=== added symlink 'specs/dev/vrrp_blog/network_setup.py'
=== target is u'../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/vrrp_blog/repo-next'
=== target is u'../../../helper/collect/repo-next'
=== added symlink 'specs/dev/vrrp_blog/simple_os_checks.py'
=== target is u'../../../helper/tests/simple_os_checks.py'
=== added file 'specs/dev/vrrp_blog/test_vrrp_ha.py'
--- specs/dev/vrrp_blog/test_vrrp_ha.py 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_blog/test_vrrp_ha.py 2015-05-08 09:54:56 +0000
@@ -0,0 +1,93 @@
1#!/usr/bin/python
2import time
3import sys
4import utils.mojo_utils as mojo_utils
5import utils.mojo_os_utils as mojo_os_utils
6import logging
7import argparse
8
9def get_cirros_server(cloud_auth):
10 logging.info('Looking for existing cirros server')
11 cirros_images = get_cirros_images(cloud_auth)
12 nova_client = mojo_os_utils.get_nova_client(cloud_auth)
13 for server in nova_client.servers.list():
14 if server.image['id'] in cirros_images:
15 return server
16
17def get_cirros_images(cloud_auth):
18 logging.info('Getting list of cirros images')
19 glance_client = mojo_os_utils.get_glance_client(cloud_auth)
20 cirros_images = []
21 for image in glance_client.images.list():
22 if 'cirros' in image.name:
23 cirros_images.append(image.id)
24 return cirros_images
25
26def check_server_state(nova_client, state, server_id=None, server_name=None, wait_time=120):
27 sleep_time = 2
28 if server_name:
29 server_id = nova_client.servers.find(name=server_name).id
30 server = nova_client.servers.find(id=server_id)
31 while server.status != state and wait_time > 0:
32 time.sleep(sleep_time)
33 server = nova_client.servers.find(id=server_id)
34 wait_time -= sleep_time
35 return server.status == state
36
37def check_neutron_agent_states(neutron_client, host_name, wait_time=120):
38 sleep_time = 2
39 statuses = [False]
40 while False in statuses and wait_time > 0:
41 time.sleep(sleep_time)
42 statuses = []
43 for agent in neutron_client.list_agents()['agents']:
44 if agent['host'] == host_name:
45 statuses.append(agent['admin_state_up'])
46 statuses.append(agent['alive'])
47 wait_time -= sleep_time
48 return not False in statuses
49
50
51def get_server_floating_ip(server):
52 for addr in server.addresses['private']:
53 if addr['OS-EXT-IPS:type'] == 'floating':
54 return addr['addr']
55
56def main(argv):
57 logging.basicConfig(level=logging.INFO)
58 logging.getLogger("urllib3").setLevel(logging.WARNING)
59 overcloud_novarc = mojo_utils.get_overcloud_auth()
60 undercloud_novarc = mojo_utils.get_undercload_auth()
61 under_novac = mojo_os_utils.get_nova_client(undercloud_novarc)
62 over_neutronc = mojo_os_utils.get_neutron_client(overcloud_novarc)
63 server = get_cirros_server(overcloud_novarc)
64 ip = get_server_floating_ip(server)
65 logging.info('Checking connectivity to cirros guest')
66 if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'):
67 raise Exception('Cirros guest inaccessable')
68 router = over_neutronc.list_routers(name='provider-router')['routers'][0]
69 l3_agents = over_neutronc.list_l3_agent_hosting_routers(router=router['id'])['agents']
70 logging.info('Checking there are multiple L3 agents running tenant router')
71 if len(l3_agents) != 2:
72 raise Exception('Unexpected number of l3 agents')
73 for agent in l3_agents:
74 neutron_gateway = under_novac.servers.find(name=agent['host'])
75 logging.info('Shutting down neutron gateway: ' + neutron_gateway.id)
76 neutron_gateway.stop()
77 if not check_server_state(under_novac, 'SHUTOFF', server_name=agent['host']):
78 raise Exception('Server failed to reach SHUTOFF state')
79 logging.info('Neutron gateway %s has shutdown' % (neutron_gateway.id))
80 logging.info('Checking connectivity to cirros guest')
81 if not mojo_os_utils.wait_for_ping(ip, 90):
82 raise Exception('Cirros guest inaccessable')
83 if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'):
84 raise Exception('Cirros guest inaccessable')
85 logging.info('Starting neutron gateway: ' + neutron_gateway.id)
86 neutron_gateway.start()
87 if not check_server_state(under_novac, 'ACTIVE', server_name=agent['host']):
88 raise Exception('Server failed to reach SHUTOFF state')
89 if not check_neutron_agent_states(over_neutronc, agent['host']):
90 raise Exception('Server agents failed to reach active state')
91
92if __name__ == "__main__":
93 sys.exit(main(sys.argv))
094
=== added symlink 'specs/dev/vrrp_blog/utils'
=== target is u'../../../helper/utils'
=== added directory 'specs/dev/vrrp_ha'
=== added file 'specs/dev/vrrp_ha/SPEC_INFO.txt'
--- specs/dev/vrrp_ha/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/SPEC_INFO.txt 2015-05-08 09:54:56 +0000
@@ -0,0 +1,1 @@
1This spec deploys and tests a deployment with neutron DVR enabled
02
=== added file 'specs/dev/vrrp_ha/bug1364215.py'
--- specs/dev/vrrp_ha/bug1364215.py 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/bug1364215.py 2015-05-08 09:54:56 +0000
@@ -0,0 +1,12 @@
1#!/usr/bin/python
2import sys
3import utils.mojo_utils as mojo_utils
4
5
6def main(argv):
7 for unit in mojo_utils.get_juju_units(service='neutron-gateway'):
8 cmd='sudo service neutron-plugin-openvswitch-agent restart'
9 mojo_utils.remote_run(unit, remote_cmd=cmd)
10
11if __name__ == "__main__":
12 sys.exit(main(sys.argv))
013
=== added symlink 'specs/dev/vrrp_ha/check_juju.py'
=== target is u'../../../helper/tests/check_juju.py'
=== added file 'specs/dev/vrrp_ha/collect-next'
--- specs/dev/vrrp_ha/collect-next 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/collect-next 2015-05-08 09:54:56 +0000
@@ -0,0 +1,19 @@
1nova-cloud-controller lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
2neutron-api lp:~james-page/charms/trusty/neutron-api/kilo-dvr
3keystone lp:~openstack-charmers/charms/trusty/keystone/next
4glance lp:~openstack-charmers/charms/trusty/glance/next
5swift-proxy lp:~openstack-charmers/charms/trusty/swift-proxy/next
6percona-cluster lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
7rabbitmq-server lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
8ceph lp:~openstack-charmers/charms/trusty/ceph/next
9openstack-dashboard lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
10nova-compute lp:~openstack-charmers/charms/trusty/nova-compute/next
11quantum-gateway lp:~gnuoy/charms/trusty/quantum-gateway/conntrack
12cinder lp:~openstack-charmers/charms/trusty/cinder/next
13swift-storage lp:~openstack-charmers/charms/trusty/swift-storage/next
14ceilometer lp:~openstack-charmers/charms/trusty/ceilometer/next
15ceilometer-agent lp:~openstack-charmers/charms/trusty/ceilometer-agent/next
16mongodb lp:charms/mongodb
17cinder-ceph lp:~openstack-charmers/charms/trusty/cinder-ceph/next
18heat lp:~openstack-charmers/charms/trusty/heat/next
19neutron-openvswitch lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
020
=== added file 'specs/dev/vrrp_ha/full_vrrpha.yaml'
--- specs/dev/vrrp_ha/full_vrrpha.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/full_vrrpha.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,194 @@
1# vim: set ts=2 et:
2openstack-services:
3 services:
4 mysql:
5 charm: percona-cluster
6 constraints: mem=1G
7 options:
8 dataset-size: 50%
9 rabbitmq-server:
10 charm: rabbitmq-server
11 constraints: mem=1G
12 keystone:
13 charm: keystone
14 constraints: mem=1G
15 options:
16 admin-password: openstack
17 admin-token: ubuntutesting
18 openstack-dashboard:
19 charm: openstack-dashboard
20 constraints: mem=1G
21 nova-compute:
22 charm: nova-compute
23 num_units: 3
24 constraints: mem=4G
25 options:
26 enable-live-migration: True
27 enable-resize: True
28 nova-cloud-controller:
29 charm: nova-cloud-controller
30 constraints: mem=1G
31 options:
32 network-manager: Quantum
33 quantum-security-groups: "yes"
34 neutron-gateway:
35 charm: quantum-gateway
36 constraints: mem=1G
37 num_units: 2
38 options:
39 instance-mtu: 1300
40 cinder:
41 charm: cinder
42 options:
43 block-device: "None"
44 glance-api-version: 2
45 constraints": mem=1G
46 glance:
47 charm: glance
48 constraints: mem=1G
49 relations:
50 - [ keystone, mysql ]
51 - [ nova-cloud-controller, mysql ]
52 - [ nova-cloud-controller, rabbitmq-server ]
53 - [ nova-cloud-controller, glance ]
54 - [ nova-cloud-controller, keystone ]
55 - [ nova-compute, nova-cloud-controller ]
56 - [ nova-compute, mysql ]
57 - - nova-compute
58 - rabbitmq-server:amqp
59 - [ nova-compute, glance ]
60 - [ glance, mysql ]
61 - [ glance, keystone ]
62 - [ glance, cinder ]
63 - [ cinder, mysql ]
64 - [ cinder, rabbitmq-server ]
65 - [ cinder, nova-cloud-controller ]
66 - [ cinder, keystone ]
67 - [ neutron-gateway, mysql ]
68 - [ neutron-gateway, nova-cloud-controller ]
69 - [ openstack-dashboard, keystone ]
70openstack-singlerabbit:
71 inherits: openstack-services
72 relations:
73 - [ "neutron-gateway:amqp", rabbitmq-server ]
74openstack-icehouse:
75 inherits: openstack-singlerabbit
76 services:
77 neutron-api:
78 charm: neutron-api
79 constraints: mem=1G
80 options:
81 overlay-network-type: 'vxlan'
82 l2-population: False
83 neutron-security-groups: True
84 enable-dvr: False
85 enable-l3ha: True
86 neutron-openvswitch:
87 charm: neutron-openvswitch
88 relations:
89 - [ neutron-api, mysql ]
90 - [ neutron-api, rabbitmq-server ]
91 - [ neutron-api, nova-cloud-controller ]
92 - [ neutron-api, neutron-openvswitch ]
93 - [ neutron-api, keystone ]
94 - [ neutron-api, "neutron-gateway:neutron-plugin-api" ]
95 - [ neutron-openvswitch, nova-compute ]
96 - [ neutron-openvswitch, rabbitmq-server ]
97 - [ neutron-openvswitch, nova-cloud-controller ]
98openstack-icehouse-msg-split:
99 inherits: openstack-services
100 services:
101 neutron-api:
102 charm: neutron-api
103 constraints: mem=1G
104 options:
105 neutron-security-groups: True
106 neutron-openvswitch:
107 charm: neutron-openvswitch
108 rabbitmq-server-neutron:
109 charm: rabbitmq-server
110 constraints: mem=1G
111 relations:
112 - [ neutron-api, mysql ]
113 - [ neutron-api, rabbitmq-server-neutron ]
114 - [ neutron-api, nova-cloud-controller ]
115 - [ neutron-api, neutron-openvswitch ]
116 - [ neutron-api, keystone ]
117 - [ neutron-api, neutron-gateway ]
118 - [ neutron-openvswitch, nova-compute ]
119 - [ neutron-openvswitch, rabbitmq-server-neutron ]
120 - [ "neutron-gateway:amqp-nova", rabbitmq-server ]
121 - [ "neutron-gateway:amqp", rabbitmq-server-neutron ]
122# icehouse
123precise-icehouse:
124 inherits: openstack-singlerabbit
125 series: precise
126 overrides:
127 openstack-origin: cloud:precise-icehouse
128 source: cloud:precise-updates/icehouse
129precise-icehouse-proposed:
130 inherits: precise-icehouse
131 overrides:
132 openstack-origin: cloud:precise-icehouse/proposed
133 source: cloud:precise-updates/icehouse
134precise-icehouse-staging:
135 inherits: precise-icehouse
136 overrides:
137 openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
138 source: ppa:ubuntu-cloud-archive/icehouse-staging
139precise-icehouse-trunk:
140 inherits: precise-icehouse
141 overrides:
142 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
143 source: ppa:openstack-ubuntu-testing/icehouse
144trusty-icehouse:
145 inherits: openstack-icehouse
146 series: trusty
147trusty-icehouse-msg-split:
148 inherits: openstack-icehouse-msg-split
149 series: trusty
150trusty-icehouse-proposed:
151 inherits: trusty-icehouse
152 overrides:
153 source: proposed
154 openstack-origin: distro-proposed
155trusty-icehouse-trunk:
156 inherits: trusty-icehouse
157 overrides:
158 openstack-origin: ppa:openstack-ubuntu-testing/icehouse
159 source: ppa:openstack-ubuntu-testing/icehouse
160 offline-compression: "no"
161# juno
162trusty-juno:
163 inherits: openstack-icehouse
164 series: trusty
165 overrides:
166 openstack-origin: cloud:trusty-juno
167 source: cloud:trusty-updates/juno
168trusty-juno-proposed:
169 inherits: trusty-juno
170 overrides:
171 openstack-origin: cloud:trusty-juno/proposed
172 source: cloud:trusty-proposed/juno
173trusty-juno-staging:
174 inherits: trusty-juno
175 overrides:
176 openstack-origin: ppa:ubuntu-cloud-archive/juno-staging
177 source: ppa:ubuntu-cloud-archive/juno-staging
178trusty-kilo:
179 inherits: openstack-icehouse
180 series: trusty
181 overrides:
182 openstack-origin: cloud:trusty-kilo
183 source: cloud:trusty-kilo
184utopic-juno:
185 inherits: openstack-icehouse
186 series: utopic
187utopic-juno-proposed:
188 inherits: utopic-juno
189 overrides:
190 source: proposed
191 openstack-origin: distro-proposed
192vivid-kilo:
193 inherits: openstack-icehouse
194 series: vivid
0195
=== added symlink 'specs/dev/vrrp_ha/image_setup.py'
=== target is u'../../../helper/setup/image_setup.py'
=== added symlink 'specs/dev/vrrp_ha/images.yaml'
=== target is u'../../../helper/setup/images.yaml'
=== added symlink 'specs/dev/vrrp_ha/keystone_setup.py'
=== target is u'../../../helper/setup/keystone_setup.py'
=== added symlink 'specs/dev/vrrp_ha/keystone_users.yaml'
=== target is u'../../../helper/setup/keystone_users.yaml'
=== added file 'specs/dev/vrrp_ha/manifest'
--- specs/dev/vrrp_ha/manifest 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/manifest 2015-05-08 09:54:56 +0000
@@ -0,0 +1,29 @@
1# Collect the charm branches from Launchpad
2collect config=collect-next
3
4# Copy the branches to the deployment directory
5repo config=repo-next
6
7# Use juju deployer with full.yaml bundle
8deploy config=full_vrrpha.yaml delay=0 target=trusty-kilo
9
10# Check juju statuses are green and that hooks have finished
11verify config=check_juju.py
12
13# Create sdn on overcloud
14script config=network_setup.py NET_TOPOLOGY="vrrpha"
15
16# Setup glance images
17script config=image_setup.py
18
19# Setup keystone users
20script config=keystone_setup.py
21
22# Restarting neutron-plugin-openvswitch-agent to work around Bug #1364215
23#script config=bug1364215.py
24
25# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
26verify config=simple_os_checks.py MACHINES='cirros:m1.small:1' CLOUDINIT_WAIT="300"
27
28# Test guest connectivity after stopping and starting gateway
29verify config=test_vrrp_ha.py
030
=== added file 'specs/dev/vrrp_ha/network.yaml'
--- specs/dev/vrrp_ha/network.yaml 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/network.yaml 2015-05-08 09:54:56 +0000
@@ -0,0 +1,36 @@
1gre:
2 default_gateway: 10.5.0.1
3 end_floating_ip: 10.5.200.254
4 external_dns: 10.98.191.11
5 external_net_cidr: 10.5.0.0/16
6 external_net_name: ext_net
7 external_subnet_name: ext_net_subnet
8 network_type: gre
9 private_net_cidr: 192.168.21.0/24
10 router_name: provider-router
11 start_floating_ip: 10.5.150.0
12 dvr_enabled: False
13dvr:
14 default_gateway: 10.5.0.1
15 end_floating_ip: 10.5.200.254
16 external_dns: 10.98.191.11
17 external_net_cidr: 10.5.0.0/16
18 external_net_name: ext_net
19 external_subnet_name: ext_net_subnet
20 network_type: vxlan
21 private_net_cidr: 192.168.21.0/24
22 router_name: provider-router
23 start_floating_ip: 10.5.150.0
24 dvr_enabled: True
25vrrpha:
26 default_gateway: 10.5.0.1
27 end_floating_ip: 10.5.200.254
28 external_dns: 10.98.191.11
29 external_net_cidr: 10.5.0.0/16
30 external_net_name: ext_net
31 external_subnet_name: ext_net_subnet
32 network_type: vxlan
33 private_net_cidr: 192.168.21.0/24
34 router_name: provider-router
35 start_floating_ip: 10.5.150.0
36 dvr_enabled: False
037
=== added symlink 'specs/dev/vrrp_ha/network_setup.py'
=== target is u'../../../helper/setup/network_setup.py'
=== added symlink 'specs/dev/vrrp_ha/repo-next'
=== target is u'../../../helper/collect/repo-next'
=== added symlink 'specs/dev/vrrp_ha/simple_os_checks.py'
=== target is u'../../../helper/tests/simple_os_checks.py'
=== added file 'specs/dev/vrrp_ha/test_vrrp_ha.py'
--- specs/dev/vrrp_ha/test_vrrp_ha.py 1970-01-01 00:00:00 +0000
+++ specs/dev/vrrp_ha/test_vrrp_ha.py 2015-05-08 09:54:56 +0000
@@ -0,0 +1,93 @@
1#!/usr/bin/python
2import time
3import sys
4import utils.mojo_utils as mojo_utils
5import utils.mojo_os_utils as mojo_os_utils
6import logging
7import argparse
8
9def get_cirros_server(cloud_auth):
10 logging.info('Looking for existing cirros server')
11 cirros_images = get_cirros_images(cloud_auth)
12 nova_client = mojo_os_utils.get_nova_client(cloud_auth)
13 for server in nova_client.servers.list():
14 if server.image['id'] in cirros_images:
15 return server
16
17def get_cirros_images(cloud_auth):
18 logging.info('Getting list of cirros images')
19 glance_client = mojo_os_utils.get_glance_client(cloud_auth)
20 cirros_images = []
21 for image in glance_client.images.list():
22 if 'cirros' in image.name:
23 cirros_images.append(image.id)
24 return cirros_images
25
26def check_server_state(nova_client, state, server_id=None, server_name=None, wait_time=120):
27 sleep_time = 2
28 if server_name:
29 server_id = nova_client.servers.find(name=server_name).id
30 server = nova_client.servers.find(id=server_id)
31 while server.status != state and wait_time > 0:
32 time.sleep(sleep_time)
33 server = nova_client.servers.find(id=server_id)
34 wait_time -= sleep_time
35 return server.status == state
36
37def check_neutron_agent_states(neutron_client, host_name, wait_time=120):
38 sleep_time = 2
39 statuses = [False]
40 while False in statuses and wait_time > 0:
41 time.sleep(sleep_time)
42 statuses = []
43 for agent in neutron_client.list_agents()['agents']:
44 if agent['host'] == host_name:
45 statuses.append(agent['admin_state_up'])
46 statuses.append(agent['alive'])
47 wait_time -= sleep_time
48 return not False in statuses
49
50
51def get_server_floating_ip(server):
52 for addr in server.addresses['private']:
53 if addr['OS-EXT-IPS:type'] == 'floating':
54 return addr['addr']
55
56def main(argv):
57 logging.basicConfig(level=logging.INFO)
58 logging.getLogger("urllib3").setLevel(logging.WARNING)
59 overcloud_novarc = mojo_utils.get_overcloud_auth()
60 undercloud_novarc = mojo_utils.get_undercload_auth()
61 under_novac = mojo_os_utils.get_nova_client(undercloud_novarc)
62 over_neutronc = mojo_os_utils.get_neutron_client(overcloud_novarc)
63 server = get_cirros_server(overcloud_novarc)
64 ip = get_server_floating_ip(server)
65 logging.info('Checking connectivity to cirros guest')
66 if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'):
67 raise Exception('Cirros guest inaccessable')
68 router = over_neutronc.list_routers(name='provider-router')['routers'][0]
69 l3_agents = over_neutronc.list_l3_agent_hosting_routers(router=router['id'])['agents']
70 logging.info('Checking there are multiple L3 agents running tenant router')
71 if len(l3_agents) != 2:
72 raise Exception('Unexpected number of l3 agents')
73 for agent in l3_agents:
74 neutron_gateway = under_novac.servers.find(name=agent['host'])
75 logging.info('Shutting down neutron gateway: ' + neutron_gateway.id)
76 neutron_gateway.stop()
77 if not check_server_state(under_novac, 'SHUTOFF', server_name=agent['host']):
78 raise Exception('Server failed to reach SHUTOFF state')
79 logging.info('Neutron gateway %s has shutdown' % (neutron_gateway.id))
80 logging.info('Checking connectivity to cirros guest')
81 if not mojo_os_utils.wait_for_ping(ip, 90):
82 raise Exception('Cirros guest inaccessable')
83 if not mojo_os_utils.ssh_test('cirros', ip, server.name, password='cubswin:)'):
84 raise Exception('Cirros guest inaccessable')
85 logging.info('Starting neutron gateway: ' + neutron_gateway.id)
86 neutron_gateway.start()
87 if not check_server_state(under_novac, 'ACTIVE', server_name=agent['host']):
88 raise Exception('Server failed to reach SHUTOFF state')
89 if not check_neutron_agent_states(over_neutronc, agent['host']):
90 raise Exception('Server agents failed to reach active state')
91
92if __name__ == "__main__":
93 sys.exit(main(sys.argv))
094
=== added symlink 'specs/dev/vrrp_ha/utils'
=== target is u'../../../helper/utils'

Subscribers

People subscribed via source and target branches