2e876e114e59c2e5a6d379e096881089c6af5e0e
[joid.git] / ci / bundles.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "local:trusty/ubuntu-nodes-controller"
7       num_units: 3
8       constraints: tags=control
9     nodes-compute:
10       charm: "local:trusty/ubuntu-nodes-controller"
11       num_units: 1
12       constraints: tags=compute
13     "ntp": 
14       charm: "cs:trusty/ntp"
15   relations:
16     - - "ntp:juju-info"
17       - "nodes-api:juju-info"
18     - - "ntp:juju-info"
19       - "nodes-compute:juju-info"
20 openstack-phase2: 
21   inherits: openstack-phase1
22   services: 
23     "percona-cluster": 
24       charm: "cs:trusty/percona-cluster"
25       num_units: 3
26       options: 
27         "dataset-size": 2G
28         "lp1366997-workaround": true
29         "max-connections": 10000
30         "root-password": 293rhc395m
31         "sst-password": 127rc14t51
32         vip: 10.4.1.25
33       to:
34         - "lxc:nodes-api=0"
35         - "lxc:nodes-api=1"
36         - "lxc:nodes-api=2"
37     "hacluster-keystone":
38       charm: "cs:trusty/hacluster"
39       options:
40         corosync_key: |
41           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
42     "hacluster-horizon":
43       charm: "cs:trusty/hacluster"
44       options:
45         corosync_key: |
46           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
47     "hacluster-nova":
48       charm: "cs:trusty/hacluster"
49       options:
50         corosync_key: |
51           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
52     "hacluster-neutron": 
53       charm: "cs:trusty/hacluster"
54       options:
55         corosync_key: |
56           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
57     "hacluster-glance":
58       charm: "cs:trusty/hacluster"
59       options:
60         corosync_key: |
61           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
62     "rabbitmq-server": 
63       charm: "cs:trusty/rabbitmq-server"
64       num_units: 3
65       options: 
66         management_plugin: true
67       to:
68         - "lxc:nodes-api=0"
69         - "lxc:nodes-api=1"
70         - "lxc:nodes-api=2"
71     "keystone": 
72       charm: "cs:trusty/keystone"
73       num_units: 3
74       options: 
75         "admin-password": openstack
76         "admin-token": admin
77         vip: 10.4.1.23
78       to:
79         - "lxc:nodes-api=0"
80         - "lxc:nodes-api=1"
81         - "lxc:nodes-api=2"
82     "openstack-dashboard": 
83       charm: "cs:trusty/openstack-dashboard"
84       num_units: 3
85       options: 
86         secret: admin
87         vip: 10.4.1.21
88         webroot: /
89       to:
90         - "lxc:nodes-api=0"
91         - "lxc:nodes-api=1"
92         - "lxc:nodes-api=2"
93     "nova-compute": 
94       branch: "lp:~openstack-charmers/charms/trusty/nova-compute/next"
95       num_units: 1
96       options: 
97         "enable-live-migration": true
98         "enable-resize": true
99         "migration-auth-type": ssh
100       to:
101         - "nodes-compute=0"
102 #        - "nodes-compute=1"
103 #        - "nodes-api=0"
104 #        - "nodes-api=1"
105 #        - "nodes-api=2"
106     "nova-cloud-controller": 
107       charm: "cs:trusty/nova-cloud-controller"
108       num_units: 3
109       options: 
110         "console-access-protocol": novnc
111         "network-manager": Neutron
112         "quantum-security-groups": "yes"
113         "service-guard": true
114         vip: 10.4.1.26
115       to:
116         - "lxc:nodes-api=0"
117         - "lxc:nodes-api=1"
118         - "lxc:nodes-api=2"
119     "neutron-api": 
120       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
121       num_units: 3
122       options:
123         neutron-security-groups: False
124         manage-neutron-plugin-legacy-mode: False
125         vip: 10.4.1.27
126       to: 
127         - "lxc:nodes-api=0"
128         - "lxc:nodes-api=1"
129         - "lxc:nodes-api=2"
130     neutron-gateway:
131       branch: lp:~narindergupta/charms/trusty/neutron-gateway/ovs-odl
132 #      num_units: 3
133 #      constraints: tags=gateway
134       options:
135         "ext-port": "00:1e:67:cf:bb:53"
136         plugin: ovs-odl
137 #        instance-mtu: 1400
138       to:  
139         - "nodes-api=0"
140     odl-controller:
141       branch: lp:~narindergupta/charms/trusty/odl-controller/liberty
142       options:
143         install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
144 #        install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.2-Lithium-SR2/distribution-karaf-0.3.2-Lithium-SR2.tar.gz"
145       to: lxc:nodes-api=1
146     "glance": 
147       charm: "cs:trusty/glance"
148       num_units: 3
149       options: 
150         vip: 10.4.1.22
151       to:
152         - "lxc:nodes-api=0"
153         - "lxc:nodes-api=1"
154         - "lxc:nodes-api=2"
155     neutron-api-odl:
156       branch: lp:~narindergupta/charms/trusty/neutron-api-odl/liberty
157       options:
158         overlay-network-type: 'vxlan gre'
159         security-groups: true
160     openvswitch-odl:
161       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
162   relations:
163     - - "glance:ha"
164       - "hacluster-glance:ha"
165     - - "keystone:ha"
166       - "hacluster-keystone:ha"
167     - - "neutron-api:ha"
168       - "hacluster-neutron:ha"
169     - - "nova-cloud-controller:ha"
170       - "hacluster-nova:ha"
171     - - "openstack-dashboard:ha"
172       - "hacluster-horizon:ha"
173     - - "nova-compute:amqp"
174       - "rabbitmq-server:amqp"
175     - - "neutron-gateway:amqp"
176       - "rabbitmq-server:amqp"
177     - - "nova-cloud-controller:identity-service"
178       - "keystone:identity-service"
179     - - "glance:identity-service"
180       - "keystone:identity-service"
181     - - "neutron-api:identity-service"
182       - "keystone:identity-service"
183     - - "neutron-api:amqp"
184       - "rabbitmq-server:amqp"
185     - - "neutron-gateway:neutron-plugin-api"
186       - "neutron-api:neutron-plugin-api"
187     - - "glance:amqp"
188       - "rabbitmq-server:amqp"
189     - - "nova-cloud-controller:image-service"
190       - "glance:image-service"
191     - - "nova-compute:image-service"
192       - "glance:image-service"
193     - - "nova-cloud-controller:cloud-compute"
194       - "nova-compute:cloud-compute"
195     - - "nova-cloud-controller:amqp"
196       - "rabbitmq-server:amqp"
197     - - "nova-cloud-controller:quantum-network-service"
198       - "neutron-gateway:quantum-network-service"
199     - - "openstack-dashboard:identity-service"
200       - "keystone:identity-service"
201     - - "nova-cloud-controller:neutron-api"
202       - "neutron-api:neutron-api"
203     - - "neutron-gateway:shared-db"
204       - "percona-cluster:shared-db"
205     - - "glance:shared-db"
206       - "percona-cluster:shared-db"
207     - - "keystone:shared-db"
208       - "percona-cluster:shared-db"
209     - - "nova-cloud-controller:shared-db"
210       - "percona-cluster:shared-db"
211     - - "neutron-api:shared-db"
212       - "percona-cluster:shared-db"
213     - - "neutron-api:neutron-plugin-api-subordinate"
214       - "neutron-api-odl:neutron-plugin-api-subordinate"
215     - - "nova-compute:neutron-plugin"
216       - "openvswitch-odl:neutron-plugin"
217     - - "neutron-gateway"
218       - "openvswitch-odl"
219     - - "openvswitch-odl:ovsdb-manager"
220       - "odl-controller:ovsdb-manager"
221     - - "neutron-api-odl:odl-controller"
222       - "odl-controller:controller-api"
223 trusty-liberty-nodes:
224   inherits: openstack-phase1
225   overrides:
226     series: trusty
227
228 trusty-liberty:
229   inherits: openstack-phase2
230   overrides:
231     cluster_count: 3
232     os-data-network: 10.4.9.0/24
233     region: Canonical
234     source: "cloud:trusty-liberty"
235     "openstack-origin": "cloud:trusty-liberty"
236     series: trusty
237
238 trusty-kilo-nodes:
239   inherits: openstack-phase1
240   overrides:
241     series: trusty
242
243 trusty-kilo:
244   inherits: openstack-phase2
245   overrides:
246     cluster_count: 3
247     os-data-network: 10.4.9.0/24
248     region: Canonical
249     source: "cloud:trusty-kilo"
250     "openstack-origin": "cloud:trusty-kilo"
251     series: trusty
252
253
254 trusty-juno-nodes:
255   inherits: openstack-phase1
256   overrides:
257     series: trusty
258
259 trusty-juno:
260   inherits: openstack-phase2
261   overrides:
262     cluster_count: 3
263     os-data-network: 10.4.9.0/24
264     region: Canonical
265     source: "cloud:trusty-juno"
266     "openstack-origin": "cloud:trusty-juno"
267     series: trusty
268
269