Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [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 |
Martin Polreich | a0addcc | 2018-06-25 11:32:52 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 6 | - system.linux.system.repo.mcp.apt_mirantis.openstack |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 7 | #- system.openssh.client.lab |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 8 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame] | 9 | - system.salt.master.api |
Vasyl Saienko | e2a9701 | 2018-03-16 13:43:10 +0200 | [diff] [blame] | 10 | - system.salt.master.formula.pkg.manila |
Mykyta Karpin | 10193c5 | 2018-03-19 18:17:40 +0200 | [diff] [blame] | 11 | - system.salt.master.formula.pkg.gnocchi |
| 12 | - system.salt.master.formula.pkg.panko |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 13 | - system.reclass.storage.salt |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 14 | - system.salt.minion.ca.salt_master |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 15 | - system.sphinx.server.doc.reclass |
| 16 | - system.keystone.client.single |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 17 | - system.keystone.client.service.nova21 |
| 18 | - system.keystone.client.service.nova-placement |
| 19 | - system.keystone.client.service.glare |
| 20 | - system.keystone.client.service.cinder3 |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame] | 21 | - system.keystone.client.service.designate |
Vasyl Saienko | e2a9701 | 2018-03-16 13:43:10 +0200 | [diff] [blame] | 22 | - system.keystone.client.service.manila |
| 23 | - system.keystone.client.service.manila2 |
Mykyta Karpin | 10193c5 | 2018-03-19 18:17:40 +0200 | [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 |
Mykyta Karpin | 976cc20 | 2018-07-11 06:28:24 +0300 | [diff] [blame^] | 28 | - system.gnocchi.client |
| 29 | - system.gnocchi.client.v1.archive_policy.default |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame] | 30 | - system.reclass.storage.system.openstack_dns_cluster |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 31 | - system.reclass.storage.system.openstack_control_cluster |
| 32 | - system.reclass.storage.system.openstack_compute_multi |
| 33 | - system.reclass.storage.system.openstack_gateway_single |
| 34 | - system.reclass.storage.system.openstack_dashboard_single |
Vasyl Saienko | 5f39a52 | 2018-03-23 15:56:55 +0200 | [diff] [blame] | 35 | - system.reclass.storage.system.openstack_share_single |
Mykyta Karpin | 10193c5 | 2018-03-19 18:17:40 +0200 | [diff] [blame] | 36 | - system.reclass.storage.system.openstack_telemetry_cluster |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 37 | - cluster.virtual-mcp-pike-dvr.infra.backup.client_common |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame] | 38 | - cluster.virtual-mcp-pike-dvr |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 39 | parameters: |
| 40 | _param: |
| 41 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 42 | reclass_data_revision: master |
| 43 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 44 | salt_master_environment_revision: master |
| 45 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 46 | reclass_config_master: 192.168.10.90 |
| 47 | single_address: 172.16.10.100 |
| 48 | salt_master_host: 127.0.0.1 |
| 49 | salt_master_base_environment: prd |
| 50 | salt_minion_ca_host: ${linux:network:fqdn} |
| 51 | linux: |
| 52 | network: |
| 53 | interface: |
| 54 | ens4: |
| 55 | enabled: true |
| 56 | type: eth |
| 57 | proto: static |
| 58 | address: ${_param:single_address} |
| 59 | netmask: 255.255.255.0 |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 60 | salt: |
| 61 | master: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 62 | backup: true |
Tatyana Leontovich | a331bc5 | 2018-06-12 20:05:48 +0300 | [diff] [blame] | 63 | initial_data: |
| 64 | engine: backupninja |
| 65 | source: ctl03 |
| 66 | home_dir: /srv/volumes/backup/backupninja |
| 67 | host: cfg01.virtual-mcp-pike-dvr.local |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 68 | reactor: |
| 69 | reclass/minion/classify: |
| 70 | - salt://reclass/reactor/node_register.sls |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 71 | minion: |
| 72 | backup: true |
Tatyana Leontovich | a331bc5 | 2018-06-12 20:05:48 +0300 | [diff] [blame] | 73 | initial_data: |
| 74 | engine: backupninja |
| 75 | source: ctl03 |
| 76 | home_dir: /srv/volumes/backup/backupninja |
| 77 | host: cfg01.virtual-mcp-pike-dvr.local |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 78 | reclass: |
| 79 | storage: |
| 80 | class_mapping: |
| 81 | common_node: |
| 82 | expression: all |
| 83 | node_param: |
| 84 | single_address: |
| 85 | value_template: <<node_control_ip>> |
| 86 | linux_system_codename: |
| 87 | value_template: <<node_os>> |
| 88 | salt_master_host: |
| 89 | value_template: <<node_master_ip>> |
| 90 | infra_config: |
| 91 | expression: <<node_hostname>>__startswith__cfg |
| 92 | cluster_param: |
| 93 | infra_config_address: |
| 94 | value_template: <<node_control_ip>> |
| 95 | infra_config_deploy_address: |
| 96 | value_template: <<node_deploy_ip>> |
| 97 | cluster_domain: |
| 98 | value_template: <<node_domain>> |
| 99 | openstack_control01: |
| 100 | expression: <<node_hostname>>__equals__ctl01 |
| 101 | cluster_param: |
| 102 | openstack_control_node01_address: |
| 103 | value_template: <<node_control_ip>> |
| 104 | openstack_control02: |
| 105 | expression: <<node_hostname>>__equals__ctl02 |
| 106 | cluster_param: |
| 107 | openstack_control_node02_address: |
| 108 | value_template: <<node_control_ip>> |
| 109 | openstack_control03: |
| 110 | expression: <<node_hostname>>__equals__ctl03 |
| 111 | cluster_param: |
| 112 | openstack_control_node03_address: |
| 113 | value_template: <<node_control_ip>> |
| 114 | openstack_compute: |
| 115 | expression: <<node_hostname>>__startswith__cmp |
| 116 | node_class: |
| 117 | value_template: |
| 118 | - cluster.<<node_cluster>>.openstack.compute |
| 119 | node_param: |
| 120 | tenant_address: |
| 121 | value_template: <<node_tenant_ip>> |
| 122 | external_address: |
| 123 | value_template: <<node_external_ip>> |
Mykyta Karpin | 1358302 | 2018-03-29 11:13:57 +0300 | [diff] [blame] | 124 | openstack_dns01: |
| 125 | expression: <<node_hostname>>__equals__dns01 |
| 126 | cluster_param: |
| 127 | openstack_dns_node01_address: |
| 128 | value_template: <<node_control_ip>> |
| 129 | openstack_dns02: |
| 130 | expression: <<node_hostname>>__equals__dns02 |
| 131 | cluster_param: |
| 132 | openstack_dns_node02_address: |
| 133 | value_template: <<node_control_ip>> |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 134 | openstack_gateway: |
| 135 | expression: <<node_hostname>>__startswith__gtw |
| 136 | node_class: |
| 137 | value_template: |
| 138 | - cluster.<<node_cluster>>.openstack.gateway |
| 139 | node_param: |
| 140 | tenant_address: |
| 141 | value_template: <<node_tenant_ip>> |
| 142 | external_address: |
| 143 | value_template: <<node_external_ip>> |
| 144 | cluster_param: |
Mykyta Karpin | 73edc21 | 2018-04-05 14:26:21 +0300 | [diff] [blame] | 145 | openstack_gateway_address: |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 146 | value_template: <<node_control_ip>> |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 147 | openstack_dashboard: |
| 148 | expression: <<node_hostname>>__startswith__prx |
| 149 | node_class: |
| 150 | value_template: |
| 151 | - cluster.<<node_cluster>>.openstack.dashboard |
| 152 | - cluster.<<node_cluster>>.openstack.proxy |
| 153 | cluster_param: |
| 154 | openstack_proxy_node01_address: |
| 155 | value_template: <<node_control_ip>> |
Vasyl Saienko | e2a9701 | 2018-03-16 13:43:10 +0200 | [diff] [blame] | 156 | openstack_share: |
| 157 | expression: <<node_hostname>>__startswith__share |
| 158 | node_class: |
| 159 | value_template: |
| 160 | - cluster.<<node_cluster>>.openstack.share |
Vasyl Saienko | 5f39a52 | 2018-03-23 15:56:55 +0200 | [diff] [blame] | 161 | cluster_param: |
| 162 | openstack_share_node01_address: |
| 163 | value_template: <<node_control_ip>> |
| 164 | openstack_share_node01_share_address: |
Vasyl Saienko | e2a9701 | 2018-03-16 13:43:10 +0200 | [diff] [blame] | 165 | value_template: <<node_tenant_ip>> |
Mykyta Karpin | 10193c5 | 2018-03-19 18:17:40 +0200 | [diff] [blame] | 166 | openstack_telemetry01: |
| 167 | expression: <<node_hostname>>__equals__mdb01 |
| 168 | cluster_param: |
| 169 | openstack_telemetry_node01_address: |
| 170 | value_template: <<node_control_ip>> |
| 171 | openstack_telemetry02: |
| 172 | expression: <<node_hostname>>__equals__mdb02 |
| 173 | cluster_param: |
| 174 | openstack_telemetry_node02_address: |
| 175 | value_template: <<node_control_ip>> |
| 176 | openstack_telemetry03: |
| 177 | expression: <<node_hostname>>__equals__mdb03 |
| 178 | cluster_param: |
| 179 | openstack_telemetry_node03_address: |
| 180 | value_template: <<node_control_ip>> |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 181 | node: |
| 182 | openstack_control_node01: |
| 183 | classes: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 184 | - cluster.virtual-mcp-pike-dvr.infra.backup.client_mysql |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 185 | - service.galera.master.cluster |
| 186 | params: |
| 187 | mysql_cluster_role: master |
| 188 | linux_system_codename: xenial |
| 189 | openstack_control_node02: |
| 190 | classes: |
| 191 | - service.galera.slave.cluster |
| 192 | params: |
| 193 | mysql_cluster_role: slave |
| 194 | linux_system_codename: xenial |
| 195 | openstack_control_node03: |
| 196 | classes: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame] | 197 | - cluster.virtual-mcp-pike-dvr.infra.backup.server |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 198 | - service.galera.slave.cluster |
| 199 | params: |
| 200 | mysql_cluster_role: slave |
| 201 | linux_system_codename: xenial |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 202 | openstack_compute_node01: |
| 203 | params: |
| 204 | single_address: 172.16.10.105 |
| 205 | tenant_address: 10.1.0.105 |
| 206 | external_address: 10.16.0.105 |
| 207 | openstack_compute_node02: |
| 208 | params: |
| 209 | single_address: 172.16.10.106 |
| 210 | tenant_address: 10.1.0.106 |
| 211 | external_address: 10.16.0.106 |
| 212 | openstack_gateway_node01: |
| 213 | params: |
| 214 | tenant_address: 10.1.0.110 |
| 215 | external_address: 10.16.0.110 |
Oleksii Butenko | 4f72932 | 2018-04-16 16:25:32 +0300 | [diff] [blame] | 216 | openstack_share_node01: |
| 217 | params: |
| 218 | single_address: 172.16.10.130 |
| 219 | tenant_address: 10.1.0.130 |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 220 | openstack_proxy_node01: |
| 221 | classes: |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame] | 222 | - cluster.virtual-mcp-pike-dvr.openstack.proxy |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 223 | params: |
| 224 | linux_system_codename: xenial |
Mykyta Karpin | 10193c5 | 2018-03-19 18:17:40 +0200 | [diff] [blame] | 225 | openstack_telemetry_node01: |
| 226 | params: |
| 227 | # create resources only from 1 controller |
| 228 | # to prevent race conditions |
| 229 | ceilometer_create_gnocchi_resources: true |
| 230 | redis_cluster_role: 'master' |
| 231 | openstack_telemetry_node02: |
| 232 | params: |
| 233 | redis_cluster_role: 'slave' |
| 234 | openstack_telemetry_node03: |
| 235 | params: |
| 236 | redis_cluster_role: 'slave' |