blob: 8ad711defe96795f3c5b7186e714d1a0b0e39a29 [file] [log] [blame]
Mykyta Karpin912ac972018-03-20 11:29:23 +02001classes:
2- system.salt.minion.cert.proxy
azvyagintsev2859f0e2018-06-11 17:45:47 +03003- system.linux.system.repo.mcp.apt_mirantis.ubuntu
Mykyta Karpin04b674e2018-07-06 13:45:50 +03004- system.linux.system.repo.mcp.apt_mirantis.glusterfs
Mykyta Karpin912ac972018-03-20 11:29:23 +02005- 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
Mykyta Karpina75691c2018-07-31 09:49:49 +000017- system.apache.server.ssl
18- system.nginx.server.proxy.ssl
Mykyta Karpin912ac972018-03-20 11:29:23 +020019- system.gnocchi.server.cluster
20- system.gnocchi.common.storage.incoming.redis
21- system.gnocchi.common.storage.file
22- system.gnocchi.common.coordination.redis
Mykyta Karpin976cc202018-07-11 06:28:24 +030023- system.ceilometer.server.telemetry.cluster
Mykyta Karpin912ac972018-03-20 11:29:23 +020024- system.ceilometer.server.coordination.redis
25- system.aodh.server.cluster
26- system.aodh.server.coordination.redis
27- system.panko.server.cluster
Mykyta Karpin976cc202018-07-11 06:28:24 +030028- system.ceilometer.server.backend.gnocchi
Mykyta Karpin912ac972018-03-20 11:29:23 +020029- cluster.virtual-mcp-pike-dvr-ssl
30parameters:
31 _param:
32 salt_minion_ca_authority: salt_master_ca
33 keepalived_openstack_telemetry_vip_address: ${_param:openstack_telemetry_address}
34 keepalived_openstack_telemetry_vip_password: ${_param:openstack_telemetry_keepalived_password}
Mykyta Karpin9a276cb2018-03-29 11:23:05 +030035 keepalived_openstack_telemetry_vip_interface: ens4
Mykyta Karpin912ac972018-03-20 11:29:23 +020036 cluster_vip_address: ${_param:openstack_telemetry_address}
37 cluster_local_address: ${_param:single_address}
38 nginx_proxy_openstack_api_host: ${_param:openstack_telemetry_address}
39 nginx_proxy_openstack_api_address: ${_param:cluster_local_address}
Mykyta Karpin912ac972018-03-20 11:29:23 +020040 nginx_proxy_openstack_aodh_host: 127.0.0.1
41 nginx_proxy_ssl:
Mykyta Karpina75691c2018-07-31 09:49:49 +000042 authority: "${_param:salt_minion_ca_authority}"
43 key_file: "/etc/ssl/private/internal_proxy.key"
44 cert_file: "/etc/ssl/certs/internal_proxy.crt"
45 chain_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
46 apache_ssl:
Mykyta Karpin912ac972018-03-20 11:29:23 +020047 authority: "${_param:salt_minion_ca_authority}"
48 key_file: "/etc/ssl/private/internal_proxy.key"
49 cert_file: "/etc/ssl/certs/internal_proxy.crt"
50 chain_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
51 apache_gnocchi_api_address: ${_param:single_address}
52 apache_panko_api_address: ${_param:single_address}
Mykyta Karpin912ac972018-03-20 11:29:23 +020053 cluster_node01_hostname: ${_param:openstack_telemetry_node01_hostname}
54 cluster_node01_address: ${_param:openstack_telemetry_node01_address}
55 cluster_node02_hostname: ${_param:openstack_telemetry_node02_hostname}
56 cluster_node02_address: ${_param:openstack_telemetry_node02_address}
57 cluster_node03_hostname: ${_param:openstack_telemetry_node03_hostname}
58 cluster_node03_address: ${_param:openstack_telemetry_node03_address}
59 glusterfs_service_host: ${_param:openstack_telemetry_address}
60 gnocchi_glusterfs_service_host: ${_param:glusterfs_service_host}
61 redis_sentinel_node01_address: ${_param:openstack_telemetry_node01_address}
62 redis_sentinel_node02_address: ${_param:openstack_telemetry_node02_address}
63 redis_sentinel_node03_address: ${_param:openstack_telemetry_node03_address}
64 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
65 gnocchi_coordination_url: ${_param:openstack_telemetry_redis_url}
66 gnocchi_storage_incoming_redis_url: ${_param:openstack_telemetry_redis_url}
67 glusterfs_node01_address: ${_param:cluster_node01_address}
68 glusterfs_node02_address: ${_param:cluster_node02_address}
69 glusterfs_node03_address: ${_param:cluster_node03_address}
70 linux:
71 network:
72 interface:
73 ens4:
74 enabled: true
75 type: eth
76 proto: static
77 address: ${_param:single_address}
78 netmask: 255.255.255.0
79 salt:
80 minion:
81 cert:
82 internal_proxy:
83 host: ${_param:salt_minion_ca_host}
84 authority: ${_param:salt_minion_ca_authority}
85 common_name: internal_proxy
86 signing_policy: cert_open
87 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}
88 key_file: "/etc/ssl/private/internal_proxy.key"
89 cert_file: "/etc/ssl/certs/internal_proxy.crt"
90 all_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
91 keepalived:
92 cluster:
93 instance:
94 VIP:
95 virtual_router_id: 160
96 redis:
97 server:
98 version: 3.0
99 bind:
100 address: ${_param:single_address}
101 cluster:
102 enabled: True
103 mode: sentinel
104 role: ${_param:redis_cluster_role}
105 quorum: 2
106 master:
107 host: ${_param:cluster_node01_address}
108 port: 6379
109 sentinel:
110 address: ${_param:single_address}
111 apache:
112 server:
113 modules:
114 - wsgi
115 gnocchi:
116 common:
117 database:
118 host: ${_param:openstack_database_address}
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300119 ssl:
120 enabled: ${_param:galera_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200121 server:
122 identity:
123 protocol: https
124 pkgs:
125 # TODO: move python-memcache installation to formula
126 - gnocchi-api
127 - gnocchi-metricd
128 - python-memcache
129 panko:
130 server:
131 identity:
132 protocol: https
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300133 database:
134 ssl:
135 enabled: ${_param:galera_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200136 aodh:
137 server:
138 bind:
139 host: 127.0.0.1
140 coordination_backend:
141 url: ${_param:openstack_telemetry_redis_url}
142 identity:
143 protocol: https
144 host: ${_param:openstack_control_address}
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300145 database:
146 ssl:
147 enabled: ${_param:galera_ssl_enabled}
148 message_queue:
149 port: ${_param:rabbitmq_port}
150 ssl:
151 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200152 ceilometer:
153 server:
154 bind:
155 host: 127.0.0.1
156 coordination_backend:
157 url: ${_param:openstack_telemetry_redis_url}
158 identity:
159 protocol: https
160 host: ${_param:openstack_control_address}
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300161 message_queue:
162 port: ${_param:rabbitmq_port}
163 ssl:
164 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200165 haproxy:
166 proxy:
167 listen:
168 panko_api:
169 type: ~
Mykyta Karpin912ac972018-03-20 11:29:23 +0200170 gnocchi_api:
171 type: ~
172 aodh-api:
173 type: ~