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