Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
Tatyana Leontovich | c07941e | 2018-03-20 16:04:15 +0200 | [diff] [blame] | 4 | - system.linux.system.single.debian |
azvyagintsev | 98cba95 | 2018-07-13 12:40:53 +0300 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
azvyagintsev | 03e26b1 | 2018-10-22 16:34:31 +0300 | [diff] [blame] | 6 | - system.linux.system.repo.mcp.apt_mirantis.openstack |
Tatyana Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 7 | - system.linux.system.repo_local.mcp.salt |
azvyagintsev | 03e26b1 | 2018-10-22 16:34:31 +0300 | [diff] [blame] | 8 | - system.linux.system.repo.mcp.apt_mirantis.extra |
Tatyana Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 9 | - 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 Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 13 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame] | 14 | - system.salt.master.api |
Tatyana Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 15 | - system.salt.master.formula.pkg.gnocchi |
| 16 | - system.salt.master.formula.pkg.panko |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 17 | - system.salt.minion.ca.salt_master |
| 18 | - system.salt.minion.cert.proxy |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 19 | - system.keystone.client.single |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 20 | - system.keystone.client.service.nova21 |
| 21 | - system.keystone.client.service.nova-placement |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 22 | - system.keystone.client.service.cinder3 |
| 23 | - system.keystone.client.service.designate |
Tatyana Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 24 | - 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 Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 30 | - system.reclass.storage.salt |
Tatyana Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 31 | - system.reclass.storage.system.openstack_dns_cluster |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 32 | - 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 Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 36 | - system.reclass.storage.system.openstack_telemetry_cluster |
Tatyana Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 37 | - 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 Leontovich | 1e8154d | 2018-11-29 18:34:22 +0200 | [diff] [blame] | 42 | - cluster.virtual-offline-pike-ovs-dpdk.infra.runtest |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 43 | - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_common |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 44 | parameters: |
| 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 Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 54 | 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 Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 60 | 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 Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 70 | 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 Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 83 | salt: |
| 84 | master: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 85 | backup: true |
Tatyana Leontovich | 42b50bf | 2018-07-19 22:02:43 +0300 | [diff] [blame] | 86 | initial_data: |
| 87 | engine: backupninja |
| 88 | source: ctl03 |
| 89 | home_dir: /srv/volumes/backup/backupninja |
| 90 | host: cfg01.virtual-offline-pike-ovs-dpdk |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 91 | reactor: |
| 92 | reclass/minion/classify: |
| 93 | - salt://reclass/reactor/node_register.sls |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 94 | minion: |
| 95 | backup: true |
Tatyana Leontovich | 42b50bf | 2018-07-19 22:02:43 +0300 | [diff] [blame] | 96 | initial_data: |
| 97 | engine: backupninja |
| 98 | source: ctl03 |
| 99 | home_dir: /srv/volumes/backup/backupninja |
| 100 | host: cfg01.virtual-offline-pike-ovs-dpdk |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 101 | 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 Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 160 | openstack_dns01: |
| 161 | expression: <<node_hostname>>__equals__dns01 |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 162 | cluster_param: |
Tatyana Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 163 | openstack_dns_node01_address: |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 164 | value_template: <<node_control_ip>> |
Tatyana Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 165 | openstack_dns02: |
| 166 | expression: <<node_hostname>>__equals__dns02 |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 167 | cluster_param: |
Tatyana Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 168 | openstack_dns_node02_address: |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 169 | 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 Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 179 | 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 Leontovich | 3a9e868 | 2018-08-30 19:25:01 +0300 | [diff] [blame] | 194 | 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 Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 209 | node: |
| 210 | openstack_control_node01: |
| 211 | classes: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 212 | - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_mysql |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 213 | - 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 Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 225 | - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.server |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 226 | - service.galera.slave.cluster |
| 227 | params: |
| 228 | mysql_cluster_role: slave |
| 229 | linux_system_codename: xenial |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 230 | openstack_compute_node01: |
| 231 | params: |
Michael Polenchuk | 04a918b | 2018-07-16 13:59:24 +0400 | [diff] [blame] | 232 | dpdk0_name: ens5 |
Tatyana Leontovich | 023db38 | 2018-07-18 15:21:51 +0300 | [diff] [blame] | 233 | dpdk0_pci: '"0000:00:05.0"' |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 234 | 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 Polenchuk | 04a918b | 2018-07-16 13:59:24 +0400 | [diff] [blame] | 239 | dpdk0_name: ens5 |
Tatyana Leontovich | 023db38 | 2018-07-18 15:21:51 +0300 | [diff] [blame] | 240 | dpdk0_pci: '"0000:00:05.0"' |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 241 | 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 Leontovich | a863ef3 | 2018-07-27 19:09:34 +0300 | [diff] [blame] | 253 | 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' |