blob: e7c04f72950ac0f7462b296d674b296d9effd2cc [file] [log] [blame]
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00001classes:
2- service.git.client
3- system.linux.system.single
Tatyana Leontovichc07941e2018-03-20 16:04:15 +02004- system.linux.system.single.debian
azvyagintsev98cba952018-07-13 12:40:53 +03005- system.linux.system.repo.mcp.apt_mirantis.saltstack
azvyagintsev03e26b12018-10-22 16:34:31 +03006- system.linux.system.repo.mcp.apt_mirantis.openstack
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +03007- system.linux.system.repo_local.mcp.salt
azvyagintsev03e26b12018-10-22 16:34:31 +03008- system.linux.system.repo.mcp.apt_mirantis.extra
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +03009- system.linux.system.repo.mcp.apt_mirantis.ubuntu
10- system.linux.system.repo.mcp.apt_mirantis.glusterfs
11- system.glusterfs.client.cluster
12- system.glusterfs.client.volume.salt_pki
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000013- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +020014- system.salt.master.api
Tatyana Leontovicha863ef32018-07-27 19:09:34 +030015- system.salt.master.formula.pkg.gnocchi
16- system.salt.master.formula.pkg.panko
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000017- system.salt.minion.ca.salt_master
18- system.salt.minion.cert.proxy
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000019- system.keystone.client.single
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000020- system.keystone.client.service.nova21
21- system.keystone.client.service.nova-placement
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000022- system.keystone.client.service.cinder3
23- system.keystone.client.service.designate
Tatyana Leontovicha863ef32018-07-27 19:09:34 +030024- system.keystone.client.service.aodh
25- system.keystone.client.service.ceilometer
26- system.keystone.client.service.panko
27- system.keystone.client.service.gnocchi
28- system.gnocchi.client
29- system.gnocchi.client.v1.archive_policy.default
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +030030- system.reclass.storage.salt
Tatyana Leontovicha863ef32018-07-27 19:09:34 +030031- system.reclass.storage.system.openstack_dns_cluster
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000032- system.reclass.storage.system.openstack_control_cluster
33- system.reclass.storage.system.openstack_compute_multi
34- system.reclass.storage.system.openstack_gateway_single
35- system.reclass.storage.system.openstack_dashboard_single
Tatyana Leontovicha863ef32018-07-27 19:09:34 +030036- system.reclass.storage.system.openstack_telemetry_cluster
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +030037- system.reclass.storage.system.cicd_control_cluster
38- service.jenkins.client
39- system.jenkins.client.credential.salt
40- system.jenkins.client.job.deploy.openstack
41- cluster.virtual-offline-pike-ovs-dpdk.infra
Tatyana Leontovich1e8154d2018-11-29 18:34:22 +020042- cluster.virtual-offline-pike-ovs-dpdk.infra.runtest
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +010043- cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_common
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000044parameters:
45 _param:
46 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
47 reclass_data_revision: master
48 salt_master_environment_repository: "https://github.com/tcpcloud"
49 salt_master_environment_revision: master
50 reclass_config_master: 192.168.10.90
51 single_address: 172.16.10.100
52 salt_master_host: 127.0.0.1
53 salt_master_base_environment: prd
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +030054 salt_minion_ca_host: cfg01.${_param:cluster_domain}
55 jenkins_git_url: 'git@cfg01:/home/repo'
56 jenkins_gerrit_url: ${_param:jenkins_git_url}
57 salt_api_password: 'hovno12345!'
58 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
59 jenkins_pipeline_library_url: git@cfg01:/home/repo/mcp-ci/pipeline-library
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000060 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
61 linux:
62 network:
63 interface:
64 ens4:
65 enabled: true
66 type: eth
67 proto: static
68 address: ${_param:single_address}
69 netmask: 255.255.255.0
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +030070 jenkins:
71 client:
72 lib:
73 pipeline-library:
74 url: ${_param:jenkins_pipeline_library_url}
75 branch: ${_param:jenkins_pipelines_branch}
76 master:
77 host: ${_param:salt_master_host}
78 port: 8081
79 password: r00tme
80 globalenvprop:
81 OFFLINE_DEPLOYMENT:
82 value: "true"
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000083 salt:
84 master:
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +010085 backup: true
Tatyana Leontovich42b50bf2018-07-19 22:02:43 +030086 initial_data:
87 engine: backupninja
88 source: ctl03
89 home_dir: /srv/volumes/backup/backupninja
90 host: cfg01.virtual-offline-pike-ovs-dpdk
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000091 reactor:
92 reclass/minion/classify:
93 - salt://reclass/reactor/node_register.sls
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +010094 minion:
95 backup: true
Tatyana Leontovich42b50bf2018-07-19 22:02:43 +030096 initial_data:
97 engine: backupninja
98 source: ctl03
99 home_dir: /srv/volumes/backup/backupninja
100 host: cfg01.virtual-offline-pike-ovs-dpdk
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000101 reclass:
102 storage:
103 class_mapping:
104 common_node:
105 expression: all
106 node_param:
107 single_address:
108 value_template: <<node_control_ip>>
109 linux_system_codename:
110 value_template: <<node_os>>
111 salt_master_host:
112 value_template: <<node_master_ip>>
113 infra_config:
114 expression: <<node_hostname>>__startswith__cfg
115 cluster_param:
116 infra_config_address:
117 value_template: <<node_control_ip>>
118 infra_config_deploy_address:
119 value_template: <<node_deploy_ip>>
120 cluster_domain:
121 value_template: <<node_domain>>
122 openstack_control01:
123 expression: <<node_hostname>>__equals__ctl01
124 cluster_param:
125 openstack_control_node01_address:
126 value_template: <<node_control_ip>>
127 openstack_control02:
128 expression: <<node_hostname>>__equals__ctl02
129 cluster_param:
130 openstack_control_node02_address:
131 value_template: <<node_control_ip>>
132 openstack_control03:
133 expression: <<node_hostname>>__equals__ctl03
134 cluster_param:
135 openstack_control_node03_address:
136 value_template: <<node_control_ip>>
137 openstack_compute:
138 expression: <<node_hostname>>__startswith__cmp
139 node_class:
140 value_template:
141 - cluster.<<node_cluster>>.openstack.compute
142 node_param:
143 tenant_address:
144 value_template: <<node_tenant_ip>>
145 external_address:
146 value_template: <<node_external_ip>>
147 openstack_gateway:
148 expression: <<node_hostname>>__startswith__gtw
149 node_class:
150 value_template:
151 - cluster.<<node_cluster>>.openstack.gateway
152 node_param:
153 tenant_address:
154 value_template: <<node_tenant_ip>>
155 external_address:
156 value_template: <<node_external_ip>>
157 cluster_param:
158 openstack_gateway_node01_address:
159 value_template: <<node_control_ip>>
Tatyana Leontovicha863ef32018-07-27 19:09:34 +0300160 openstack_dns01:
161 expression: <<node_hostname>>__equals__dns01
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000162 cluster_param:
Tatyana Leontovicha863ef32018-07-27 19:09:34 +0300163 openstack_dns_node01_address:
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000164 value_template: <<node_control_ip>>
Tatyana Leontovicha863ef32018-07-27 19:09:34 +0300165 openstack_dns02:
166 expression: <<node_hostname>>__equals__dns02
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000167 cluster_param:
Tatyana Leontovicha863ef32018-07-27 19:09:34 +0300168 openstack_dns_node02_address:
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000169 value_template: <<node_control_ip>>
170 openstack_dashboard:
171 expression: <<node_hostname>>__startswith__prx
172 node_class:
173 value_template:
174 - cluster.<<node_cluster>>.openstack.dashboard
175 - cluster.<<node_cluster>>.openstack.proxy
176 cluster_param:
177 openstack_proxy_node01_address:
178 value_template: <<node_control_ip>>
Tatyana Leontovicha863ef32018-07-27 19:09:34 +0300179 openstack_telemetry01:
180 expression: <<node_hostname>>__equals__mdb01
181 cluster_param:
182 openstack_telemetry_node01_address:
183 value_template: <<node_control_ip>>
184 openstack_telemetry02:
185 expression: <<node_hostname>>__equals__mdb02
186 cluster_param:
187 openstack_telemetry_node02_address:
188 value_template: <<node_control_ip>>
189 openstack_telemetry03:
190 expression: <<node_hostname>>__equals__mdb03
191 cluster_param:
192 openstack_telemetry_node03_address:
193 value_template: <<node_control_ip>>
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +0300194 cicd_control_node01:
195 expression: <<node_hostname>>__equals__cid01
196 cluster_param:
197 cicd_control_node01_address:
198 value_template: <<node_control_ip>>
199 cicd_control_node02:
200 expression: <<node_hostname>>__equals__cid02
201 cluster_param:
202 cicd_control_node02_address:
203 value_template: <<node_control_ip>>
204 cicd_control_node03:
205 expression: <<node_hostname>>__equals__cid03
206 cluster_param:
207 cicd_control_node03_address:
208 value_template: <<node_control_ip>>
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000209 node:
210 openstack_control_node01:
211 classes:
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +0100212 - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_mysql
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000213 - service.galera.master.cluster
214 params:
215 mysql_cluster_role: master
216 linux_system_codename: xenial
217 openstack_control_node02:
218 classes:
219 - service.galera.slave.cluster
220 params:
221 mysql_cluster_role: slave
222 linux_system_codename: xenial
223 openstack_control_node03:
224 classes:
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +0100225 - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.server
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000226 - service.galera.slave.cluster
227 params:
228 mysql_cluster_role: slave
229 linux_system_codename: xenial
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000230 openstack_compute_node01:
231 params:
Michael Polenchuk04a918b2018-07-16 13:59:24 +0400232 dpdk0_name: ens5
Tatyana Leontovich023db382018-07-18 15:21:51 +0300233 dpdk0_pci: '"0000:00:05.0"'
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000234 single_address: 172.16.10.105
235 tenant_address: 10.1.0.105
236 external_address: 10.16.0.105
237 openstack_compute_node02:
238 params:
Michael Polenchuk04a918b2018-07-16 13:59:24 +0400239 dpdk0_name: ens5
Tatyana Leontovich023db382018-07-18 15:21:51 +0300240 dpdk0_pci: '"0000:00:05.0"'
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000241 single_address: 172.16.10.106
242 tenant_address: 10.1.0.106
243 external_address: 10.16.0.106
244 openstack_gateway_node01:
245 params:
246 tenant_address: 10.1.0.110
247 external_address: 10.16.0.110
248 openstack_proxy_node01:
249 classes:
250 - cluster.virtual-offline-pike-ovs-dpdk.openstack.proxy
251 params:
252 linux_system_codename: xenial
Tatyana Leontovicha863ef32018-07-27 19:09:34 +0300253 openstack_telemetry_node01:
254 params:
255 # create resources only from 1 controller
256 # to prevent race conditions
257 ceilometer_create_gnocchi_resources: true
258 redis_cluster_role: 'master'
259 openstack_telemetry_node02:
260 params:
261 redis_cluster_role: 'slave'
262 openstack_telemetry_node03:
263 params:
264 redis_cluster_role: 'slave'