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