~narindergupta/opnfv/stable-R2

« back to all changes in this revision

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

  • Committer: Gerrit Code Review
  • Author(s): Narinder Gupta
  • Date: 2016-05-17 19:55:56 UTC
  • mfrom: (228.1.1)
  • Revision ID: git-v1:a72a52456135c2e298feeef6d75745ed657216c5
Merge "added new labconfig file for each lab also the default config file. User can send the url also to deployment.yaml file to the script. If can not copy the file then will use the file from labconfig directory."

Show diffs side-by-side

added added

removed removed

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