Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 3 | - system.docker.client |
| 4 | - system.docker.host |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 5 | - system.linux.system.single |
| 6 | - system.linux.system.repo.mcp.salt |
Richard Felkl | b352e4f | 2017-08-25 13:33:42 +0200 | [diff] [blame] | 7 | - system.linux.system.repo.mcp.openstack |
Richard Felkl | 0425002 | 2017-10-20 13:55:43 +0200 | [diff] [blame] | 8 | - system.linux.system.repo.docker |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 9 | - system.openssh.client.lab |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 10 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame^] | 11 | - system.salt.master.api |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 12 | - system.reclass.storage.salt |
| 13 | - system.salt.minion.ca.salt_master |
| 14 | - system.salt.minion.cert.proxy |
| 15 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 16 | - system.keystone.client.core |
| 17 | - system.keystone.client.service.aodh |
| 18 | - system.keystone.client.service.ceilometer |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 19 | - system.keystone.client.service.designate |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 20 | - system.keystone.client.service.cinder |
| 21 | - system.keystone.client.service.cinder2 |
| 22 | - system.keystone.client.service.cinder3 |
| 23 | - system.keystone.client.service.glance |
| 24 | - system.keystone.client.service.glare |
| 25 | - system.keystone.client.service.heat |
| 26 | - system.keystone.client.service.heat-cfn |
| 27 | - system.keystone.client.service.keystone |
| 28 | - system.keystone.client.service.neutron |
| 29 | - system.keystone.client.service.nova-ec2 |
| 30 | - system.keystone.client.service.nova21 |
| 31 | - system.keystone.client.service.nova-placement |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 32 | - system.mysql.client |
| 33 | - system.mysql.client.database.cinder |
| 34 | - system.mysql.client.database.glance |
| 35 | - system.mysql.client.database.heat |
| 36 | - system.mysql.client.database.keystone |
| 37 | - system.mysql.client.database.nova |
| 38 | - system.mysql.client.database.nova_api |
| 39 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 40 | - system.reclass.storage.system.openstack_control_cluster |
| 41 | - system.reclass.storage.system.opencontrail_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 42 | - cluster.sl-os-contrail.openstack.proxy |
| 43 | - cluster.sl-os-contrail.stacklight.proxy |
| 44 | - cluster.sl-os-contrail.openstack.dashboard |
| 45 | - cluster.sl-os-contrail |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 46 | parameters: |
| 47 | _param: |
| 48 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab" |
| 49 | reclass_data_revision: master |
Adam Tengler | 8152620 | 2017-07-11 13:03:40 +0000 | [diff] [blame] | 50 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 51 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 52 | salt_master_host: 127.0.0.1 |
| 53 | salt_master_base_environment: prd |
| 54 | salt_minion_ca_host: ${linux:network:fqdn} |
| 55 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 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 |
| 65 | nginx: |
| 66 | server: |
| 67 | site: |
| 68 | nginx_proxy_openstack_web: |
| 69 | proxy: |
Richard Felkl | b352e4f | 2017-08-25 13:33:42 +0200 | [diff] [blame] | 70 | host: cfg |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 71 | nginx_proxy_openstack_api_heat_cfn: |
| 72 | enabled: false |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 73 | salt: |
| 74 | master: |
| 75 | reactor: |
| 76 | reclass/minion/classify: |
| 77 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 78 | reclass: |
| 79 | storage: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 80 | class_mapping: |
| 81 | common_node: |
| 82 | expression: all |
| 83 | node_param: |
| 84 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 85 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 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: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 94 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 95 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 96 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 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: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 103 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 104 | openstack_control02: |
| 105 | expression: <<node_hostname>>__equals__ctl02 |
| 106 | cluster_param: |
| 107 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 108 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 109 | openstack_control03: |
| 110 | expression: <<node_hostname>>__equals__ctl03 |
| 111 | cluster_param: |
| 112 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 113 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 114 | opencontrail_control01: |
| 115 | expression: <<node_hostname>>__equals__ntw01 |
| 116 | cluster_param: |
| 117 | opencontrail_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 118 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 119 | opencontrail_control02: |
| 120 | expression: <<node_hostname>>__equals__ntw02 |
| 121 | cluster_param: |
| 122 | opencontrail_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 123 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 124 | opencontrail_control03: |
| 125 | expression: <<node_hostname>>__equals__ntw03 |
| 126 | cluster_param: |
| 127 | opencontrail_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 128 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 129 | openstack_compute: |
| 130 | expression: <<node_hostname>>__startswith__cmp |
| 131 | node_class: |
| 132 | value_template: |
| 133 | - cluster.<<node_cluster>>.openstack.compute |
| 134 | node_param: |
| 135 | tenant_address: |
| 136 | value_template: <<node_tenant_ip>> |
| 137 | external_address: |
| 138 | value_template: <<node_external_ip>> |
| 139 | stacklight_monitor01: |
| 140 | expression: <<node_hostname>>__equals__mon01 |
| 141 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 142 | stacklight_monitor_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 143 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 144 | stacklight_monitor02: |
| 145 | expression: <<node_hostname>>__equals__mon02 |
| 146 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 147 | stacklight_monitor_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 148 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 149 | stacklight_monitor03: |
| 150 | expression: <<node_hostname>>__equals__mon03 |
| 151 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 152 | stacklight_monitor_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 153 | value_template: <<node_control_ip>> |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 154 | node: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 155 | prx_node: |
| 156 | name: ${_param:openstack_proxy_node01_hostname} |
| 157 | domain: ${_param:cluster_domain} |
| 158 | classes: |
| 159 | - cluster.${_param:cluster_name}.stacklight.proxy |
| 160 | params: |
| 161 | salt_master_host: ${_param:infra_config_deploy_address} |
| 162 | linux_system_codename: xenial |
| 163 | single_address: ${_param:openstack_proxy_node01_address} |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 164 | stacklight_server_node01: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 165 | name: ${_param:stacklight_monitor_node01_hostname} |
| 166 | domain: ${_param:cluster_domain} |
| 167 | classes: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 168 | - system.docker.swarm.master |
| 169 | - cluster.${_param:cluster_name}.stacklight.client |
| 170 | - cluster.${_param:cluster_name}.stacklight.server |
| 171 | params: |
| 172 | salt_master_host: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 173 | linux_system_codename: xenial |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 174 | single_address: ${_param:stacklight_monitor_node01_address} |
| 175 | keepalived_vip_priority: 100 |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 176 | stacklight_server_node02: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 177 | name: ${_param:stacklight_monitor_node02_hostname} |
| 178 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 179 | classes: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 180 | - system.docker.swarm.manager |
| 181 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 182 | params: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 183 | salt_master_host: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 184 | linux_system_codename: xenial |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 185 | single_address: ${_param:stacklight_monitor_node02_address} |
| 186 | keepalived_vip_priority: 101 |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 187 | stacklight_server_node03: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 188 | name: ${_param:stacklight_monitor_node03_hostname} |
| 189 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 190 | classes: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 191 | - system.docker.swarm.manager |
| 192 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 193 | params: |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 194 | salt_master_host: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 195 | linux_system_codename: xenial |
Martin Polreich | 1ee2e09 | 2017-08-10 16:06:57 +0200 | [diff] [blame] | 196 | single_address: ${_param:stacklight_monitor_node03_address} |
| 197 | keepalived_vip_priority: 102 |
Martin Polreich | 2af5095 | 2017-08-16 12:08:30 +0200 | [diff] [blame] | 198 | opencontrail_control_node01: |
| 199 | params: |
| 200 | rabbitmq_cluster_role: master |
| 201 | opencontrail_control_node02: |
| 202 | params: |
| 203 | rabbitmq_cluster_role: slave |
| 204 | opencontrail_control_node03: |
| 205 | params: |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 206 | rabbitmq_cluster_role: slave |
| 207 | openstack_control_node01: |
| 208 | classes: |
| 209 | - service.galera.master.cluster |
| 210 | params: |
| 211 | linux_system_codename: xenial |
| 212 | mysql_cluster_role: master |
| 213 | openstack_control_node02: |
| 214 | classes: |
| 215 | - service.galera.slave.cluster |
| 216 | params: |
| 217 | linux_system_codename: xenial |
| 218 | mysql_cluster_role: slave |
| 219 | openstack_control_node03: |
| 220 | classes: |
| 221 | - service.galera.slave.cluster |
| 222 | params: |
| 223 | linux_system_codename: xenial |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 224 | mysql_cluster_role: slave |