~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/nosdn/juju-deployer/ovs-nosdn-ha.yaml

  • Committer: Narinder Gupta
  • Date: 2016-06-07 19:50:38 UTC
  • Revision ID: git-v1:a974eb71bd5a89062ff5a1899703ef22ba41852e
modified the onos deployment as per new process where charms were
downloaded first then deployment started.

Change-Id: I97711241121577200d1223764c84e91cc1be05cb
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim: set ts=2 et:
 
2
trusty-mitaka-nodes:
 
3
  inherits: openstack-phase1
 
4
  overrides:
 
5
    series: trusty
 
6
 
 
7
trusty-mitaka:
 
8
  inherits: openstack-phase2
 
9
  overrides:
 
10
    #os-data-network: 10.4.8.0/21
 
11
    #ceph-cluster-network: 10.4.0.0/21
 
12
    #prefer-ipv6: true
 
13
    #enable-dvr: true
 
14
    #l2-population: true
 
15
    region: Canonical
 
16
    #source: "cloud:trusty-mitaka"
 
17
    openstack-origin: "cloud:trusty-mitaka"
 
18
    series: trusty
 
19
    #ceph-osd-replication-count: 2
 
20
    admin-role: admin
 
21
    keystone-admin-role: admin
 
22
 
 
23
openstack-phase1:
 
24
  series: trusty
 
25
  services:
 
26
    nodes:
 
27
      charm: "cs:trusty/ubuntu"
 
28
      num_units: 5
 
29
    ntp:
 
30
      charm: "local:trusty/ntp"
 
31
  relations:
 
32
    - - "ntp:juju-info"
 
33
      - "nodes:juju-info"
 
34
 
 
35
openstack-phase2:
 
36
  inherits: openstack-phase1
 
37
  relations:
 
38
    - - glance:ha
 
39
      - hacluster-glance:ha
 
40
    - - keystone:ha
 
41
      - hacluster-keystone:ha
 
42
    - - neutron-api:ha
 
43
      - hacluster-neutron:ha
 
44
    - - nova-cloud-controller:ha
 
45
      - hacluster-nova:ha
 
46
    - - openstack-dashboard:ha
 
47
      - hacluster-horizon:ha
 
48
    - - nova-compute:amqp
 
49
      - rabbitmq-server:amqp
 
50
    - - neutron-gateway:amqp
 
51
      - rabbitmq-server:amqp
 
52
    - - keystone:shared-db
 
53
      - mysql:shared-db
 
54
    - - nova-cloud-controller:identity-service
 
55
      - keystone:identity-service
 
56
    - - glance:identity-service
 
57
      - keystone:identity-service
 
58
    - - neutron-api:identity-service
 
59
      - keystone:identity-service
 
60
    - - neutron-openvswitch:neutron-plugin-api
 
61
      - neutron-api:neutron-plugin-api
 
62
    - - neutron-api:shared-db
 
63
      - mysql:shared-db
 
64
    - - neutron-api:amqp
 
65
      - rabbitmq-server:amqp
 
66
    - - neutron-gateway:neutron-plugin-api
 
67
      - neutron-api:neutron-plugin-api
 
68
    - - glance:shared-db
 
69
      - mysql:shared-db
 
70
    - - glance:amqp
 
71
      - rabbitmq-server:amqp
 
72
    - - nova-cloud-controller:image-service
 
73
      - glance:image-service
 
74
    - - nova-compute:image-service
 
75
      - glance:image-service
 
76
    - - nova-cloud-controller:cloud-compute
 
77
      - nova-compute:cloud-compute
 
78
    - - nova-cloud-controller:amqp
 
79
      - rabbitmq-server:amqp
 
80
    - - nova-cloud-controller:quantum-network-service
 
81
      - neutron-gateway:quantum-network-service
 
82
    - - nova-compute:neutron-plugin
 
83
      - neutron-openvswitch:neutron-plugin
 
84
    - - neutron-openvswitch:amqp
 
85
      - rabbitmq-server:amqp
 
86
    - - openstack-dashboard:identity-service
 
87
      - keystone:identity-service
 
88
    - - nova-cloud-controller:shared-db
 
89
      - mysql:shared-db
 
90
    - - nova-cloud-controller:neutron-api
 
91
      - neutron-api:neutron-api
 
92
    - - cinder:image-service
 
93
      - glance:image-service
 
94
    - - cinder:amqp
 
95
      - rabbitmq-server:amqp
 
96
    - - cinder:identity-service
 
97
      - keystone:identity-service
 
98
    - - cinder:cinder-volume-service
 
