~mskalka/juju-ci-tools/update-nh-charm

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
# vim: set ts=2 et:
#
# A 7-machine bare metal bundle which is appx. equivalent to "sparse/default.yaml"
# with some smooshing and co-location for density.  This is an EXAMPLE TEST BUNDLE.
#
# See example usage in README @ lp:openstack-charm-testing.
# http://bazaar.launchpad.net/~ost-maintainers/openstack-charm-testing/trunk/view/head:/README
# 
# Bundle from:
# http://bazaar.launchpad.net/~ost-maintainers/openstack-charm-testing/trunk/view/head:/bundles/baremetal/7-default.yaml
#
openstack-services:
  services:
    mysql:
      charm: cs:trusty/mysql
      options:
        dataset-size: 50%
        max-connections: 20000
      to:
        - "0"
    rabbitmq-server:
      charm: cs:~openstack-charmers-next/trusty/rabbitmq-server
      to:
        - "lxc:0"
    ceph:
      charm: cs:~openstack-charmers-next/trusty/ceph
      num_units: 3
      options:
        #fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
        fsid: 11111111-2222-3333-4444-555555555555
        monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
        osd-devices: /dev/vdb /dev/sdb
        osd-reformat: "yes"
      to:
        - "nova-compute=0"
        - "nova-compute=1"
        - "nova-compute=2"
    ceph-osd:
      charm: cs:~openstack-charmers-next/trusty/ceph-osd
      options:
        osd-devices: /dev/vdb /dev/sdb
        osd-reformat: "yes"
      to:
        - "0"
    swift-proxy:
      charm: cs:~openstack-charmers-next/trusty/swift-proxy
      options:
        zone-assignment: manual
        replicas: 3
        swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
      to:
        - "lxc:0"
    swift-storage-z1:
      charm: cs:~openstack-charmers-next/trusty/swift-storage
      options:
        zone: 1
        block-device: /dev/vdb /dev/sdb
        overwrite: "true"
    swift-storage-z2:
      charm: cs:~openstack-charmers-next/trusty/swift-storage
      options:
        zone: 2
        block-device: /dev/vdb /dev/sdb
        overwrite: "true"
    swift-storage-z3:
      charm: cs:~openstack-charmers-next/trusty/swift-storage
      options:
        zone: 3
        block-device: /dev/vdb /dev/sdb
        overwrite: "true"
    keystone:
      charm: cs:~openstack-charmers-next/trusty/keystone
      options:
        admin-password: openstack
        admin-token: ubuntutesting
      to:
        - "lxc:swift-storage-z1=0"
    openstack-dashboard:
      charm: cs:~openstack-charmers-next/trusty/openstack-dashboard
      to:
        - "lxc:swift-storage-z2=0"
    nova-compute:
      charm: cs:~openstack-charmers-next/trusty/nova-compute
      num_units: 3
      options:
        enable-live-migration: True
        enable-resize: True
        migration-auth-type: ssh
    nova-cloud-controller:
      charm: cs:~openstack-charmers-next/trusty/nova-cloud-controller
      options:
        network-manager: Neutron
      to:
        - "lxc:swift-storage-z3=0"
    neutron-gateway:
      charm: cs:~openstack-charmers-next/trusty/neutron-gateway
      options:
        ext-port: eth1
        instance-mtu: 1300
      to:
        - "0"
    cinder:
      charm: cs:~openstack-charmers-next/trusty/cinder
      options:
        block-device: "None"
        glance-api-version: 2
      to:
        - "lxc:nova-compute=2"
    cinder-ceph:
      charm: cs:~openstack-charmers-next/trusty/cinder-ceph
    glance:
      charm: cs:~openstack-charmers-next/trusty/glance
      to:
        - "lxc:nova-compute=1"
    ceilometer:
      charm: cs:~openstack-charmers-next/trusty/ceilometer
      to:
        - "lxc:swift-storage-z1=0"
    ceilometer-agent:
      charm: cs:~openstack-charmers-next/trusty/ceilometer-agent
    heat:
      charm: cs:~openstack-charmers-next/trusty/heat
      to:
        - "lxc:swift-storage-z2=0"
    mongodb:
      charm: cs:trusty/mongodb
      to:
        - "lxc:swift-storage-z3=0"
    ntp:
      charm: cs:trusty/ntp
      num_units: 0
    juju-gui:
      charm: "cs:trusty/juju-gui"
      to:
        - "lxc:swift-storage-z3=0"
  relations:
    - [ keystone, mysql ]
    - [ nova-cloud-controller, mysql ]
    - [ nova-cloud-controller, rabbitmq-server ]
    - [ nova-cloud-controller, glance ]
    - [ nova-cloud-controller, keystone ]
    - [ nova-compute, nova-cloud-controller ]
    - [ nova-compute, mysql ]
    - - nova-compute
      - rabbitmq-server:amqp
    - [ nova-compute, glance ]
    - [ nova-compute, ceph ]
    - [ glance, mysql ]
    - [ glance, keystone ]
    - [ glance, ceph ]
    - [ glance, cinder ]
    - [ cinder, mysql ]
    - [ cinder, rabbitmq-server ]
    - [ cinder, nova-cloud-controller ]
    - [ cinder, keystone ]
    - [ cinder, cinder-ceph ]
    - [ cinder-ceph, ceph ]
    - [ neutron-gateway, nova-cloud-controller ]
    - [ openstack-dashboard, keystone ]
    - [ swift-proxy, keystone ]
    - [ swift-proxy, swift-storage-z1 ]
    - [ swift-proxy, swift-storage-z2 ]
    - [ swift-proxy, swift-storage-z3 ]
    - - ceilometer
      - keystone:identity-service
    - [ ceilometer, rabbitmq-server ]
    - [ ceilometer, mongodb ]
    - [ ceilometer-agent, nova-compute ]
    - [ ceilometer-agent, ceilometer ]
    - [ heat, mysql ]
    - [ heat, keystone ]
    - [ heat, rabbitmq-server ]
    - - ceph-osd:mon
      - ceph:osd
    - - ntp:juju-info
      - nova-compute:juju-info
    - - ntp:juju-info
      - neutron-gateway:juju-info
    - - ntp:juju-info
      - ceph-osd:juju-info
