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 | 0425002 | 2017-10-20 13:55:43 +0200 | [diff] [blame] | 7 | - system.linux.system.repo.docker |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 8 | - system.openssh.client.lab |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 9 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame] | 10 | - system.salt.master.api |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 11 | - system.reclass.storage.salt |
| 12 | - system.salt.minion.ca.salt_master |
| 13 | - system.salt.minion.cert.proxy |
| 14 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 15 | - system.keystone.client.core |
| 16 | - system.keystone.client.service.aodh |
| 17 | - system.keystone.client.service.ceilometer |
| 18 | - system.keystone.client.service.designate |
| 19 | - system.keystone.client.service.cinder |
| 20 | - system.keystone.client.service.cinder2 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 21 | - system.keystone.client.service.cinder3 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 22 | - system.keystone.client.service.glance |
| 23 | - system.keystone.client.service.glare |
| 24 | - system.keystone.client.service.heat |
| 25 | - system.keystone.client.service.heat-cfn |
| 26 | - system.keystone.client.service.keystone |
| 27 | - system.keystone.client.service.neutron |
| 28 | - system.keystone.client.service.nova-ec2 |
| 29 | - system.keystone.client.service.nova21 |
| 30 | - system.keystone.client.service.nova-placement |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 31 | - system.mysql.client |
| 32 | - system.mysql.client.database.cinder |
| 33 | - system.mysql.client.database.glance |
| 34 | - system.mysql.client.database.heat |
| 35 | - system.mysql.client.database.keystone |
| 36 | - system.mysql.client.database.nova |
| 37 | - system.mysql.client.database.nova_api |
| 38 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 39 | - system.reclass.storage.system.openstack_control_cluster |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 40 | - system.reclass.storage.system.stacklight_server_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 41 | - cluster.sl-os-ovs.openstack.proxy |
| 42 | - cluster.sl-os-ovs.stacklight.proxy |
| 43 | - cluster.sl-os-ovs.openstack.dashboard |
| 44 | - cluster.sl-os-ovs |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 45 | parameters: |
| 46 | _param: |
| 47 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 48 | reclass_data_revision: master |
| 49 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 50 | salt_master_environment_revision: master |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 51 | reclass_config_master: ${_param:infra_config_deploy_address} |
Michal Kobus | aab8a40 | 2018-03-21 18:55:36 +0100 | [diff] [blame] | 52 | reclass_config_master_gateway: ${_param:infra_config_gateway_address} |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 53 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 54 | salt_master_host: 127.0.0.1 |
| 55 | salt_master_base_environment: prd |
| 56 | salt_minion_ca_host: ${linux:network:fqdn} |
| 57 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
Daniel Cech | e78ed37 | 2017-10-25 18:54:24 +0200 | [diff] [blame] | 58 | openstack_control_system_codename: xenial |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 59 | linux: |
| 60 | network: |
| 61 | interface: |
Michal Kobus | aab8a40 | 2018-03-21 18:55:36 +0100 | [diff] [blame] | 62 | ens3: |
| 63 | enabled: true |
| 64 | type: eth |
| 65 | proto: static |
| 66 | address: ${_param:reclass_config_master} |
| 67 | gateway: ${_param:reclass_config_master_gateway} |
| 68 | netmask: 255.255.255.0 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 69 | ens4: |
| 70 | enabled: true |
| 71 | type: eth |
| 72 | proto: static |
| 73 | address: ${_param:single_address} |
| 74 | netmask: 255.255.255.0 |
| 75 | nginx: |
| 76 | server: |
| 77 | site: |
| 78 | nginx_proxy_openstack_web: |
| 79 | proxy: |
Simon Pasquier | aa8d0e6 | 2017-09-28 13:12:01 +0200 | [diff] [blame] | 80 | host: prx01 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 81 | nginx_proxy_openstack_api_heat_cfn: |
| 82 | enabled: false |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 83 | salt: |
| 84 | master: |
| 85 | reactor: |
| 86 | reclass/minion/classify: |
| 87 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 88 | reclass: |
| 89 | storage: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 90 | class_mapping: |
| 91 | common_node: |
| 92 | expression: all |
| 93 | node_param: |
| 94 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 95 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 96 | linux_system_codename: |
| 97 | value_template: <<node_os>> |
| 98 | salt_master_host: |
| 99 | value_template: <<node_master_ip>> |
| 100 | infra_config: |
| 101 | expression: <<node_hostname>>__startswith__cfg |
| 102 | cluster_param: |
| 103 | infra_config_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 104 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 105 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 106 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 107 | cluster_domain: |
| 108 | value_template: <<node_domain>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 109 | openstack_control01: |
| 110 | expression: <<node_hostname>>__equals__ctl01 |
| 111 | cluster_param: |
| 112 | openstack_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 113 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 114 | openstack_control02: |
| 115 | expression: <<node_hostname>>__equals__ctl02 |
| 116 | cluster_param: |
| 117 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 118 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 119 | openstack_control03: |
| 120 | expression: <<node_hostname>>__equals__ctl03 |
| 121 | cluster_param: |
| 122 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 123 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 124 | openstack_compute: |
| 125 | expression: <<node_hostname>>__startswith__cmp |
| 126 | node_class: |
| 127 | value_template: |
| 128 | - cluster.<<node_cluster>>.openstack.compute |
Adam Tengler | 8b25441 | 2017-06-29 18:30:32 +0000 | [diff] [blame] | 129 | node_param: |
| 130 | tenant_address: |
| 131 | value_template: <<node_tenant_ip>> |
| 132 | external_address: |
| 133 | value_template: <<node_external_ip>> |
Martin Polreich | 602483f | 2017-10-30 14:22:00 +0100 | [diff] [blame] | 134 | openstack_gateway: |
| 135 | expression: <<node_hostname>>__startswith__gtw |
| 136 | node_class: |
| 137 | value_template: |
| 138 | - cluster.<<node_cluster>>.openstack.gateway |
| 139 | node_param: |
| 140 | tenant_address: |
| 141 | value_template: <<node_tenant_ip>> |
| 142 | external_address: |
| 143 | value_template: <<node_external_ip>> |
| 144 | cluster_param: |
| 145 | openstack_gateway_node01_address: |
| 146 | value_template: <<node_control_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 147 | stacklight_monitor_node01: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 148 | expression: <<node_hostname>>__equals__mon01 |
| 149 | cluster_param: |
Martin Polreich | caffe5a | 2017-08-23 12:07:01 +0200 | [diff] [blame] | 150 | stacklight_monitor_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 151 | value_template: <<node_control_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 152 | stacklight_monitor_node02: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 153 | expression: <<node_hostname>>__equals__mon02 |
| 154 | cluster_param: |
Martin Polreich | caffe5a | 2017-08-23 12:07:01 +0200 | [diff] [blame] | 155 | stacklight_monitor_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 156 | value_template: <<node_control_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 157 | stacklight_monitor_node03: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 158 | expression: <<node_hostname>>__equals__mon03 |
| 159 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 160 | stacklight_monitor_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 161 | value_template: <<node_control_ip>> |
Ales Komarek | 7d91e63 | 2017-10-09 10:56:03 +0200 | [diff] [blame] | 162 | node: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 163 | prx_node: |
| 164 | name: ${_param:openstack_proxy_node01_hostname} |
| 165 | domain: ${_param:cluster_domain} |
| 166 | classes: |
| 167 | - cluster.${_param:cluster_name}.stacklight.proxy |
| 168 | params: |
| 169 | salt_master_host: ${_param:infra_config_deploy_address} |
| 170 | linux_system_codename: xenial |
| 171 | single_address: ${_param:openstack_proxy_node01_address} |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 172 | stacklight_server_node01: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 173 | name: ${_param:stacklight_monitor_node01_hostname} |
| 174 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 175 | classes: |
| 176 | - service.galera.master.cluster |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 177 | - system.docker.swarm.master |
| 178 | - cluster.${_param:cluster_name}.stacklight.client |
| 179 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 180 | params: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 181 | salt_master_host: ${_param:infra_config_deploy_address} |
| 182 | linux_system_codename: xenial |
| 183 | single_address: ${_param:stacklight_monitor_node01_address} |
| 184 | keepalived_vip_priority: 100 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 185 | mysql_cluster_role: master |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 186 | stacklight_server_node02: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 187 | name: ${_param:stacklight_monitor_node02_hostname} |
| 188 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 189 | classes: |
| 190 | - service.galera.slave.cluster |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +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 | 253cedb | 2017-08-10 12:46:22 +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 | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 196 | single_address: ${_param:stacklight_monitor_node02_address} |
| 197 | keepalived_vip_priority: 101 |
| 198 | mysql_cluster_role: slave |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 199 | stacklight_server_node03: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 200 | name: ${_param:stacklight_monitor_node03_hostname} |
| 201 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 202 | classes: |
| 203 | - service.galera.slave.cluster |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 204 | - system.docker.swarm.manager |
| 205 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 206 | params: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 207 | salt_master_host: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 208 | linux_system_codename: xenial |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 209 | single_address: ${_param:stacklight_monitor_node03_address} |
| 210 | keepalived_vip_priority: 102 |
| 211 | mysql_cluster_role: slave |