99
      - nova-cloud-controller:cinder-volume-service
 
100
    - - cinder-ceph:storage-backend
 
101
      - cinder:storage-backend
 
102
    - - ceph:client
 
103
      - nova-compute:ceph
 
104
    - - cinder:shared-db
 
105
      - mysql:shared-db
 
106
    - - ceph:client
 
107
      - cinder-ceph:ceph
 
108
    - - ceph:client
 
109
      - glance:ceph
 
110
    - - ceph-osd:mon
 
111
      - ceph:osd
 
112
    - - ntp:juju-info
 
113
      - nova-compute:juju-info
 
114
    - - ntp:juju-info
 
115
      - neutron-gateway:juju-info
 
116
    - - ceph-radosgw:mon
 
117
      - ceph:radosgw
 
118
    - - ceph-radosgw:identity-service
 
119
      - keystone:identity-service
 
120
    - - ceilometer:amqp
 
121
      - rabbitmq-server:amqp
 
122
    - - ceilometer-agent:ceilometer-service
 
123
      - ceilometer:ceilometer-service
 
124
    - - ceilometer:identity-service
 
125
      - keystone:identity-service
 
126
    - - ceilometer:identity-notifications
 
127
      - keystone:identity-notifications
 
128
    - - ceilometer-agent:nova-ceilometer
 
129
      - nova-compute:nova-ceilometer
 
130
    - - ceilometer:shared-db
 
131
      - mongodb:database
 
132
    - - heat:shared-db
 
133
      - mysql:shared-db
 
134
    - - heat:identity-service
 
135
      - keystone:identity-service
 
136
    - - heat:amqp
 
137
      - rabbitmq-server:amqp
 
138
    #- - nova-compute:lxd
 
139
      #- lxd:lxd
 
140
 
 
141
  services:
 
142
    hacluster-keystone:
 
143
      charm: "local:trusty/hacluster"
 
144
      options:
 
145
        corosync_key: |
 
146
          'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
 
147
    hacluster-horizon:
 
148
      charm: "local:trusty/hacluster"
 
149
      options:
 
150
        corosync_key: |
 
151
          'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
 
152
    hacluster-nova:
 
153
      charm: "local:trusty/hacluster"
 
154
      options:
 
155
        corosync_key: |
 
156
          'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
 
157
    hacluster-neutron:
 
158
      charm: "local:trusty/hacluster"
 
159
      options:
 
160
        corosync_key: |
 
161
          'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
 
162
    hacluster-glance:
 
163
      charm: "local:trusty/hacluster"
 
164
      options:
 
165
        corosync_key: |
 
166
          'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
 
167
    ceilometer:
 
168
      charm: "local:trusty/ceilometer"
 
169
      num_units: 3
 
170
      to:
 
171
        - "lxc:nodes=0"
 
172
        - "lxc:nodes=1"
 
173
        - "lxc:nodes=2"
 
174
    ceilometer-agent:
 
175
      charm: "local:trusty/ceilometer-agent"
 
176
    ceph:
 
177
      charm: "local:trusty/ceph"
 
178
      num_units: 3
 
179
      options:
 
180
        monitor-count: 3
 
181
        fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
 
182
        monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
 
183
        osd-devices: ""
 
184
#        osd-reformat: 'yes'
 
185
#        ceph-cluster-network: 192.168.0.0/24
 
186
#        ceph-public-network: 192.168.0.0/24
 
187
      to:
 
188
        - "lxc:nodes=1"
 
189
        - "lxc:nodes=2"
 
190
        - "lxc:nodes=3"
 
191
    ceph-osd:
 
192
      charm: "local:trusty/ceph-osd"
 
193
      num_units: 3
 
194
      options:
 
195
        osd-devices: /srv
 
196
        osd-reformat: 'yes'
 
197
      to:
 
198
        - "nodes=2"
 
199
        - "nodes=3"
 
200
        - "nodes=4"
 
201
    ceph-radosgw:
 
202
      charm: "local:trusty/ceph-radosgw"
 
203
      options:
 
204
        use-embedded-webserver: true
 
205
        operator-roles: "Member,admin"
 
206
      to:
 
207
        - "lxc:nodes=0"
 
208
    cinder:
 
209
      charm: "local:trusty/cinder"
 
210
      num_units: 3
 
211
      options:
 
212
        block-device: None
 
213
        glance-api-version: 2
 
214
        ha-mcastport: 5401
 
215
      to:
 
216
        - "lxc:nodes=2"
 
217
        - "lxc:nodes=3"
 
