Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo.mcp.salt |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.apt_mirantis.openstack |
| 6 | - system.openssh.client.lab |
| 7 | - system.salt.master.api |
| 8 | - system.salt.master.pkg |
| 9 | - system.reclass.storage.salt |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 10 | - system.salt.minion.ca.salt_master |
| 11 | - system.salt.minion.cert.proxy |
| 12 | - system.sphinx.server.doc.reclass |
| 13 | - system.keystone.client.single |
| 14 | - system.keystone.client.service.aodh |
| 15 | - system.keystone.client.service.ceilometer |
| 16 | - system.keystone.client.service.nova21 |
| 17 | - system.keystone.client.service.nova-placement |
| 18 | - system.keystone.client.service.glare |
| 19 | - system.keystone.client.service.cinder3 |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame^] | 20 | - system.keystone.client.service.designate |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 21 | - system.mysql.client.single |
| 22 | - system.reclass.storage.system.openstack_control_cluster |
| 23 | - system.reclass.storage.system.openstack_compute_multi |
| 24 | - system.reclass.storage.system.openstack_gateway_single |
| 25 | - system.reclass.storage.system.openstack_dashboard_single |
| 26 | - system.reclass.storage.system.stacklightv2_server_cluster |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame^] | 27 | - cluster.virtual-mcp-pike-ovs.openstack.proxy |
| 28 | - cluster.virtual-mcp-pike-ovs.stacklight.proxy |
| 29 | - cluster.virtual-mcp-pike-ovs |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 30 | parameters: |
| 31 | _param: |
| 32 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 33 | reclass_data_revision: master |
| 34 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 35 | salt_master_environment_revision: master |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 36 | reclass_config_master: 192.168.10.90 |
| 37 | single_address: 172.16.10.100 |
| 38 | salt_master_host: 127.0.0.1 |
| 39 | salt_master_base_environment: prd |
| 40 | salt_minion_ca_host: ${linux:network:fqdn} |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame^] | 41 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 42 | linux: |
| 43 | network: |
| 44 | interface: |
| 45 | ens4: |
| 46 | enabled: true |
| 47 | type: eth |
| 48 | proto: static |
| 49 | address: ${_param:single_address} |
| 50 | netmask: 255.255.255.0 |
| 51 | nginx: |
| 52 | server: |
| 53 | site: |
| 54 | nginx_proxy_openstack_web: |
| 55 | proxy: |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame^] | 56 | host: prx |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 57 | nginx_proxy_openstack_api_heat_cfn: |
| 58 | enabled: false |
| 59 | salt: |
| 60 | master: |
| 61 | reactor: |
| 62 | reclass/minion/classify: |
| 63 | - salt://reclass/reactor/node_register.sls |
| 64 | reclass: |
| 65 | storage: |
| 66 | class_mapping: |
| 67 | common_node: |
| 68 | expression: all |
| 69 | node_param: |
| 70 | single_address: |
| 71 | value_template: <<node_control_ip>> |
| 72 | linux_system_codename: |
| 73 | value_template: <<node_os>> |
| 74 | salt_master_host: |
| 75 | value_template: <<node_master_ip>> |
| 76 | infra_config: |
| 77 | expression: <<node_hostname>>__startswith__cfg |
| 78 | cluster_param: |
| 79 | infra_config_address: |
| 80 | value_template: <<node_control_ip>> |
| 81 | infra_config_deploy_address: |
| 82 | value_template: <<node_deploy_ip>> |
| 83 | cluster_domain: |
| 84 | value_template: <<node_domain>> |
| 85 | openstack_control01: |
| 86 | expression: <<node_hostname>>__equals__ctl01 |
| 87 | cluster_param: |
| 88 | openstack_control_node01_address: |
| 89 | value_template: <<node_control_ip>> |
| 90 | openstack_control02: |
| 91 | expression: <<node_hostname>>__equals__ctl02 |
| 92 | cluster_param: |
| 93 | openstack_control_node02_address: |
| 94 | value_template: <<node_control_ip>> |
| 95 | openstack_control03: |
| 96 | expression: <<node_hostname>>__equals__ctl03 |
| 97 | cluster_param: |
| 98 | openstack_control_node03_address: |
| 99 | value_template: <<node_control_ip>> |
| 100 | openstack_compute: |
| 101 | expression: <<node_hostname>>__startswith__cmp |
| 102 | node_class: |
| 103 | value_template: |
| 104 | - cluster.<<node_cluster>>.openstack.compute |
| 105 | node_param: |
| 106 | tenant_address: |
| 107 | value_template: <<node_tenant_ip>> |
| 108 | external_address: |
| 109 | value_template: <<node_external_ip>> |
| 110 | openstack_gateway: |
| 111 | expression: <<node_hostname>>__startswith__gtw |
| 112 | node_class: |
| 113 | value_template: |
| 114 | - cluster.<<node_cluster>>.openstack.gateway |
| 115 | node_param: |
| 116 | tenant_address: |
| 117 | value_template: <<node_tenant_ip>> |
| 118 | external_address: |
| 119 | value_template: <<node_external_ip>> |
| 120 | cluster_param: |
| 121 | openstack_gateway_node01_address: |
| 122 | value_template: <<node_control_ip>> |
| 123 | stacklight_monitor_node01: |
| 124 | expression: <<node_hostname>>__equals__mon01 |
| 125 | cluster_param: |
| 126 | stacklight_monitor_node01_address: |
| 127 | value_template: <<node_control_ip>> |
| 128 | stacklight_monitor_node02: |
| 129 | expression: <<node_hostname>>__equals__mon02 |
| 130 | cluster_param: |
| 131 | stacklight_monitor_node02_address: |
| 132 | value_template: <<node_control_ip>> |
| 133 | stacklight_monitor_node03: |
| 134 | expression: <<node_hostname>>__equals__mon03 |
| 135 | cluster_param: |
| 136 | stacklight_monitor_node03_address: |
| 137 | value_template: <<node_control_ip>> |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 138 | openstack_dashboard: |
| 139 | expression: <<node_hostname>>__startswith__prx |
| 140 | node_class: |
| 141 | value_template: |
| 142 | - cluster.<<node_cluster>>.openstack.dashboard |
| 143 | - cluster.<<node_cluster>>.openstack.proxy |
| 144 | cluster_param: |
| 145 | openstack_proxy_node01_address: |
| 146 | value_template: <<node_control_ip>> |
| 147 | node: |
| 148 | openstack_control_node01: |
| 149 | classes: |
| 150 | - service.galera.master.cluster |
| 151 | params: |
| 152 | mysql_cluster_role: master |
| 153 | linux_system_codename: xenial |
| 154 | openstack_control_node02: |
| 155 | classes: |
| 156 | - service.galera.slave.cluster |
| 157 | params: |
| 158 | mysql_cluster_role: slave |
| 159 | linux_system_codename: xenial |
| 160 | openstack_control_node03: |
| 161 | classes: |
| 162 | - service.galera.slave.cluster |
| 163 | params: |
| 164 | mysql_cluster_role: slave |
| 165 | linux_system_codename: xenial |
| 166 | stacklight_server_node01: |
| 167 | classes: |
| 168 | - system.influxdb.server.single |
| 169 | - system.influxdb.database.stacklight |
| 170 | openstack_compute_node01: |
| 171 | params: |
| 172 | single_address: 172.16.10.105 |
| 173 | tenant_address: 10.1.0.105 |
| 174 | external_address: 10.16.0.105 |
| 175 | openstack_compute_node02: |
| 176 | params: |
| 177 | single_address: 172.16.10.106 |
| 178 | tenant_address: 10.1.0.106 |
| 179 | external_address: 10.16.0.106 |
| 180 | openstack_gateway_node01: |
| 181 | params: |
| 182 | tenant_address: 10.1.0.110 |
| 183 | external_address: 10.16.0.110 |
| 184 | openstack_proxy_node01: |
| 185 | classes: |
Tatyana Leontovich | 15b38e8 | 2018-01-11 13:06:38 +0200 | [diff] [blame^] | 186 | - cluster.virtual-mcp-pike-ovs.openstack.proxy |
Tatyana Leontovich | 8ac23e5 | 2017-12-08 20:06:46 +0200 | [diff] [blame] | 187 | params: |
| 188 | linux_system_codename: xenial |