blob: 2b0f0a2801c0fd5f12485dc6b7d088aca404bf8b [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 Karpind9629252018-09-18 14:02:40 +03005- system.linux.system.repo.mcp.apt_mirantis.openstack
Mykyta Karpin912ac972018-03-20 11:29:23 +02006- 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}
Vasyl Saienkob6b4a0b2018-09-18 21:45:32 +030070 cluster_internal_protocol: https
Mykyta Karpin912ac972018-03-20 11:29:23 +020071 linux:
72 network:
73 interface:
74 ens4:
75 enabled: true
76 type: eth
77 proto: static
78 address: ${_param:single_address}
79 netmask: 255.255.255.0
80 salt:
81 minion:
82 cert:
83 internal_proxy:
84 host: ${_param:salt_minion_ca_host}
85 authority: ${_param:salt_minion_ca_authority}
86 common_name: internal_proxy
87 signing_policy: cert_open
88 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}
89 key_file: "/etc/ssl/private/internal_proxy.key"
90 cert_file: "/etc/ssl/certs/internal_proxy.crt"
91 all_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
92 keepalived:
93 cluster:
94 instance:
95 VIP:
96 virtual_router_id: 160
97 redis:
98 server:
99 version: 3.0
100 bind:
101 address: ${_param:single_address}
102 cluster:
103 enabled: True
104 mode: sentinel
105 role: ${_param:redis_cluster_role}
106 quorum: 2
107 master:
108 host: ${_param:cluster_node01_address}
109 port: 6379
110 sentinel:
111 address: ${_param:single_address}
112 apache:
113 server:
114 modules:
115 - wsgi
116 gnocchi:
117 common:
118 database:
119 host: ${_param:openstack_database_address}
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300120 ssl:
121 enabled: ${_param:galera_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200122 server:
123 identity:
124 protocol: https
125 pkgs:
126 # TODO: move python-memcache installation to formula
127 - gnocchi-api
128 - gnocchi-metricd
129 - python-memcache
130 panko:
131 server:
132 identity:
133 protocol: https
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300134 database:
135 ssl:
136 enabled: ${_param:galera_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200137 aodh:
138 server:
139 bind:
140 host: 127.0.0.1
141 coordination_backend:
142 url: ${_param:openstack_telemetry_redis_url}
143 identity:
144 protocol: https
145 host: ${_param:openstack_control_address}
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300146 database:
147 ssl:
148 enabled: ${_param:galera_ssl_enabled}
149 message_queue:
150 port: ${_param:rabbitmq_port}
151 ssl:
152 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200153 ceilometer:
154 server:
155 bind:
156 host: 127.0.0.1
157 coordination_backend:
158 url: ${_param:openstack_telemetry_redis_url}
159 identity:
160 protocol: https
161 host: ${_param:openstack_control_address}
Vasyl Saienkoe43865c2018-03-30 22:00:39 +0300162 message_queue:
163 port: ${_param:rabbitmq_port}
164 ssl:
165 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpin912ac972018-03-20 11:29:23 +0200166 haproxy:
167 proxy:
168 listen:
169 panko_api:
170 type: ~
Mykyta Karpin912ac972018-03-20 11:29:23 +0200171 gnocchi_api:
172 type: ~
173 aodh-api:
174 type: ~