OpenContrail Libery bug fixes.
[joid.git] / ci / opencontrail / juju-deployer / ovs-opencontrail-nonha.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "cs:trusty/ubuntu"
7       num_units: 1
8       constraints: tags=control
9     nodes-compute:
10       charm: "cs:trusty/ubuntu"
11       num_units: 1
12       constraints: tags=compute
13     ntp:
14       charm: "cs:trusty/ntp"
15       options:
16         source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org"
17         auto_peers: false
18     zookeeper:
19       branch: lp:~charmers/charms/precise/zookeeper/trunk
20       series: precise
21       to:
22         - "lxc:nodes-api=0"
23     cassandra:
24       branch: lp:~stub/charms/trusty/cassandra/noauthentication
25       to:
26         - "lxc:nodes-api=0"
27       options:
28         authenticator: AllowAllAuthenticator
29   relations:
30     - - "ntp:juju-info"
31       - "nodes-api:juju-info"
32     - - "ntp:juju-info"
33       - "nodes-compute:juju-info"
34 openstack-phase2:
35   inherits: openstack-phase1
36   services:
37     mysql:
38       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
39       num_units: 1
40       options:
41         dataset-size: 2G
42         max-connections: 10000
43       to:
44         - "lxc:nodes-api=0"
45     mongodb:
46       charm: "cs:trusty/mongodb"
47       num_units: 1
48       to:
49         - "lxc:nodes-api=0"
50     ceilometer:
51       branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
52       num_units: 1
53       to:
54         - "lxc:nodes-api=0"
55     ceilometer-agent:
56       branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
57     heat:
58       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
59       to:
60         - "lxc:nodes-api=0"
61     ceph:
62       branch: "lp:~openstack-charmers/charms/trusty/ceph/next"
63       num_units: 1
64       options:
65         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
66         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
67         osd-devices: ""
68         monitor-count: 1
69 #        osd-reformat: 'no'
70 #        ceph-cluster-network: 192.168.0.0/24
71 #        ceph-public-network: 192.168.0.0/24
72       to:
73         - "lxc:nodes-api=0"
74     ceph-osd:
75       branch: "lp:~openstack-charmers/charms/trusty/ceph-osd/next"
76       num_units: 1
77       options:
78         osd-devices: /srv
79         osd-reformat: 'yes'
80       to:
81         - "nodes-compute=0"
82     ceph-radosgw:
83       branch: lp:~openstack-charmers/charms/trusty/ceph-radosgw/next
84       num_units: 1
85       options:
86         use-embedded-webserver: true
87         operator-roles: "Member,admin"
88       to:
89         - "lxc:nodes-api=0"
90     cinder:
91       branch: lp:~openstack-charmers/charms/trusty/cinder/next
92       num_units: 1
93       options:
94         block-device: None
95         glance-api-version: 2
96 #        ha-mcastport: 5401
97       to:
98         - "lxc:nodes-api=0"
99     cinder-ceph:
100       branch: lp:~openstack-charmers/charms/trusty/cinder-ceph/next
101     rabbitmq-server:
102       branch: lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
103       num_units: 1
104       to:
105         - "lxc:nodes-api=0"
106     keystone:
107       branch: lp:~openstack-charmers/charms/trusty/keystone/next
108       num_units: 1
109       options:
110         admin-password: openstack
111         admin-token: admin
112       to:
113         - "lxc:nodes-api=0"
114     openstack-dashboard:
115       branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
116       num_units: 1
117       options:
118         secret: admin
119         webroot: /
120       to:
121         - "lxc:nodes-api=0"
122     nova-compute:
123       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
124       num_units: 1
125       options:
126         manage-neutron-plugin-legacy-mode: False
127       to:
128         - "nodes-compute=0"
129 #        - "nodes-compute=1"
130     nova-cloud-controller:
131       branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
132       num_units: 1
133       options:
134         network-manager: Neutron
135       to:
136         - "lxc:nodes-api=0"
137     neutron-api:
138       branch: lp:~opnfv-team/charms/trusty/neutron-api/next
139       num_units: 1
140       options:
141         manage-neutron-plugin-legacy-mode: False
142       to:
143         - "lxc:nodes-api=0"
144     glance:
145       branch: lp:~openstack-charmers/charms/trusty/glance/next
146       num_units: 1
147       to:
148         - "lxc:nodes-api=0"
149     opnfv-promise:
150       branch: lp:~narindergupta/charms/trusty/promise/trunk
151       num_units: 1
152       to:
153         - "lxc:nodes-api=0"
154   relations:
155     - [ keystone, mysql ]
156     - [ nova-cloud-controller, mysql ]
157     - [ nova-cloud-controller, rabbitmq-server ]
158     - [ nova-cloud-controller, glance ]
159     - [ nova-cloud-controller, keystone ]
160     - [ nova-compute, nova-cloud-controller ]
161     - [ "nova-compute:shared-db", "mysql:shared-db" ]
162     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
163     - [ nova-compute, glance ]
164     - [ glance, mysql ]
165     - [ glance, keystone ]
166     - [ openstack-dashboard, keystone ]
167     - [ neutron-api, mysql ]
168     - [ neutron-api, rabbitmq-server ]
169     - [ neutron-api, nova-cloud-controller ]
170     - [ neutron-api, keystone ]
171     - [ neutron-api, neutron-api-contrail ]
172     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
173     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
174     - [ "ceilometer:identity-service", "keystone:identity-service" ]
175     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
176     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
177     - [ "ceilometer:shared-db", "mongodb:database" ]
178     - [ "heat:shared-db", "mysql:shared-db" ]
179     - [ "heat:identity-service", "keystone:identity-service" ]
180     - [ "heat:amqp", "rabbitmq-server:amqp" ]
181     - [ "cinder:image-service", "glance:image-service" ]
182     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
183     - [ "cinder:identity-service", "keystone:identity-service" ]
184     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
185     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
186     - [ "ceph:client", "nova-compute:ceph" ]
187     - [ "cinder:shared-db", "mysql:shared-db" ]
188     - [ "ceph:client", "cinder-ceph:ceph" ]
189     - [ "ceph:client", "glance:ceph" ]
190     - [ "ceph-osd:mon", "ceph:osd" ]
191     - [ "ceph-radosgw:mon", "ceph:radosgw" ]
192     - [ "ceph-radosgw:identity-service", "keystone:identity-service"]
193 contrail:
194   inherits: openstack-phase2
195   services:
196     contrail-configuration:
197       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
198       to:
199         - "lxc:nodes-api=0"
200     contrail-control:
201       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
202       to:
203         - "lxc:nodes-api=0"
204     contrail-analytics:
205       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
206       to:
207         - "lxc:nodes-api=0"
208     contrail-webui:
209       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
210       to:
211         - "lxc:nodes-api=0"
212     neutron-api-contrail:
213       branch: lp:~opnfv-team/charms/trusty/neutron-api-contrail/trunk
214     neutron-contrail:
215       branch: lp:~opnfv-team/charms/trusty/neutron-contrail/trunk
216   relations:
217     - [ "contrail-configuration:cassandra", "cassandra:database" ]
218     - [ contrail-configuration, zookeeper ]
219     - [ contrail-configuration, rabbitmq-server ]
220     - [ contrail-configuration, keystone ]
221     - [ neutron-api-contrail, contrail-configuration ]
222     - [ neutron-api-contrail, keystone ]
223     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
224     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
225     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
226     - [ contrail-control, keystone ]
227     - [ "contrail-analytics:cassandra", "cassandra:database" ]
228     - [ "contrail-analytics:contrail-analytics-api", "contrail-configuration:contrail-analytics-api" ]
229     - [ "contrail-configuration:contrail-discovery", "contrail-analytics:contrail-discovery" ]
230     - [ contrail-webui, keystone ]
231     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
232     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
233     - [ "contrail-webui:cassandra", "cassandra:database" ]
234     - [ nova-compute, neutron-contrail ]
235     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
236     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
237     - [ neutron-contrail, keystone ]
238     - [ contrail-configuration, ntp ]
239     - [ contrail-control, ntp ]
240     - [ contrail-analytics, ntp ]
241
242
243 /trusty-liberty-nodes:
244   inherits: openstack-phase1
245   series: trusty
246   overrides:
247     series: trusty
248
249 trusty-liberty:
250   inherits: contrail
251   series: trusty
252   overrides:
253     series: trusty
254     #os-data-network: 10.4.8.0/21
255     #ceph-cluster-network: 10.4.0.0/21
256     #prefer-ipv6: true
257     region: Canonical
258     openstack-origin: cloud:trusty-liberty
259     source: "cloud:trusty-liberty"
260     ceph-osd-replication-count: 1
261     admin-role: admin
262     keystone-admin-role: admin
263
264 trusty-kilo-nodes:
265   inherits: openstack-phase1
266   series: trusty
267   overrides:
268     series: trusty
269
270 trusty-kilo:
271   inherits: contrail
272   series: trusty
273   overrides:
274     series: trusty
275     #os-data-network: 10.4.8.0/21
276     #ceph-cluster-network: 10.4.0.0/21
277     #prefer-ipv6: true
278     region: Canonical
279     openstack-origin: cloud:trusty-kilo
280     source: "cloud:trusty-kilo"
281     ceph-osd-replication-count: 1
282     admin-role: admin
283     keystone-admin-role: admin
284
285 trusty-juno-nodes:
286   inherits: openstack-phase1
287   overrides:
288     series: trusty
289
290 trusty-juno:
291   inherits: contrail
292   series: trusty
293   overrides:
294     series: trusty
295     #os-data-network: 10.4.8.0/21
296     #ceph-cluster-network: 10.4.0.0/21
297     #prefer-ipv6: true
298     region: Canonical
299     openstack-origin: cloud:trusty-juno
300     source: "cloud:trusty-juno"
301     ceph-osd-replication-count: 1
302     admin-role: admin
303     keystone-admin-role: admin
304