Merge lp:~thedac/openstack-mojo-specs/odl into lp:openstack-mojo-specs

Proposed by David Ames on 2016-05-10
Status: Merged
Merged at revision: 261
Proposed branch: lp:~thedac/openstack-mojo-specs/odl
Merge into: lp:openstack-mojo-specs
Diff against target: 219 lines (+159/-0)
4 files modified
helper/bundles/ovs-odl.yaml (+124/-0)
helper/collect/collect-ovs (+14/-0)
specs/full_stack/odl/liberty/SPEC_INFO.txt (+2/-0)
specs/full_stack/odl/liberty/manifest (+19/-0)
To merge this branch: bzr merge lp:~thedac/openstack-mojo-specs/odl
Reviewer Review Type Date Requested Status
Liam Young 2016-05-10 Approve on 2016-05-11
Review via email: mp+294311@code.launchpad.net

Description of the Change

Add OpenDayLight Deploy

To post a comment you must log in.

charm_lint_check #2537 mojo-openstack-specs for thedac mp294311
    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/16353772/
Build: http://10.245.162.36:8080/job/charm_lint_check/2537/

lp:~thedac/openstack-mojo-specs/odl updated on 2016-05-11
262. By David Ames on 2016-05-11

Lint fixes

charm_lint_check #2547 mojo-openstack-specs for thedac mp294311
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/2547/

Liam Young (gnuoy) wrote :

