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 |
| 7 | - system.openssh.client.lab |
| 8 | - system.salt.master.api |
| 9 | - system.salt.master.pkg |
| 10 | - system.reclass.storage.salt |
| 11 | - system.salt.minion.ca.salt_master |
| 12 | - system.salt.minion.cert.proxy |
| 13 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 14 | - system.keystone.client.core |
| 15 | - system.keystone.client.service.aodh |
| 16 | - system.keystone.client.service.ceilometer |
| 17 | - system.keystone.client.service.designate |
| 18 | - system.keystone.client.service.cinder |
| 19 | - system.keystone.client.service.cinder2 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 20 | - system.keystone.client.service.cinder3 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 21 | - system.keystone.client.service.glance |
| 22 | - system.keystone.client.service.glare |
| 23 | - system.keystone.client.service.heat |
| 24 | - system.keystone.client.service.heat-cfn |
| 25 | - system.keystone.client.service.keystone |
| 26 | - system.keystone.client.service.neutron |
| 27 | - system.keystone.client.service.nova-ec2 |
| 28 | - system.keystone.client.service.nova21 |
| 29 | - system.keystone.client.service.nova-placement |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 30 | - system.mysql.client |
| 31 | - system.mysql.client.database.cinder |
| 32 | - system.mysql.client.database.glance |
| 33 | - system.mysql.client.database.heat |
| 34 | - system.mysql.client.database.keystone |
| 35 | - system.mysql.client.database.nova |
| 36 | - system.mysql.client.database.nova_api |
| 37 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 38 | - system.reclass.storage.system.openstack_control_cluster |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 39 | - system.reclass.storage.system.stacklight_server_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 40 | - cluster.sl-os-ovs.openstack.proxy |
| 41 | - cluster.sl-os-ovs.stacklight.proxy |
| 42 | - cluster.sl-os-ovs.openstack.dashboard |
| 43 | - cluster.sl-os-ovs |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 44 | parameters: |
| 45 | _param: |
| 46 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 47 | reclass_data_revision: master |
| 48 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 49 | salt_master_environment_revision: master |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +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: |
| 70 | host: prx |
| 71 | nginx_proxy_openstack_api_heat_cfn: |
| 72 | enabled: false |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +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 | 250d5bb | 2017-06-29 15:59:02 +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 | 250d5bb | 2017-06-29 15:59:02 +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 | 250d5bb | 2017-06-29 15:59:02 +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>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 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 | 250d5bb | 2017-06-29 15:59:02 +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 | 250d5bb | 2017-06-29 15:59:02 +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 | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 114 | openstack_compute: |
| 115 | expression: <<node_hostname>>__startswith__cmp |
| 116 | node_class: |
| 117 | value_template: |
| 118 | - cluster.<<node_cluster>>.openstack.compute |
Adam Tengler | 8b25441 | 2017-06-29 18:30:32 +0000 | [diff] [blame] | 119 | node_param: |
| 120 | tenant_address: |
| 121 | value_template: <<node_tenant_ip>> |
| 122 | external_address: |
| 123 | value_template: <<node_external_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 124 | stacklight_monitor_node01: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 125 | expression: <<node_hostname>>__equals__mon01 |
| 126 | cluster_param: |
Martin Polreich | caffe5a | 2017-08-23 12:07:01 +0200 | [diff] [blame] | 127 | stacklight_monitor_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 128 | value_template: <<node_control_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 129 | stacklight_monitor_node02: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 130 | expression: <<node_hostname>>__equals__mon02 |
| 131 | cluster_param: |
Martin Polreich | caffe5a | 2017-08-23 12:07:01 +0200 | [diff] [blame] | 132 | stacklight_monitor_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 133 | value_template: <<node_control_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 134 | stacklight_monitor_node03: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 135 | expression: <<node_hostname>>__equals__mon03 |
| 136 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 137 | stacklight_monitor_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 138 | value_template: <<node_control_ip>> |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 139 | prx_node: |
| 140 | name: ${_param:openstack_proxy_node01_hostname} |
| 141 | domain: ${_param:cluster_domain} |
| 142 | classes: |
| 143 | - cluster.${_param:cluster_name}.stacklight.proxy |
| 144 | params: |
| 145 | salt_master_host: ${_param:infra_config_deploy_address} |
| 146 | linux_system_codename: xenial |
| 147 | single_address: ${_param:openstack_proxy_node01_address} |
| 148 | stacklight_monitor_node01: |
| 149 | name: ${_param:stacklight_monitor_node01_hostname} |
| 150 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 151 | classes: |
| 152 | - service.galera.master.cluster |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 153 | - system.docker.swarm.master |
| 154 | - cluster.${_param:cluster_name}.stacklight.client |
| 155 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 156 | params: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 157 | salt_master_host: ${_param:infra_config_deploy_address} |
| 158 | linux_system_codename: xenial |
| 159 | single_address: ${_param:stacklight_monitor_node01_address} |
| 160 | keepalived_vip_priority: 100 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 161 | mysql_cluster_role: master |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 162 | stacklight_monitor_node02: |
| 163 | name: ${_param:stacklight_monitor_node02_hostname} |
| 164 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 165 | classes: |
| 166 | - service.galera.slave.cluster |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 167 | - system.docker.swarm.manager |
| 168 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 169 | params: |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 170 | salt_master_host: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 171 | linux_system_codename: xenial |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 172 | single_address: ${_param:stacklight_monitor_node02_address} |
| 173 | keepalived_vip_priority: 101 |
| 174 | mysql_cluster_role: slave |
| 175 | stacklight_monitor_node03: |
| 176 | name: ${_param:stacklight_monitor_node03_hostname} |
| 177 | domain: ${_param:cluster_domain} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 178 | classes: |
| 179 | - service.galera.slave.cluster |
Martin Polreich | 253cedb | 2017-08-10 12:46:22 +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 | 253cedb | 2017-08-10 12:46:22 +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 | 253cedb | 2017-08-10 12:46:22 +0200 | [diff] [blame] | 185 | single_address: ${_param:stacklight_monitor_node03_address} |
| 186 | keepalived_vip_priority: 102 |
| 187 | mysql_cluster_role: slave |