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