openstack-singlerabbit:
  inherits: openstack-services
  relations:
    - [ "neutron-gateway:amqp", rabbitmq-server ]
openstack-icehouse:
  inherits: openstack-singlerabbit
  services:
    neutron-api:
      charm: cs:~openstack-charmers-next/trusty/neutron-api
      options:
        neutron-security-groups: True
      to:
        - "lxc:nova-compute=0"
    neutron-openvswitch:
      charm: cs:~openstack-charmers-next/trusty/neutron-openvswitch
  relations:
  - [ neutron-api, mysql ]
  - [ neutron-api, rabbitmq-server ]
  - [ neutron-api, nova-cloud-controller ]
  - [ neutron-api, neutron-openvswitch ]
  - [ neutron-api, keystone ]
  - [ neutron-api, neutron-gateway ]
  - [ neutron-openvswitch, nova-compute ]
  - [ neutron-openvswitch, rabbitmq-server ]
openstack-icehouse-msg-split:
  inherits: openstack-services
  services:
    neutron-api:
      charm: cs:~openstack-charmers-next/trusty/neutron-api
      options:
        neutron-security-groups: True
    neutron-openvswitch:
      charm: cs:~openstack-charmers-next/trusty/neutron-openvswitch
    rabbitmq-server-neutron:
      charm: cs:~openstack-charmers-next/trusty/rabbitmq-server
  relations:
  - [ neutron-api, mysql ]
  - [ neutron-api, rabbitmq-server-neutron ]
  - [ neutron-api, nova-cloud-controller ]
  - [ neutron-api, neutron-openvswitch ]
  - [ neutron-api, keystone ]
  - [ neutron-api, neutron-gateway ]
  - [ neutron-openvswitch, nova-compute ]
  - [ neutron-openvswitch, rabbitmq-server-neutron ]
  - [ "neutron-gateway:amqp-nova", rabbitmq-server ]
  - [ "neutron-gateway:amqp", rabbitmq-server-neutron ]
