modified vip address as per ip address when it was removed.
[joid.git] / ci / odl / juju-deployer / ovs-odl-ha.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       branch: "lp:charms/trusty/ubuntu"
7       num_units: 3
8       constraints: tags=control
9     nodes-compute:
10       branch: "lp:charms/trusty/ubuntu"
11       num_units: 1
12       constraints: tags=compute
13     neutron-gateway:
14       branch: lp:~sdn-charmers/charms/trusty/neutron-gateway/ovs-odl
15 #      constraints: tags=gateway
16       options:
17 #        "ext-port": eth1
18         plugin: ovs-odl
19 #        instance-mtu: 1400
20       to: nodes-api=0
21     "ntp": 
22       charm: "cs:trusty/ntp"
23     openvswitch-odl:
24       branch: lp:~alai/charms/trusty/openvswitch-odl/trunk
25     "hacluster-keystone": 
26       charm: "cs:trusty/hacluster"
27       options:
28         corosync_key: |
29           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
30     "hacluster-horizon": 
31       charm: "cs:trusty/hacluster"
32       options:
33         corosync_key: |
34           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
35     "hacluster-nova": 
36       charm: "cs:trusty/hacluster"
37       options:
38         corosync_key: |
39           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
40     "hacluster-neutron": 
41       charm: "cs:trusty/hacluster"
42       options:
43         corosync_key: |
44           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
45     "hacluster-glance": 
46       charm: "cs:trusty/hacluster"
47       options:
48         corosync_key: |
49           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
50   relations:
51     - - "ntp:juju-info"
52       - "nodes-api:juju-info"
53     - - "ntp:juju-info"
54       - "nodes-compute:juju-info"
55 openstack-phase2: 
56   inherits: openstack-phase1
57   services: 
58     "nova-compute": 
59       charm: "cs:trusty/nova-compute"
60       num_units: 1
61       options: 
62         "enable-live-migration": true
63         "enable-resize": true
64         "migration-auth-type": ssh
65       to:
66         - "nodes-compute=0"
67 #        - "nodes-compute=1"
68     "keystone": 
69       charm: "cs:trusty/keystone"
70       num_units: 3
71       options: 
72         "admin-password": openstack
73         "admin-token": admin
74         vip: 10.4.1.13
75       to:
76         - "lxc:nodes-api=0"
77         - "lxc:nodes-api=1"
78         - "lxc:nodes-api=2"
79     "glance": 
80       charm: "cs:trusty/glance"
81       num_units: 3
82       options: 
83         vip: 10.4.1.12
84       to:
85         - "lxc:nodes-api=0"
86         - "lxc:nodes-api=1"
87         - "lxc:nodes-api=2"
88     "neutron-api": 
89       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
90       options:
91         neutron-security-groups: False
92         manage-neutron-plugin-legacy-mode: False
93         vip: 10.4.1.17
94       to: 
95         - "lxc:nodes-api=0"
96         - "lxc:nodes-api=1"
97         - "lxc:nodes-api=2"
98     neutron-api-odl:
99       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
100       options:
101         overlay-network-type: 'vxlan gre'
102         security-groups: true
103     odl-controller:
104       branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk
105       options:
106         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"
107       to: lxc:nodes-api=1
108     "nova-cloud-controller": 
109       charm: "cs:trusty/nova-cloud-controller"
110       num_units: 3
111       options: 
112         "console-access-protocol": novnc
113         "network-manager": Neutron
114         "quantum-security-groups": "yes"
115         "service-guard": true
116         vip: 10.4.1.16
117       to:
118         - "lxc:nodes-api=0"
119         - "lxc:nodes-api=1"
120         - "lxc:nodes-api=2"
121     "openstack-dashboard": 
122       charm: "cs:trusty/openstack-dashboard"
123       num_units: 3
124       options: 
125         secret: admin
126         vip: 10.4.1.11
127         webroot: /
128       to:
129         - "lxc:nodes-api=0"
130         - "lxc:nodes-api=1"
131         - "lxc:nodes-api=2"
132     "rabbitmq-server": 
133       charm: "cs:trusty/rabbitmq-server"
134       num_units: 3
135       options: 
136         management_plugin: true
137       to:
138         - "lxc:nodes-api=0"
139         - "lxc:nodes-api=1"
140         - "lxc:nodes-api=2"
141     "percona-cluster": 
142       charm: "cs:trusty/percona-cluster"
143       num_units: 3
144       options: 
145         "dataset-size": 2G
146         "lp1366997-workaround": true
147         "max-connections": 10000
148         "root-password": 293rhc395m
149         "sst-password": 127rc14t51
150         vip: 10.4.1.15
151       to:
152         - "lxc:nodes-api=0"
153         - "lxc:nodes-api=1"
154         - "lxc:nodes-api=2"
155   relations:
156     - - "glance:ha"
157       - "hacluster-glance:ha"
158     - - "keystone:ha"
159       - "hacluster-keystone:ha"
160     - - "neutron-api:ha"
161       - "hacluster-neutron:ha"
162     - - "nova-cloud-controller:ha"
163       - "hacluster-nova:ha"
164     - - "openstack-dashboard:ha"
165       - "hacluster-horizon:ha"
166     - - "nova-compute:amqp"
167       - "rabbitmq-server:amqp"
168     - - "neutron-gateway:amqp"
169       - "rabbitmq-server:amqp"
170     - - "nova-cloud-controller:identity-service"
171       - "keystone:identity-service"
172     - - "glance:identity-service"
173       - "keystone:identity-service"
174     - - "neutron-api:identity-service"
175       - "keystone:identity-service"
176     - - "neutron-api:amqp"
177       - "rabbitmq-server:amqp"
178     - - "neutron-gateway:neutron-plugin-api"
179       - "neutron-api:neutron-plugin-api"
180     - - "glance:amqp"
181       - "rabbitmq-server:amqp"
182     - - "nova-cloud-controller:image-service"
183       - "glance:image-service"
184     - - "nova-compute:image-service"
185       - "glance:image-service"
186     - - "nova-cloud-controller:cloud-compute"
187       - "nova-compute:cloud-compute"
188     - - "nova-cloud-controller:amqp"
189       - "rabbitmq-server:amqp"
190     - - "nova-cloud-controller:quantum-network-service"
191       - "neutron-gateway:quantum-network-service"
192     - - "openstack-dashboard:identity-service"
193       - "keystone:identity-service"
194     - - "nova-cloud-controller:neutron-api"
195       - "neutron-api:neutron-api"
196     - - "neutron-gateway:shared-db"
197       - "percona-cluster:shared-db"
198     - - "glance:shared-db"
199       - "percona-cluster:shared-db"
200     - - "keystone:shared-db"
201       - "percona-cluster:shared-db"
202     - - "nova-cloud-controller:shared-db"
203       - "percona-cluster:shared-db"
204     - - "neutron-api:shared-db"
205       - "percona-cluster:shared-db"
206     - - "neutron-api:neutron-plugin-api-subordinate"
207       - "neutron-api-odl:neutron-plugin-api-subordinate"
208     - - "nova-compute:neutron-plugin"
209       - "openvswitch-odl:neutron-plugin"
210     - - "neutron-gateway"
211       - "openvswitch-odl"
212     - - "openvswitch-odl:ovsdb-manager"
213       - "odl-controller:ovsdb-manager"
214     - - "neutron-api-odl:odl-controller"
215       - "odl-controller:controller-api"
216 trusty-kilo:
217   inherits: openstack-phase2
218   overrides:
219     region: Canonical
220     source: "cloud:trusty-kilo"
221     "openstack-origin": "cloud:trusty-kilo"
222     series: trusty
223 trusty-juno:
224   inherits: openstack-phase2
225   overrides:
226     region: Canonical
227     source: "cloud:trusty-juno"
228     "openstack-origin": "cloud:trusty-juno"
229     series: trusty
230