LGTM, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'helper/bundles/ovs-odl.yaml'
2--- helper/bundles/ovs-odl.yaml 1970-01-01 00:00:00 +0000
3+++ helper/bundles/ovs-odl.yaml 2016-05-11 14:49:16 +0000
4@@ -0,0 +1,124 @@
5+openstack-services:
6+ series: trusty
7+ services:
8+ neutron-gateway:
9+ branch: https://github.com/openstack/charm-neutron-gateway
10+ options:
11+ plugin: ovs-odl
12+ instance-mtu: 1400
13+ nova-compute:
14+ branch: https://github.com/openstack/charm-nova-compute
15+ num_units: 3
16+ constraints: mem=4G
17+ options:
18+ enable-live-migration: False
19+ manage-neutron-plugin-legacy-mode: False
20+ neutron-api:
21+ branch: https://github.com/openstack/charm-neutron-api
22+ options:
23+ neutron-security-groups: True
24+ manage-neutron-plugin-legacy-mode: False
25+ neutron-api-odl:
26+ branch: https://github.com/openstack/charm-neutron-api-odl
27+ options:
28+ overlay-network-type: 'vxlan gre'
29+ security-groups: True
30+ odl-controller:
31+ branch: https://github.com/openstack/charm-odl-controller
32+ options:
33+ install-url: "http://10.245.161.162/swift/v1/opendaylight/distribution-karaf-0.2.3-Helium-SR3.tar.gz"
34+ http-proxy: "http://squid.internal:3128"
35+ https-proxy: "http://squid.internal:3128"
36+ openvswitch-odl:
37+ branch: https://github.com/openstack/charm-openvswitch-odl
38+ mysql:
39+ branch: lp:charms/trusty/mysql
40+ options:
41+ dataset-size: 50%
42+ rabbitmq-server:
43+ branch: https://github.com/openstack/charm-rabbitmq-server;stable/16.04
44+ keystone:
45+ branch: https://github.com/openstack/charm-keystone
46+ options:
47+ admin-password: openstack
48+ admin-token: ubuntutesting
49+ openstack-dashboard:
50+ branch: https://github.com/openstack/charm-openstack-dashboard
51+ nova-cloud-controller:
52+ branch: https://github.com/openstack/charm-nova-cloud-controller
53+ options:
54+ network-manager: Neutron
55+ glance:
56+ branch: https://github.com/openstack/charm-glance
57+ relations:
58+ - ['neutron-api:neutron-plugin-api-subordinate', 'neutron-api-odl:neutron-plugin-api-subordinate']
59+ - ['nova-compute:neutron-plugin', 'openvswitch-odl:neutron-plugin']
60+ - ['neutron-gateway', 'openvswitch-odl']
61+ - ['openvswitch-odl:ovsdb-manager', 'odl-controller:ovsdb-manager']
62+ - ['neutron-api-odl:odl-controller', 'odl-controller:controller-api']
63+ - ['keystone:shared-db', 'mysql:shared-db']
64+ - ['nova-cloud-controller:shared-db', 'mysql:shared-db']
65+ - ['nova-cloud-controller:amqp', 'rabbitmq-server:amqp']
66+ - ['nova-cloud-controller:image-service', 'glance:image-service']
67+ - ['nova-cloud-controller:identity-service', 'keystone:identity-service']
68+ - ['nova-compute:cloud-compute', 'nova-cloud-controller:cloud-compute']
69+ - ['nova-compute:amqp', 'rabbitmq-server:amqp']
70+ - ['nova-compute:image-service', 'glance:image-service']
71+ - ['glance:shared-db', 'mysql:shared-db']
72+ - ['glance:identity-service', 'keystone:identity-service']
73+ - ['glance:amqp', 'rabbitmq-server:amqp']
74+ - ['neutron-api:shared-db', 'mysql:shared-db']
75+ - ['neutron-api:amqp', 'rabbitmq-server:amqp']
76+ - ['neutron-api:neutron-api', 'nova-cloud-controller:neutron-api']
77+ - ['neutron-api:identity-service', 'keystone:identity-service']
78+ - ['neutron-gateway:amqp', 'rabbitmq-server:amqp']
79+ - ['neutron-gateway:neutron-plugin-api', 'neutron-api:neutron-plugin-api']
80+ - ['neutron-gateway:quantum-network-service', 'nova-cloud-controller:quantum-network-service']
81+trusty-liberty:
82+ inherits: openstack-services
83+ overrides:
84+ openstack-origin: cloud:trusty-liberty
85+ source: cloud:trusty-liberty
86+trusty-liberty-lithium:
87+ inherits: trusty-liberty
88+ overrides:
89+ install-url: "http://10.245.161.162/swift/v1/opendaylight/distribution-karaf-0.3.3-Lithium-SR3.tar.gz"
90+ profile: openvswitch-odl-lithium
91+trusty-liberty-beryllium:
92+ inherits: trusty-liberty
93+ overrides:
94+ install-url: "http://10.245.161.162/swift/v1/opendaylight/distribution-karaf-0.4.1-Beryllium-SR1.tar.gz"
95+ profile: openvswitch-odl-beryllium
96+xenial-mitaka-beryllium:
97+ inherits: trusty-liberty-beryllium
98+ series: xenial
99+ overrides:
100+ openstack-origin: distro
101+ source: distro
102+trusty-kilo:
103+ inherits: openstack-services
104+ overrides:
105+ openstack-origin: cloud:trusty-kilo
106+trusty-juno:
107+ inherits: openstack-services
108+ overrides:
109+ openstack-origin: cloud:trusty-juno
110+trusty-icehouse:
111+ inherits: openstack-services
112+trusty-icehouse-cisco:
113+ inherits: trusty-icehouse
114+ services:
115+ odl-controller:
116+ options:
117+ install-url: "http://10.245.161.162/swift/v1/opendaylight/distribution-karaf-1.1.0-10009.tar.gz"
118+ profile: 'cisco-vpp'
119+ nova-compute:
120+ options:
121+ hugepages: '70%'
122+ neutron-api-odl:
123+ options:
124+ security-groups: False
125+ overrides:
126+ openstack-origin: ppa:cisco-vpp/icehouse-proposed
127+ relations:
128+ - [ 'odl-controller:controller-api', 'openvswitch-odl:controller-api' ]
129
130=== added file 'helper/collect/collect-ovs'
131--- helper/collect/collect-ovs 1970-01-01 00:00:00 +0000
132+++ helper/collect/collect-ovs 2016-05-11 14:49:16 +0000
133@@ -0,0 +1,14 @@
134+glance git://github.com/openstack/charm-glance
135+keystone git://github.com/openstack/charm-keystone
136+mysql lp:charms/trusty/mysql
137+neutron-api git://github.com/openstack/charm-neutron-api
138+neutron-gateway git://github.com/openstack/charm-neutron-gateway
139+neutron-openvswitch git://github.com/openstack/charm-neutron-openvswitch
140+nova-cloud-controller git://github.com/openstack/charm-nova-cloud-controller
141+nova-compute git://github.com/openstack/charm-nova-compute
142+openstack-dashboard git://github.com/openstack/charm-openstack-dashboard
143+rabbitmq-server git://github.com/openstack/charm-rabbitmq-server
144+openvswitch-odl git://github.com/openstack/charm-openvswitch-odl
145+neutron-api-odl git://github.com/openstack/charm-neutron-api-odl
146+odl-controller git://github.com/openstack/charm-odl-controller
147+
148
149=== added directory 'specs/full_stack/odl'
150=== added directory 'specs/full_stack/odl/liberty'
151=== added file 'specs/full_stack/odl/liberty/SPEC_INFO.txt'
152--- specs/full_stack/odl/liberty/SPEC_INFO.txt 1970-01-01 00:00:00 +0000
153+++ specs/full_stack/odl/liberty/SPEC_INFO.txt 2016-05-11 14:49:16 +0000
154@@ -0,0 +1,2 @@
155+This spec performs a non-ha deploy using the next charms and then runs tests
156+to validate the deployment
157
158=== added symlink 'specs/full_stack/odl/liberty/collect-ovs'
159=== target is u'../../../../helper/collect/collect-ovs'
160=== added symlink 'specs/full_stack/odl/liberty/image_setup.py'
161=== target is u'../../../../helper/setup/image_setup.py'
162=== added symlink 'specs/full_stack/odl/liberty/images.yaml'
163=== target is u'../../../../helper/setup/images.yaml'
164=== added symlink 'specs/full_stack/odl/liberty/keystone_setup.py'
165=== target is u'../../../../helper/setup/keystone_setup.py'
166=== added symlink 'specs/full_stack/odl/liberty/keystone_users.yaml'
167=== target is u'../../../../helper/setup/keystone_users.yaml'
168=== added file 'specs/full_stack/odl/liberty/manifest'
169--- specs/full_stack/odl/liberty/manifest 1970-01-01 00:00:00 +0000
170+++ specs/full_stack/odl/liberty/manifest 2016-05-11 14:49:16 +0000
171@@ -0,0 +1,19 @@
172+# Collect the charm branches from Launchpad
173+collect config=collect-ovs
174+
175+# Use juju deployer with full.yaml bundle
176+deploy config=ovs-odl.yaml delay=0 wait=True target=${MOJO_SERIES}-liberty-beryllium
177+
178+# Create sdn on overcloud
179+script config=network_setup.py
180+
181+# Setup glance images
182+script config=image_setup.py
183+
184+# Setup keystone users
185+script config=keystone_setup.py
186+
187+# Create 1 * tiny cirros and 1 * small precise instances on the overcloud
188+verify config=simple_os_checks.py MACHINES='trusty:m1.small:1' CLOUDINIT_WAIT="300"
189+
190+# Success
191
192=== added symlink 'specs/full_stack/odl/liberty/network.yaml'
193=== target is u'../../../../helper/setup/network.yaml'
194=== added symlink 'specs/full_stack/odl/liberty/network_setup.py'
195=== target is u'../../../../helper/setup/network_setup.py'
196=== added symlink 'specs/full_stack/odl/liberty/ovs-odl.yaml'
197=== target is u'../../../../helper/bundles/ovs-odl.yaml'
198=== added symlink 'specs/full_stack/odl/liberty/simple_os_checks.py'
199=== target is u'../../../../helper/tests/simple_os_checks.py'
200=== added symlink 'specs/full_stack/odl/liberty/utils'
201=== target is u'../../../../helper/utils'
202=== removed symlink 'specs/full_stack/stable_to_next_ha/icehouse/haphase1.yaml'
203=== target was u'../../../../helper/bundles/haphase1.yaml'
204=== removed symlink 'specs/full_stack/stable_to_next_ha/icehouse/haphase2.yaml'
205=== target was u'../../../../helper/bundles/haphase2.yaml'
206=== removed symlink 'specs/full_stack/stable_to_next_ha/icehouse/set_vips.py'
207=== target was u'../../../../helper/setup/set_vips.py'
208=== removed symlink 'specs/full_stack/stable_to_next_ha/kilo/haphase1.yaml'
209=== target was u'../../../../helper/bundles/haphase1.yaml'
210=== removed symlink 'specs/full_stack/stable_to_next_ha/kilo/haphase2.yaml'
211=== target was u'../../../../helper/bundles/haphase2.yaml'
212=== removed symlink 'specs/full_stack/stable_to_next_ha/kilo/set_vips.py'
213=== target was u'../../../../helper/setup/set_vips.py'
214=== removed symlink 'specs/full_stack/stable_to_next_ha/liberty/haphase1.yaml'
215=== target was u'../../../../helper/bundles/haphase1.yaml'
216=== removed symlink 'specs/full_stack/stable_to_next_ha/liberty/haphase2.yaml'
217=== target was u'../../../../helper/bundles/haphase2.yaml'
218=== removed symlink 'specs/full_stack/stable_to_next_ha/liberty/set_vips.py'
219=== target was u'../../../../helper/setup/set_vips.py'

Subscribers

People subscribed via source and target branches