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