blob: a59b9a725f2a786e3aa128798f1863b25c8bcea5 [file] [log] [blame]
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +03001classes:
2- system.salt.minion.cert.proxy
3- system.linux.system.repo_local.mcp.apt_mirantis.openstack
4- system.linux.system.repo_local.mcp.extra
azvyagintsev98cba952018-07-13 12:40:53 +03005- system.linux.system.repo.mcp.apt_mirantis.saltstack
6- system.linux.system.repo.mcp.apt_mirantis.glusterfs
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +03007- system.linux.system.repo_local.mcp.apt_mirantis.ceph
8- system.memcached.server.single
9- system.apache.server.single
10- system.apache.server.site.gnocchi
11- system.apache.server.site.panko
12- system.glusterfs.server.cluster
13- system.glusterfs.client.cluster
14- system.glusterfs.client.volume.gnocchi
15- system.glusterfs.server.volume.gnocchi
16- service.redis.server.single
17- system.nginx.server.single
18- system.nginx.server.proxy.openstack.aodh
Mykyta Karpina75691c2018-07-31 09:49:49 +000019- system.apache.server.ssl
20- system.nginx.server.proxy.ssl
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030021- system.gnocchi.server.cluster
22- system.gnocchi.common.storage.incoming.redis
23- system.gnocchi.common.storage.file
24- system.gnocchi.common.coordination.redis
Mykyta Karpin015e7b32018-07-26 11:00:02 +030025- system.ceilometer.server.telemetry.cluster
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030026- system.ceilometer.server.coordination.redis
27- system.aodh.server.cluster
28- system.aodh.server.coordination.redis
29- system.panko.server.cluster
Mykyta Karpin015e7b32018-07-26 11:00:02 +030030- system.ceilometer.server.backend.gnocchi
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030031- cluster.virtual-offline-ssl
32parameters:
33 _param:
34 salt_minion_ca_authority: salt_master_ca
35 keepalived_openstack_telemetry_vip_address: ${_param:openstack_telemetry_address}
36 keepalived_openstack_telemetry_vip_password: ${_param:openstack_telemetry_keepalived_password}
37 keepalived_openstack_telemetry_vip_interface: ens4
38 cluster_vip_address: ${_param:openstack_telemetry_address}
39 cluster_local_address: ${_param:single_address}
40 nginx_proxy_openstack_api_host: ${_param:openstack_telemetry_address}
41 nginx_proxy_openstack_api_address: ${_param:cluster_local_address}
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030042 nginx_proxy_openstack_aodh_host: 127.0.0.1
43 nginx_proxy_ssl:
Mykyta Karpina75691c2018-07-31 09:49:49 +000044 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_ssl:
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030049 authority: "${_param:salt_minion_ca_authority}"
50 key_file: "/etc/ssl/private/internal_proxy.key"
51 cert_file: "/etc/ssl/certs/internal_proxy.crt"
52 chain_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
53 apache_gnocchi_api_address: ${_param:single_address}
54 apache_panko_api_address: ${_param:single_address}
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030055 cluster_node01_hostname: ${_param:openstack_telemetry_node01_hostname}
56 cluster_node01_address: ${_param:openstack_telemetry_node01_address}
57 cluster_node02_hostname: ${_param:openstack_telemetry_node02_hostname}
58 cluster_node02_address: ${_param:openstack_telemetry_node02_address}
59 cluster_node03_hostname: ${_param:openstack_telemetry_node03_hostname}
60 cluster_node03_address: ${_param:openstack_telemetry_node03_address}
61 glusterfs_service_host: ${_param:openstack_telemetry_address}
62 gnocchi_glusterfs_service_host: ${_param:glusterfs_service_host}
63 redis_sentinel_node01_address: ${_param:openstack_telemetry_node01_address}
64 redis_sentinel_node02_address: ${_param:openstack_telemetry_node02_address}
65 redis_sentinel_node03_address: ${_param:openstack_telemetry_node03_address}
66 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
67 gnocchi_coordination_url: ${_param:openstack_telemetry_redis_url}
68 gnocchi_storage_incoming_redis_url: ${_param:openstack_telemetry_redis_url}
69 glusterfs_node01_address: ${_param:cluster_node01_address}
70 glusterfs_node02_address: ${_param:cluster_node02_address}
71 glusterfs_node03_address: ${_param:cluster_node03_address}
72 linux:
73 network:
74 interface:
75 ens4:
76 enabled: true
77 type: eth
78 proto: static
79 address: ${_param:single_address}
80 netmask: 255.255.255.0
81 salt:
82 minion:
83 cert:
84 internal_proxy:
85 host: ${_param:salt_minion_ca_host}
86 authority: ${_param:salt_minion_ca_authority}
87 common_name: internal_proxy
88 signing_policy: cert_open
89 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}
90 key_file: "/etc/ssl/private/internal_proxy.key"
91 cert_file: "/etc/ssl/certs/internal_proxy.crt"
92 all_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
93 keepalived:
94 cluster:
95 instance:
96 VIP:
97 virtual_router_id: 160
98 redis:
99 server:
100 version: 3.0
101 bind:
102 address: ${_param:single_address}
103 cluster:
104 enabled: True
105 mode: sentinel
106 role: ${_param:redis_cluster_role}
107 quorum: 2
108 master:
109 host: ${_param:cluster_node01_address}
110 port: 6379
111 sentinel:
112 address: ${_param:single_address}
113 apache:
114 server:
115 modules:
116 - wsgi
117 gnocchi:
118 common:
119 database:
120 host: ${_param:openstack_database_address}
121 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
133 aodh:
134 server:
135 bind:
136 host: 127.0.0.1
137 coordination_backend:
138 url: ${_param:openstack_telemetry_redis_url}
139 identity:
140 protocol: https
141 host: ${_param:openstack_control_address}
142 ceilometer:
143 server:
144 bind:
145 host: 127.0.0.1
146 coordination_backend:
147 url: ${_param:openstack_telemetry_redis_url}
148 identity:
149 protocol: https
150 host: ${_param:openstack_control_address}
151 haproxy:
152 proxy:
153 listen:
154 panko_api:
155 type: ~
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +0300156 gnocchi_api:
157 type: ~
158 aodh-api:
159 type: ~