Mykyta Karpin | 912ac97 | 2018-03-20 11:29:23 +0200 | [diff] [blame^] | 1 | classes: |
| 2 | - system.salt.minion.cert.proxy |
| 3 | - system.linux.system.repo.ubuntu |
| 4 | - system.linux.system.repo.glusterfs |
| 5 | - system.linux.system.repo.mcp.openstack |
| 6 | - system.memcached.server.single |
| 7 | - system.apache.server.single |
| 8 | - system.apache.server.site.gnocchi |
| 9 | - system.apache.server.site.panko |
| 10 | - system.glusterfs.server.cluster |
| 11 | - system.glusterfs.client.cluster |
| 12 | - system.glusterfs.client.volume.gnocchi |
| 13 | - system.glusterfs.server.volume.gnocchi |
| 14 | - service.redis.server.single |
| 15 | - system.nginx.server.single |
| 16 | - system.nginx.server.proxy.openstack.aodh |
| 17 | - system.nginx.server.proxy.openstack.ceilometer |
| 18 | - system.gnocchi.server.cluster |
| 19 | - system.gnocchi.common.storage.incoming.redis |
| 20 | - system.gnocchi.common.storage.file |
| 21 | - system.gnocchi.common.coordination.redis |
| 22 | - system.ceilometer.server.cluster |
| 23 | - system.ceilometer.server.coordination.redis |
| 24 | - system.aodh.server.cluster |
| 25 | - system.aodh.server.coordination.redis |
| 26 | - system.panko.server.cluster |
| 27 | - system.ceilometer.server.backend.default |
| 28 | - cluster.virtual-mcp-pike-dvr-ssl |
| 29 | parameters: |
| 30 | _param: |
| 31 | salt_minion_ca_authority: salt_master_ca |
| 32 | keepalived_openstack_telemetry_vip_address: ${_param:openstack_telemetry_address} |
| 33 | keepalived_openstack_telemetry_vip_password: ${_param:openstack_telemetry_keepalived_password} |
| 34 | keepalived_openstack_telemetry_vip_interface: ens3 |
| 35 | cluster_vip_address: ${_param:openstack_telemetry_address} |
| 36 | cluster_local_address: ${_param:single_address} |
| 37 | nginx_proxy_openstack_api_host: ${_param:openstack_telemetry_address} |
| 38 | nginx_proxy_openstack_api_address: ${_param:cluster_local_address} |
| 39 | nginx_proxy_openstack_ceilometer_host: 127.0.0.1 |
| 40 | nginx_proxy_openstack_aodh_host: 127.0.0.1 |
| 41 | nginx_proxy_ssl: |
| 42 | enabled: true |
| 43 | engine: salt |
| 44 | authority: "${_param:salt_minion_ca_authority}" |
| 45 | key_file: "/etc/ssl/private/internal_proxy.key" |
| 46 | cert_file: "/etc/ssl/certs/internal_proxy.crt" |
| 47 | chain_file: "/etc/ssl/certs/internal_proxy-with-chain.crt" |
| 48 | apache_gnocchi_api_address: ${_param:single_address} |
| 49 | apache_panko_api_address: ${_param:single_address} |
| 50 | apache_gnocchi_ssl: ${_param:nginx_proxy_ssl} |
| 51 | apache_panko_ssl: ${_param:nginx_proxy_ssl} |
| 52 | cluster_node01_hostname: ${_param:openstack_telemetry_node01_hostname} |
| 53 | cluster_node01_address: ${_param:openstack_telemetry_node01_address} |
| 54 | cluster_node02_hostname: ${_param:openstack_telemetry_node02_hostname} |
| 55 | cluster_node02_address: ${_param:openstack_telemetry_node02_address} |
| 56 | cluster_node03_hostname: ${_param:openstack_telemetry_node03_hostname} |
| 57 | cluster_node03_address: ${_param:openstack_telemetry_node03_address} |
| 58 | glusterfs_service_host: ${_param:openstack_telemetry_address} |
| 59 | gnocchi_glusterfs_service_host: ${_param:glusterfs_service_host} |
| 60 | redis_sentinel_node01_address: ${_param:openstack_telemetry_node01_address} |
| 61 | redis_sentinel_node02_address: ${_param:openstack_telemetry_node02_address} |
| 62 | redis_sentinel_node03_address: ${_param:openstack_telemetry_node03_address} |
| 63 | openstack_telemetry_redis_url: redis://${_param:redis_sentinel_node01_address}:26379?sentinel=master_1&sentinel_fallback=${_param:redis_sentinel_node02_address}:26379&sentinel_fallback=${_param:redis_sentinel_node03_address}:26379 |
| 64 | gnocchi_coordination_url: ${_param:openstack_telemetry_redis_url} |
| 65 | gnocchi_storage_incoming_redis_url: ${_param:openstack_telemetry_redis_url} |
| 66 | glusterfs_node01_address: ${_param:cluster_node01_address} |
| 67 | glusterfs_node02_address: ${_param:cluster_node02_address} |
| 68 | glusterfs_node03_address: ${_param:cluster_node03_address} |
| 69 | linux: |
| 70 | network: |
| 71 | interface: |
| 72 | ens4: |
| 73 | enabled: true |
| 74 | type: eth |
| 75 | proto: static |
| 76 | address: ${_param:single_address} |
| 77 | netmask: 255.255.255.0 |
| 78 | salt: |
| 79 | minion: |
| 80 | cert: |
| 81 | internal_proxy: |
| 82 | host: ${_param:salt_minion_ca_host} |
| 83 | authority: ${_param:salt_minion_ca_authority} |
| 84 | common_name: internal_proxy |
| 85 | signing_policy: cert_open |
| 86 | alternative_names: IP:127.0.0.1,IP:${_param:cluster_local_address},IP:${_param:openstack_telemetry_address},DNS:${linux:system:name},DNS:${linux:network:fqdn},DNS:${_param:cluster_local_address},DNS:${_param:openstack_telemetry_address} |
| 87 | key_file: "/etc/ssl/private/internal_proxy.key" |
| 88 | cert_file: "/etc/ssl/certs/internal_proxy.crt" |
| 89 | all_file: "/etc/ssl/certs/internal_proxy-with-chain.crt" |
| 90 | keepalived: |
| 91 | cluster: |
| 92 | instance: |
| 93 | VIP: |
| 94 | virtual_router_id: 160 |
| 95 | redis: |
| 96 | server: |
| 97 | version: 3.0 |
| 98 | bind: |
| 99 | address: ${_param:single_address} |
| 100 | cluster: |
| 101 | enabled: True |
| 102 | mode: sentinel |
| 103 | role: ${_param:redis_cluster_role} |
| 104 | quorum: 2 |
| 105 | master: |
| 106 | host: ${_param:cluster_node01_address} |
| 107 | port: 6379 |
| 108 | sentinel: |
| 109 | address: ${_param:single_address} |
| 110 | apache: |
| 111 | server: |
| 112 | modules: |
| 113 | - wsgi |
| 114 | gnocchi: |
| 115 | common: |
| 116 | database: |
| 117 | host: ${_param:openstack_database_address} |
| 118 | server: |
| 119 | identity: |
| 120 | protocol: https |
| 121 | pkgs: |
| 122 | # TODO: move python-memcache installation to formula |
| 123 | - gnocchi-api |
| 124 | - gnocchi-metricd |
| 125 | - python-memcache |
| 126 | panko: |
| 127 | server: |
| 128 | identity: |
| 129 | protocol: https |
| 130 | aodh: |
| 131 | server: |
| 132 | bind: |
| 133 | host: 127.0.0.1 |
| 134 | coordination_backend: |
| 135 | url: ${_param:openstack_telemetry_redis_url} |
| 136 | identity: |
| 137 | protocol: https |
| 138 | host: ${_param:openstack_control_address} |
| 139 | ceilometer: |
| 140 | server: |
| 141 | bind: |
| 142 | host: 127.0.0.1 |
| 143 | coordination_backend: |
| 144 | url: ${_param:openstack_telemetry_redis_url} |
| 145 | identity: |
| 146 | protocol: https |
| 147 | host: ${_param:openstack_control_address} |
| 148 | haproxy: |
| 149 | proxy: |
| 150 | listen: |
| 151 | panko_api: |
| 152 | type: ~ |
| 153 | ceilometer_api: |
| 154 | type: ~ |
| 155 | gnocchi_api: |
| 156 | type: ~ |
| 157 | aodh-api: |
| 158 | type: ~ |