218
        - "lxc:nodes=4"
 
219
    cinder-ceph:
 
220
      charm: "local:trusty/cinder-ceph"
 
221
    glance:
 
222
      charm: "local:trusty/glance"
 
223
      num_units: 3
 
224
      options:
 
225
        ha-mcastport: 5402
 
226
        vip: 10.4.1.12
 
227
      to:
 
228
        - "lxc:nodes=3"
 
229
        - "lxc:nodes=4"
 
230
        - "lxc:nodes=0"
 
231
    opnfv-promise:
 
232
      charm: local:trusty/promise
 
233
      to:
 
234
        - "lxc:nodes=0"
 
235
    keystone:
 
236
      charm: "local:trusty/keystone"
 
237
      num_units: 3
 
238
      options:
 
239
        admin-password: openstack
 
240
        admin-token: admin
 
241
        ha-mcastport: 5403
 
242
        vip: 10.4.1.13
 
243
      to:
 
244
        - "lxc:nodes=4"
 
245
        - "lxc:nodes=0"
 
246
        - "lxc:nodes=1"
 
247
    mongodb:
 
248
      charm: local:trusty/mongodb
 
249
      to:
 
250
        - "lxc:nodes=0"
 
251
    mysql:
 
252
      charm: "local:trusty/percona-cluster"
 
253
      num_units: 3
 
254
      options:
 
255
        max-connections: 20000
 
256
        lp1366997-workaround: true
 
257
        root-password: 293rhc395m
 
258
        sst-password: 127rc14t51
 
259
        vip: 10.4.1.15
 
260
      to:
 
261
        - "lxc:nodes=0"
 
262
        - "lxc:nodes=1"
 
263
        - "lxc:nodes=2"
 
264
    neutron-api:
 
265
      charm: "local:trusty/neutron-api"
 
266
      num_units: 3
 
267
      options:
 
268
        neutron-security-groups: true
 
269
        flat-network-providers: "*"
 
270
        vip: 10.4.1.17
 
271
      to:
 
272
        - "lxc:nodes=1"
 
273
        - "lxc:nodes=2"
 
274
        - "lxc:nodes=3"
 
275
    neutron-gateway:
 
276
      charm: "local:trusty/neutron-gateway"
 
277
      options:
 
278
        #ext-port: "eth1"
 
279
        instance-mtu: 1400
 
280
      to:
 
281
        - "nodes=0"
 
282
    neutron-openvswitch:
 
283
      charm: "local:trusty/neutron-openvswitch"
 
284
      options:
 
285
        #enable-dpdk: true
 
286
        #data-port: ""
 
287
        #default-socket-memory: 1024
 
288
        #defualt-socket-cores: 1
 
289
        #dpdk-driver: uio_pci_generic
 
290
    nova-cloud-controller:
 
291
      charm: "local:trusty/nova-cloud-controller"
 
292
      num_units: 3
 
293
      options:
 
294
        network-manager: Neutron
 
295
        service-guard: true
 
296
        vip: 10.4.1.16
 
297
      to:
 
298
        - "lxc:nodes=2"
 
299
        - "lxc:nodes=3"
 
300
        - "lxc:nodes=4"
 
301
    nova-compute:
 
302
      charm: "local:trusty/nova-compute"
 
303
      num_units: 4
 
304
      options:
 
305
        enable-live-migration: true
 
306
        enable-resize: true
 
307
        manage-neutron-plugin-legacy-mode: false
 
308
        migration-auth-type: ssh
 
309
        #hugepages: "50%"
 
310
        #virt-type: lxd
 
311
      to:
 
312
        - "nodes=1"
 
313
        - "nodes=2"
 
314
        - "nodes=3"
 
315
        - "nodes=4"
 
316
    openstack-dashboard:
 
317
      charm: "local:trusty/openstack-dashboard"
 
318
      num_units: 3
 
319
      options:
 
320
        secret: admin
 
321
        webroot: /
 
322
        vip: 10.4.1.11
 
323
      to:
 
324
        - "lxc:nodes=3"
 
325
        - "lxc:nodes=4"
 
326
        - "lxc:nodes=0"
 
327
    rabbitmq-server:
 
328
      charm: "local:trusty/rabbitmq-server"
 
329
      num_units: 3
 
330
      to:
 
331
        - "lxc:nodes=4"
 
332
        - "lxc:nodes=0"
 
333
        - "lxc:nodes=1"
 
334
    heat:
 
335
      charm: "local:trusty/heat"
 
336
      to:
 
337
        - "lxc:nodes=0"