# icehouse
precise-icehouse:
  inherits: openstack-icehouse
  series: precise
  services:
    mysql:
      branch: lp:charms/trusty/mysql
  overrides:
    openstack-origin: cloud:precise-icehouse
    source: cloud:precise-icehouse
precise-icehouse-proposed:
  inherits: precise-icehouse
  overrides:
    openstack-origin: cloud:precise-icehouse/proposed
    source: cloud:precise-updates/icehouse
precise-icehouse-staging:
  inherits: precise-icehouse
  overrides:
    openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
    source: ppa:ubuntu-cloud-archive/icehouse-staging
precise-icehouse-trunk:
  inherits: precise-icehouse
  overrides:
    openstack-origin: ppa:openstack-ubuntu-testing/icehouse
    source: ppa:openstack-ubuntu-testing/icehouse
trusty-icehouse:
  inherits: openstack-icehouse
  series: trusty
trusty-icehouse-msg-split:
  inherits: openstack-icehouse-msg-split
  series: trusty
trusty-icehouse-proposed:
  inherits: trusty-icehouse
  overrides:
    source: proposed
    openstack-origin: distro-proposed
trusty-icehouse-trunk:
  inherits: trusty-icehouse
  overrides:
    openstack-origin: ppa:openstack-ubuntu-testing/icehouse
    source: ppa:openstack-ubuntu-testing/icehouse
    offline-compression: "no"
# kilo
trusty-kilo:
  inherits: openstack-icehouse
  series: trusty
  overrides:
    openstack-origin: cloud:trusty-kilo
    source: cloud:trusty-kilo
trusty-kilo-proposed:
  inherits: trusty-kilo
  overrides:
    openstack-origin: cloud:trusty-kilo/proposed
    source: cloud:trusty-kilo/proposed
trusty-kilo-staging:
  inherits: trusty-kilo
  overrides:
    openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
    source: ppa:ubuntu-cloud-archive/kilo-staging
# liberty
trusty-liberty:
  inherits: openstack-icehouse
  series: trusty
  overrides:
    openstack-origin: cloud:trusty-liberty
    source: cloud:trusty-liberty
trusty-liberty-proposed:
  inherits: trusty-liberty
  overrides:
    openstack-origin: cloud:trusty-liberty/proposed
    source: cloud:trusty-liberty/proposed
trusty-liberty-staging:
  inherits: trusty-liberty
  overrides:
    openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
    source: ppa:ubuntu-cloud-archive/liberty-staging
wily-liberty:
  inherits: openstack-icehouse
  series: wily
wily-liberty-proposed:
  inherits: wily-liberty
  overrides:
    source: proposed
    openstack-origin: distro-proposed
# mitaka
trusty-mitaka:
  inherits: openstack-icehouse
  series: trusty
  overrides:
    openstack-origin: cloud:trusty-mitaka
    source: cloud:trusty-mitaka
trusty-mitaka-proposed:
  inherits: trusty-mitaka
  overrides:
    openstack-origin: cloud:trusty-mitaka/proposed
    source: cloud:trusty-mitaka/proposed
trusty-mitaka-staging:
  inherits: trusty-mitaka
  overrides:
    openstack-origin: ppa:ubuntu-cloud-archive/mitaka-staging
    source: ppa:ubuntu-cloud-archive/mitaka-staging
xenial-mitaka:
  inherits: openstack-icehouse
  series: xenial
xenial-mitaka-proposed:
  inherits: xenial-mitaka
  overrides:
    source: proposed
    openstack-origin: distro-proposed