Ubuntu Pastebin

Paste from linadm at Tue, 13 Oct 2015 22:47:49 +0000

Download as text
  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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
kilo-stack:
  services:
    series: 'trusty'
    juju-gui:
      charm: 'cs:trusty/juju-gui-39'
      options:
      to:
        - lxc:1
    rabbitmq-server:
      charm: cs:trusty/rabbitmq-server-37
      options:
        management_plugin: 'true'
      num_units: 3
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    ceph:
      charm: cs:trusty/ceph-40
      options:
        ceph-public-network: 10.16.100.0/24
        fsid: f649b7fa-1f21-11e4-8efd-685b358b0b5c
        monitor-secret: secret-paasword
        source: cloud:trusty-kilo
      num_units: 3
      to:
        - '5'
        - '6'
        - '7'
    ceph-osd:
      charm: cs:trusty/ceph-osd-12
      num_units: 3
      options:
        ceph-public-network: 10.16.100.0/24
        ceph-cluster-network: 10.16.102.0/24
        osd-devices: /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi
        osd-format: xfs
        osd-journal-size: 10240
        osd-reformat: 'true'
        source: cloud:trusty-kilo
      to:
        - '1'
        - '2'
        - '3'
    ceph-radosgw:
      charm: cs:trusty/ceph-radosgw-16
      num_units: 3
      options: 
        vip: 10.16.100.30
        cache-size: 500
        region: RegionOne
        revocation-check-interval: 600
        source: cloud:trusty-kilo
        use-ceph-optimised-packages: 'true'
        use-embedded-webserver: 'true'
        use-syslog: 'false'
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    cinder-api:
      charm: cs:trusty/cinder-29
      num_units: 3
      options:
        vip: 10.16.100.31
        enabled-services: api,scheduler
        config-flags: storage_availability_zone=nova
        api-listening-port: 8776
        block-device: None
        ceph-osd-replication-count: 2
        database: cinder
        database-user: cinder
        debug: 'false'
        glance-api-version: 2
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        overwrite: 'false'
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    cinder-avail0:
      charm: cs:trusty/cinder-29
      options:
        enabled-services: volume
        config-flags: storage_availability_zone=avail-0
        api-listening-port: 8776
        block-device: None
        ceph-osd-replication-count: 2
        database: cinder
        database-user: cinder
        debug: 'false'
        enabled-services: all
        glance-api-version: 2
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        overwrite: 'false'
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - '1'
    cinder-avail1:
      charm: cs:trusty/cinder-29
      options:
        enabled-services: volume
        config-flags: storage_availability_zone=avail-1
        api-listening-port: 8776
        block-device: None
        ceph-osd-replication-count: 2
        database: cinder
        database-user: cinder
        debug: 'false'
        enabled-services: all
        glance-api-version: 2
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        overwrite: 'false'
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - '2'
    cinder-avail2:
      charm: cs:trusty/cinder-29
      options:
        enabled-services: volume
        config-flags: storage_availability_zone=avail-2
        api-listening-port: 8776
        block-device: None
        ceph-osd-replication-count: 2
        database: cinder
        database-user: cinder
        debug: 'false'
        enabled-services: all
        glance-api-version: 2
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        overwrite: 'false'
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - '3'
    cinder-ceph:
      charm: cs:trusty/cinder-ceph-12
      options:
        ceph-osd-replication-count: 2
    glance:
      charm: cs:trusty/glance-26
      num_units: 3
      options:
        vip: 10.16.100.32
        ceph-osd-replication-count: 2
        database: glance
        database-user: glance
        debug: 'false'
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        prefer-ipv6: 'false'
        rabbit-user: glance
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    heat:
      charm: cs:trusty/heat-10
      options:
        database: heat
        database-user: heat
        openstack-origin: cloud:trusty-kilo
        rabbit-user: heat
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
      to:
        - lxc:2
    keystone:
      charm: cs:trusty/keystone-29
      num_units: 3
      options:
        vip: 10.16.100.33
        openstack-origin: cloud:trusty-kilo
        keystone-service-admin-role: KeystoneServiceAdmin
        admin-password: admin-password
        admin-port: 35357
        admin-role: Admin
        admin-user: admin
        assignment-backend: sql
        database: keystone
        database-user: keystone
        debug: 'false'
        enable-pki: 'false'
        https-service-endpoints: 'false'
        identity-backend: sql
        keystone-admin-role: Admin
        ldap-config-flags: None
        ldap-password: None
        ldap-readonly: 'true'
        ldap-server: None
        ldap-suffix: None
        log-level: WARNING
        prefer-ipv6: 'false'
        region: RegionOne
        service-port: 5000
        service-tenant: services
        token-expiration: 10000
        use-https: 'no'
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    mysql:
      charm: cs:trusty/percona-cluster-29
      num_units: 3
      options:
        vip: 10.16.100.34
        root-password: root-password
        sst-password: root-password
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    neutron-api:
      charm: cs:trusty/neutron-api-19
      num_units: 3
      options:
        vip: 10.16.100.35
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        vlan-ranges: physnet1 vnet1:110:112
        database: neutron
        database-user: neutron
        debug: 'false'
        enable-dvr: 'true'
        enable-l3ha: 'false'
        l2-population: 'true'
        min-l3-agents-per-router: 2
        neutron-plugin: ovs
        neutron-security-groups: 'true'
        overlay-network-type: vxlan gre
        prefer-ipv6: 'false'
        quota-floatingip: -1
        quota-health-monitors: -1
        quota-member: -1
        quota-network: -1
        quota-pool: -1
        quota-port: -1
        quota-router: -1
        quota-security-group: -1
        quota-security-group-rule: -1
        quota-subnet: -1
        rabbit-user: neutron
        rabbit-vhost: openstack
        region: RegionOne
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    neutron-openvswitch:
      charm: cs:trusty/neutron-openvswitch-10
      options:
        bridge-mappings: vnet1:br-vlan
        data-port: br-vlan:eth3
        debug: 'false'
        disable-security-groups: 'false'
        ext-port: eth1
        rabbit-user: neutron
        rabbit-vhost: openstack
        use-syslog: 'false'
        verbose: 'false'
        vlan-ranges: vnet1:100:112
    nova-cloud-controller:
      charm: cs:trusty/nova-cloud-controller-62
      num_units: 3
      options:
        vip: 10.16.100.36
        openstack-origin: cloud:trusty-kilo
        os-admin-network: 10.16.100.0/24
        config-flags: allow_resize_to_same_host=true,allow_migrate_to_same_host=true
        console-access-protocol: novnc
        console-keymap: en-us
        cpu-allocation-ratio: 20.0
        database: nova
        database-user: nova
        debug: 'false'
        network-manager: Neutron
        neutron-database: neutron
        neutron-database-user: neutron
        neutron-external-network: null
        prefer-ipv6: 'false'
        quantum-plugin: ovs
        quantum-security-groups: 'yes'
        rabbit-user: nova
        rabbit-vhost: openstack
        region: RegionOne
        service-guard: 'true'
        use-syslog: 'false'
        verbose: 'false'
        worker-multiplier: 2
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    nova-compute:
      charm: cs:trusty/nova-compute-28
      options:
        openstack-origin: cloud:trusty-kilo
        ceph-osd-replication-count: 2
        config-flags: libvirt_live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST"
        database: nova
        database-user: nova
        disable-neutron-security-groups: 'false'
        disk-cachemodes: network=writeback,block=writeback
        enable-live-migration: 'true'
        enable-resize: 'true'
        libvirt-image-backend: rbd
        migration-auth-type: ssh
        multi-host: 'no'
        neutron-database: neutron
        neutron-database-user: neutron
        rabbit-user: nova
        rabbit-vhost: openstack
        use-syslog: 'false'
        verbose: 'false'
        virt-type: kvm
      num_units: 3
      to:
        - '1'
        - '2'
        - '3'
    openstack-dashboard:
      charm: cs:trusty/openstack-dashboard-17
      num_units: 3
      options:
        vip: 10.16.100.37
        openstack-origin: cloud:trusty-kilo
        debug: 'no'
        default-role: Member
        neutron-network-firewall: 'true'
        neutron-network-lb: 'true'
        neutron-network-vpn: 'true'
        offline-compression: 'yes'
        prefer-ipv6: 'false'
        ubuntu-theme: 'yes'
        use-syslog: 'false'
        webroot: /
      to:
        - lxc:1
        - lxc:2
        - lxc:3
    neutron-gateway:
      charm: cs:trusty/neutron-gateway-5
      options:
        openstack-origin: cloud:trusty-kilo
        bridge-mappings: physnet1:br-ex vnet1:br-vlan
        data-port: br-ex:eth1 br-vlan:eth3
        database: nova
        database-user: nova
        debug: 'false'
        enable-l3-agent: 'true'
        ext-port: eth1
        flat-network-providers: physnet1
        ha-bindiface: eth0
        ha-legacy-mode: 'false'
        ha-mcastport: 5409
        instance-mtu: 1400
        nagios_context: juju
        nagios_servicegroups: null
        nova-rabbit-user: nova
        nova-rabbit-vhost: openstack
        plugin: ovs
        rabbit-user: neutron
        rabbit-vhost: openstack
        run-internal-router: leader
        use-syslog: 'false'
        verbose: 'false'
        vlan-ranges: physnet1 vnet1:100:112
      to:
        - '4'
    nrpe:
      charm: cs:trusty/nrpe-4
      options:
        nagios_master: 10.10.20.209
        export_nagios_definitions: 'true'
        nagios_hostname_type: "unit"
        hostcheck_inherit: "generic-host"
        hostgroups: "kilo-hosts"
    ntp:
      charm: cs:trusty/ntp-12
    mysql-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
    keystone-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
    glance-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
    cinder-api-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
    ncc-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
    dashboard-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
    neutron-api-hacluster:
      charm: cs:trusty/hacluster-23
      options:
        corosync_transport: unicast
  relations:
     - - nrpe
       - ceph
     - - nrpe
       - ceph-osd
     - - nrpe
       - glance
     - - nrpe
       - ceph-radosgw
     - - nrpe
       - cinder-api
     - - nrpe
       - cinder-avail0
     - - nrpe
       - cinder-avail1
     - - nrpe
       - cinder-avail2
     - - nrpe
       - nova-compute
     - - nrpe
       - neutron-gateway
     - - nrpe
       - heat
     - - nrpe
       - keystone
     - - nrpe
       - neutron-api
     - - nrpe
       - nova-cloud-controller
     - - nrpe
       - openstack-dashboard
     - - nrpe
       - rabbitmq-server
     - - ceph:client
       - cinder-ceph:ceph
     - - cinder-ceph
       - glance
     - - rabbitmq-server:amqp
       - glance-simplestreams-sync:amqp
     - - glance:ceph
       - ceph:client
     - - nova-compute:ceph
       - ceph:client
     - - ntp:juju-info
       - ceph:juju-info
     - - ceph:osd
       - ceph-osd:mon
     - - ntp:juju-info
       - ceph-osd:juju-info
     - - ceph:radosgw
       - ceph-radosgw:mon
     - - ceph-radosgw:identity-service
       - keystone:identity-service
     - - cinder-api:image-service
       - glance:image-service
     - - cinder-api:storage-backend
       - cinder-ceph:storage-backend
     - - cinder-avail0:image-service
       - glance:image-service
     - - cinder-avail0:storage-backend
       - cinder-ceph:storage-backend
     - - cinder-avail1:image-service
       - glance:image-service
     - - cinder-avail1:storage-backend
       - cinder-ceph:storage-backend
     - - cinder-avail2:image-service
       - glance:image-service
     - - cinder-avail2:storage-backend
       - cinder-ceph:storage-backend
     - - rabbitmq-server:amqp
       - cinder-api:amqp
     - - cinder-api:identity-service
       - keystone:identity-service
     - - rabbitmq-server:amqp
       - cinder-avail0:amqp
     - - rabbitmq-server:amqp
       - cinder-avail1:amqp
     - - rabbitmq-server:amqp
       - cinder-avail2:amqp
     - - cinder-avail0:shared-db
       - mysql:shared-db
     - - cinder-avail1:shared-db
       - mysql:shared-db
     - - cinder-avail2:shared-db
       - mysql:shared-db
     - - nova-cloud-controller:cinder-volume-service
       - cinder-avail0:cinder-volume-service
     - - nova-cloud-controller:cinder-volume-service
       - cinder-avail1:cinder-volume-service
     - - nova-cloud-controller:cinder-volume-service
       - cinder-avail2:cinder-volume-service
     - - cinder-api:shared-db
       - mysql:shared-db
     - - nova-compute:neutron-plugin
       - neutron-openvswitch:neutron-plugin
     - - nova-compute:amqp
       - rabbitmq-server:amqp
     - - mysql:shared-db
       - nova-compute:shared-db
     - - nova-compute:image-service
       - glance:image-service
     - - nova-cloud-controller:cloud-compute
       - nova-compute:cloud-compute
     - - ntp:juju-info
       - nova-compute:juju-info
     - - nova-cloud-controller:shared-db
       - mysql:shared-db
     - - rabbitmq-server:amqp
       - nova-cloud-controller:amqp
     - - glance:image-service
       - nova-cloud-controller:image-service
     - - keystone:identity-service
       - nova-cloud-controller:identity-service
     - - mysql:shared-db
       - glance:shared-db
     - - keystone:identity-service
       - glance:identity-service
     - - rabbitmq-server:amqp
       - glance:amqp
     - - keystone:identity-service
       - glance-simplestreams-sync:identity-service
     - - keystone:identity-service
       - heat:identity-service
     - - mysql:shared-db
       - heat:shared-db
     - - rabbitmq-server:amqp
       - heat:amqp
     - - keystone:identity-service
       - openstack-dashboard:identity-service
     - - mysql:shared-db
       - keystone:shared-db
     - - mysql:shared-db
       - neutron-gateway:shared-db
     - - nova-cloud-controller:quantum-network-service
       - neutron-gateway:quantum-network-service
     - - ntp:juju-info
       - neutron-gateway:juju-info
     - - rabbitmq-server:amqp
       - neutron-gateway:amqp
     - - neutron-api:identity-service
       - keystone:identity-service
     - - neutron-openvswitch:neutron-plugin-api
       - neutron-api:neutron-plugin-api
     - - mysql:shared-db
       - neutron-api:shared-db
     - - rabbitmq-server:amqp
       - neutron-api:amqp
     - - neutron-gateway:neutron-plugin-api
       - neutron-api:neutron-plugin-api
     - - nova-cloud-controller:neutron-api
       - neutron-api:neutron-api
     - - rabbitmq-server:amqp
       - neutron-openvswitch:amqp
     - - mysql-hacluster
       - mysql
     - - keystone-hacluster
       - keystone
     - - glance-hacluster
       - glance
     - - cinder-api-hacluster
       - cinder-api
     - - neutron-api-hacluster
       - neutron-api
     - - ncc-hacluster
       - nova-cloud-controller
     - - dashboard-hacluster
       - openstack-dashboard
  machines:
    1:
      constraints: tags=avail0
    2:
      constraints: tags=avail1
    3:
      constraints: tags=avail2
    4:
      constraints: tags=network
    5:
      constraints: tags=mon
    6:
      constraints: tags=mon
    7:
      constraints: tags=mon
Download as text