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