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