Advertisement
Guest User

bundle.yaml

a guest
Feb 5th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.00 KB | None | 0 0
  1. machines:
  2.   '0':
  3.     series: bionic
  4.     constraints: arch=amd64 cpu-cores=40 mem=65536
  5.   '1':
  6.     series: bionic
  7.     constraints: arch=amd64 cpu-cores=40 mem=65536
  8.   '2':
  9.     series: bionic
  10.     constraints: arch=amd64 cpu-cores=40 mem=65536
  11.   '3':
  12.     series: bionic
  13.     constraints: arch=amd64 cpu-cores=48 mem=262144
  14. relations:
  15.  - [ "aodh:amqp", "rabbitmq-server:amqp" ]
  16.   - [ "aodh:identity-service", "keystone:identity-service" ]
  17.   - [ "aodh:shared-db", "mysql:shared-db" ]
  18.   - [ "aodh", "aodh-hacluster" ]
  19.   - [ "barbican", "barbican-hacluster" ]
  20.   - [ "barbican", "keystone" ]
  21.   - [ "barbican", "mysql" ]
  22.   - [ "barbican", "rabbitmq-server" ]
  23.   - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
  24.   - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
  25.   - [ "ceilometer-agent", "nova-compute" ]
  26.   - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
  27.   - [ "ceilometer:identity-credentials", "keystone:identity-credentials" ]
  28.   - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
  29.   - [ "ceilometer", "ceilometer-hacluster" ]
  30.   - [ "ceph-mon:client", "cinder-ceph:ceph" ]
  31.   - [ "ceph-mon:client", "glance:ceph" ]
  32.   - [ "ceph-mon:client", "nova-compute:ceph" ]
  33.   - [ "ceph-osd:mon", "ceph-mon:osd" ]
  34.   - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
  35.   - [ "cinder:amqp", "rabbitmq-server:amqp" ]
  36.   - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
  37.   - [ "cinder:identity-service", "keystone:identity-service" ]
  38.   - [ "cinder:image-service", "glance:image-service" ]
  39.   - [ "cinder:shared-db", "mysql:shared-db" ]
  40.   - [ "cinder", "ceph-mon" ]
  41.   - [ "cinder", "cinder-ceph" ]
  42.   - [ "cinder", "cinder-hacluster" ]
  43.   - [ "glance:amqp", "rabbitmq-server:amqp" ]
  44.   - [ "glance:identity-service", "keystone:identity-service" ]
  45.   - [ "glance:shared-db", "mysql:shared-db" ]
  46.   - [ "glance", "glance-hacluster" ]
  47.   - [ "glance", "nova-cloud-controller" ]
  48.   - [ "gnocchi:amqp", "rabbitmq-server:amqp" ]
  49.   - [ "gnocchi:coordinator-memcached", "memcached:cache" ]
  50.   - [ "gnocchi:identity-service", "keystone:identity-service" ]
  51.   - [ "gnocchi:metric-service", "ceilometer:metric-service" ]
  52.   - [ "gnocchi:shared-db", "mysql:shared-db" ]
  53.   - [ "gnocchi:storage-ceph", "ceph-mon:client" ]
  54.   - [ "gnocchi", "gnocchi-hacluster" ]
  55.   - [ "heat", "heat-hacluster" ]
  56.   - [ "heat", "keystone" ]
  57.   - [ "heat", "mysql" ]
  58.   - [ "heat", "rabbitmq-server" ]
  59.   - [ "keystone:shared-db", "mysql:shared-db" ]
  60.   - [ "keystone", "keystone-hacluster" ]
  61.   - [ "mysql", "mysql-hacluster" ]
  62.   - [ "neutron-api:amqp", "rabbitmq-server:amqp" ]
  63.   - [ "neutron-api:identity-service", "keystone:identity-service" ]
  64.   - [ "neutron-api:shared-db", "mysql:shared-db" ]
  65.   - [ "neutron-api", "neutron-hacluster" ]
  66.   - [ "neutron-gateway:amqp", "rabbitmq-server:amqp" ]
  67.   - [ "neutron-gateway:neutron-plugin-api", "neutron-api:neutron-plugin-api" ]
  68.   - [ "neutron-openvswitch:amqp", "rabbitmq-server:amqp" ]
  69.   - [ "neutron-openvswitch:neutron-plugin-api", "neutron-api:neutron-plugin-api" ]
  70.   - [ "nova-cloud-controller:amqp", "rabbitmq-server:amqp" ]
  71.   - [ "nova-cloud-controller:cloud-compute", "nova-compute:cloud-compute" ]
  72.   - [ "nova-cloud-controller:identity-service", "keystone:identity-service" ]
  73.   - [ "nova-cloud-controller:image-service", "glance:image-service" ]
  74.   - [ "nova-cloud-controller:neutron-api", "neutron-api:neutron-api" ]
  75.   - [ "nova-cloud-controller:quantum-network-service", "neutron-gateway:quantum-network-service" ]
  76.   - [ "nova-cloud-controller:shared-db", "mysql:shared-db" ]
  77.   - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
  78.   - [ "nova-compute:ceph-access", "cinder-ceph:ceph-access" ]
  79.   - [ "nova-compute:image-service", "glance:image-service" ]
  80.   - [ "nova-compute:neutron-plugin", "neutron-openvswitch:neutron-plugin" ]
  81.   - [ "ntp:juju-info", "neutron-gateway:juju-info" ]
  82.   - [ "ntp:juju-info", "nova-compute:juju-info" ]
  83.   - [ "openstack-dashboard:identity-service", "keystone:identity-service" ]
  84.   - [ "openstack-dashboard", "openstack-dashboard-hacluster" ]
  85.  
  86. series: bionic
  87. services:
  88.   aodh:
  89.     bindings:
  90.       "": trn-api
  91.     charm: cs:aodh
  92.     num_units: 3
  93.     options:
  94.       openstack-origin: cloud:bionic-rocky
  95.       vip: 10.20.18.238
  96.       os-public-hostname: aodh.os.mydomain.com
  97.     to:
  98.    - lxd:0
  99.     - lxd:1
  100.     - lxd:2
  101.   aodh-hacluster:
  102.     charm: cs:hacluster
  103.     options:
  104.       cluster_count: 3
  105.     num_units: 0
  106.   barbican:
  107.     bindings:
  108.       "": trn-api
  109.     charm: cs:barbican
  110.     num_units: 3
  111.     options:
  112.       openstack-origin: cloud:bionic-rocky
  113.       vip: 10.20.18.237
  114.       os-public-hostname: barbican.os.mydomain.com
  115.     to:
  116.    - lxd:0
  117.     - lxd:1
  118.     - lxd:2
  119.   barbican-hacluster:
  120.     charm: cs:hacluster
  121.     options:
  122.       cluster_count: 3
  123.     num_units: 0
  124.   ceilometer:
  125.     bindings:
  126.       "": trn-api
  127.       public: trn-api
  128.       admin: trn-api
  129.       internal: trn-api
  130.     charm: cs:ceilometer
  131.     num_units: 3
  132.     options:
  133.       openstack-origin: cloud:bionic-rocky
  134.       os-public-hostname: ceilometer.os.mydomain.com
  135.       vip: 10.20.18.249
  136.     to:
  137.    - lxd:0
  138.     - lxd:1
  139.     - lxd:2
  140.   ceilometer-hacluster:
  141.     charm: cs:hacluster
  142.     options:
  143.       cluster_count: 3
  144.     num_units: 0
  145.   ceilometer-agent:
  146.     charm: cs:ceilometer-agent
  147.     num_units: 0
  148.   ceph-mon:
  149.     bindings:
  150.       "": trn-api
  151.       cluster: trn-storage
  152.     charm: cs:ceph-mon
  153.     num_units: 3
  154.     options:
  155.       default-rbd-features: 1
  156.       # expected-osd-count: 3
  157.       source: cloud:bionic-rocky
  158.     to:
  159.    - lxd:0
  160.     - lxd:1
  161.     - lxd:2
  162.   ceph-osd:
  163.     bindings:
  164.       "": trn-api
  165.       cluster: trn-storage
  166.       # mon: trn-api
  167.       # public: trn-api
  168.     charm: cs:ceph-osd
  169.     num_units: 3
  170.     options:
  171.       autotune: true
  172.       osd-devices: /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh
  173.       source: cloud:bionic-rocky
  174.     to:
  175.    - '0'
  176.     - '1'
  177.     - '2'
  178.   # ceph-radosgw:
  179.   #   charm: cs:ceph-radosgw
  180.   #   num_units: 1
  181.   #   options:
  182.   #     source: cloud:bionic-rocky
  183.   #   to:
  184.   #   - lxd:0
  185.   cinder:
  186.     bindings:
  187.       "": trn-api
  188.       public: trn-api
  189.       admin: trn-api
  190.       internal: trn-api
  191.       shared-db: trn-api
  192.     charm: cs:cinder
  193.     num_units: 3
  194.     options:
  195.       block-device: None
  196.       glance-api-version: 2
  197.       openstack-origin: cloud:bionic-rocky
  198.       worker-multiplier: 0.25
  199.       vip: 10.20.18.241
  200.     to:
  201.    - lxd:0
  202.     - lxd:1
  203.     - lxd:2
  204.   cinder-hacluster:
  205.     charm: cs:hacluster
  206.     options:
  207.       cluster_count: 3
  208.     num_units: 0
  209.   cinder-ceph:
  210.     charm: cs:cinder-ceph
  211.     num_units: 0
  212.   # hacluster:
  213.   #   charm: cs:hacluster
  214.   #   num_units: 3
  215.   #   options:
  216.   #     monitor_host: 10.20.18.1
  217.   #     cluster_count: 3
  218.   #   bindings:
  219.   #     "": trn-api
  220.   #   to:
  221.   #   - lxd:0
  222.   #   - lxd:1
  223.   #   - lxd:2
  224.   glance:
  225.     bindings:
  226.       "": trn-api
  227.       public: trn-api
  228.       admin: trn-api
  229.       internal: trn-api
  230.       shared-db: trn-api
  231.       ceph: trn-storage
  232.     charm: cs:glance
  233.     num_units: 3
  234.     options:
  235.       openstack-origin: cloud:bionic-rocky
  236.       vip: 10.20.18.242
  237.     to:
  238.    - lxd:0
  239.     - lxd:1
  240.     - lxd:2
  241.   glance-hacluster:
  242.     charm: cs:hacluster
  243.     options:
  244.       cluster_count: 3
  245.     num_units: 0
  246.   heat:
  247.     bindings:
  248.       "": trn-api
  249.     charm: cs:heat
  250.     num_units: 3
  251.     options:
  252.       vip: 10.20.18.244
  253.       vip_cidr: 24
  254.     to:
  255.    - lxd:0
  256.     - lxd:1
  257.     - lxd:2
  258.   heat-hacluster:
  259.     charm: cs:hacluster
  260.     options:
  261.       cluster_count: 3
  262.     num_units: 0
  263.   gnocchi:
  264.     bindings:
  265.       "": trn-api
  266.     charm: cs:gnocchi
  267.     num_units: 3
  268.     options:
  269.       openstack-origin: cloud:bionic-rocky
  270.       vip: 10.20.18.239
  271.       os-public-hostname: gnocchi.os.mydomain.com
  272.     to:
  273.    - lxd:0
  274.     - lxd:1
  275.     - lxd:2
  276.   gnocchi-hacluster:
  277.     charm: cs:hacluster
  278.     options:
  279.       cluster_count: 3
  280.     num_units: 0
  281.   keystone:
  282.     bindings:
  283.       "": trn-api
  284.       public: trn-api
  285.       admin: trn-api
  286.       internal: trn-api
  287.       shared-db: trn-api
  288.     charm: cs:keystone
  289.     num_units: 3
  290.     options:
  291.       openstack-origin: cloud:bionic-rocky
  292.       admin-password: openstack
  293.       # ssl_ca:   include-base64://path-to-base64-encoded-ca-data
  294.       # ssl_cert: include-base64://path-to-base64-encoded-certificate-data
  295.       # ssl_key:  include-base64://path-to-base64-encoded-key-data
  296.       vip: 10.20.18.245
  297.     to:
  298.    - lxd:0
  299.     - lxd:1
  300.     - lxd:2
  301.   keystone-hacluster:
  302.     charm: cs:hacluster
  303.     options:
  304.       cluster_count: 3
  305.     num_units: 0
  306.   # lxd:
  307.   #   charm: cs:lxd
  308.   #   num_units: 0
  309.   #   options:
  310.   #     block-devices: /dev/sdb
  311.   #     storage-type: zfs
  312.   mysql:
  313.     bindings:
  314.       "": trn-api
  315.     charm: cs:percona-cluster
  316.     num_units: 3
  317.     options:
  318.       innodb-buffer-pool-size: 256M
  319.       max-connections: 20000
  320.       source: cloud:bionic-rocky
  321.       vip: 10.20.18.243
  322.       min-cluster-size: 3
  323.     to:
  324.    - lxd:0
  325.     - lxd:1
  326.     - lxd:2
  327.   mysql-hacluster:
  328.     charm: cs:hacluster
  329.     options:
  330.       cluster_count: 3
  331.     num_units: 0
  332.   memcached:
  333.     bindings:
  334.       "": trn-api
  335.       cluster: trn-api
  336.       cache: trn-api
  337.       munin: trn-api
  338.       monitors: trn-api
  339.     charm: cs:memcached
  340.     num_units: 3
  341.     options:
  342.      # repcached: true
  343.     to:
  344.    - lxd:0
  345.     - lxd:1
  346.     - lxd:2
  347.   neutron-api:
  348.     bindings:
  349.       "": trn-api
  350.       public: trn-api
  351.       admin: trn-api
  352.       internal: trn-api
  353.       shared-db: trn-api
  354.     charm: cs:neutron-api
  355.     num_units: 3
  356.     options:
  357.      # dns-domain: vm.mydomain.com.
  358.       flat-network-providers: physnet1
  359.       neutron-security-groups: true
  360.       quota-network: -1
  361.       quota-pool: -1
  362.       quota-port: -1
  363.       quota-router: -1
  364.       quota-security-group: -1
  365.       quota-security-group-rule: -1
  366.       quota-subnet: -1
  367.       quota-vip: -1
  368.       vip: 10.20.18.236
  369.       vlan-ranges: 'physnet1:100:300'
  370.     to:
  371.    - lxd:0
  372.     - lxd:1
  373.     - lxd:2
  374.   neutron-gateway:
  375.     charm: cs:neutron-gateway
  376.     num_units: 3
  377.     options:
  378.       bridge-mappings: physnet1:br-ex
  379.       data-port: br-ex:bond1
  380.       vlan-ranges: 'physnet1:100:300'
  381.       # instance-mtu: 1456
  382.       openstack-origin: cloud:bionic-rocky
  383.       worker-multiplier: 0.25
  384.     to:
  385.    - '0'
  386.     - '1'
  387.     - '2'
  388.   neutron-hacluster:
  389.     charm: cs:hacluster
  390.     options:
  391.       cluster_count: 3
  392.     num_units: 0
  393.   neutron-openvswitch:
  394.     bindings:
  395.       "": trn-api
  396.       data: trn-api
  397.     charm: cs:neutron-openvswitch
  398.     options:
  399.       bridge-mappings: 'physnet1:br-ex'
  400.       data-port: 'br-ex:bond1'
  401.       dns-servers: 8.8.8.8 8.8.4.4
  402.       firewall-driver: openvswitch
  403.       flat-network-providers: bond1
  404.       vlan-ranges: 'physnet1:100:300'    
  405.   nova-cloud-controller:
  406.     bindings:
  407.       "": trn-api
  408.       public: trn-api
  409.       admin: trn-api
  410.       internal: trn-api
  411.       shared-db: trn-api
  412.     charm: cs:nova-cloud-controller
  413.     num_units: 3
  414.     options:
  415.       network-manager: Neutron
  416.       openstack-origin: cloud:bionic-rocky
  417.       # worker-multiplier: 0.25
  418.       console-access-protocol: spice
  419.       single-nova-consoleauth: false
  420.       ram-allocation-ratio: "2.0"
  421.       cpu-allocation-ratio: "16.0"
  422.       os-public-hostname: ncc.os.mydomain.com
  423.       vip: 10.20.18.247
  424.     to:
  425.    - lxd:0
  426.     - lxd:1
  427.     - lxd:2
  428.   nova-compute:
  429.     bindings:
  430.       "": trn-api
  431.       ceph: trn-storage
  432.     charm: cs:nova-compute
  433.     num_units: 1
  434.     options:
  435.      # config-flags: default_ephemeral_format=ext4
  436.       enable-live-migration: true
  437.       enable-resize: true
  438.       flat-interface: bond1
  439.       ksm: "1"
  440.       libvirt-image-backend: rbd
  441.       migration-auth-type: ssh
  442.       openstack-origin: cloud:bionic-rocky
  443.       rbd-pool: vms
  444.       virt-type: kvm
  445.     to:
  446.    - '3'
  447.     # - '4'
  448.     # - '5'
  449.   ntp:
  450.     charm: cs:ntp
  451.     num_units: 0
  452.   openstack-dashboard:
  453.     bindings:
  454.       "": trn-api
  455.       cluster: trn-api
  456.       public: trn-api
  457.       ha: trn-api
  458.     charm: cs:openstack-dashboard
  459.     num_units: 3
  460.     options:
  461.       cinder-backup: true
  462.       openstack-origin: cloud:bionic-rocky
  463.       os-public-hostname: manage.mydomain.com
  464.       neutron-network-vpn: true
  465.       neutron-network-firewall: true
  466.       # ubuntu-theme: "no"
  467.       vip: 10.20.18.246
  468.       ssl_key: include-base64://certs/st.key
  469.       ssl_ca: include-base64://certs/st.ca
  470.       ssl_cert: include-base64://certs/st.crt
  471.     to:
  472.    - lxd:0
  473.     - lxd:1
  474.     - lxd:2
  475.   openstack-dashboard-hacluster:
  476.     charm: cs:hacluster
  477.     options:
  478.       cluster_count: 3
  479.     num_units: 0
  480.   rabbitmq-server:
  481.     bindings:
  482.       "": trn-api
  483.       amqp: trn-api
  484.     charm: cs:rabbitmq-server
  485.     num_units: 3
  486.     options:
  487.       vip: 10.20.18.235
  488.       management_plugin: true
  489.       min-cluster-size: 3
  490.       # ssl_key: include-base64://certs/st.key
  491.       # ssl_ca: include-base64://certs/st.ca
  492.       # ssl_cert: include-base64://certs/st.crt
  493.     to:
  494.    - lxd:0
  495.     - lxd:1
  496.     - lxd:2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement