Tatyana Leontovich | 4f9d1a9 | 2018-03-28 15:36:40 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.single.debian |
azvyagintsev | 98cba95 | 2018-07-13 12:40:53 +0300 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Tatyana Leontovich | 4f9d1a9 | 2018-03-28 15:36:40 +0300 | [diff] [blame] | 6 | - system.linux.system.repo_local.mcp.apt_mirantis.openstack |
| 7 | - system.openssh.client.lab |
| 8 | - system.salt.master.pkg |
| 9 | - system.salt.master.api |
| 10 | - system.salt.master.formula.pkg.manila |
| 11 | - system.salt.master.formula.pkg.gnocchi |
| 12 | - system.salt.master.formula.pkg.panko |
| 13 | # Add when reclass bumped |
| 14 | #-salt/master/formula/pkg/dogtag.yml |
| 15 | - system.reclass.storage.salt |
| 16 | - system.salt.minion.ca.salt_master |
Tatyana Leontovich | 4f9d1a9 | 2018-03-28 15:36:40 +0300 | [diff] [blame] | 17 | - system.keystone.client.single |
| 18 | - system.keystone.client.service.nova21 |
| 19 | - system.keystone.client.service.nova-placement |
| 20 | - system.keystone.client.service.cinder3 |
| 21 | - system.keystone.client.service.designate |
| 22 | - system.keystone.client.service.manila |
| 23 | - system.keystone.client.service.manila2 |
| 24 | - system.keystone.client.service.aodh |
| 25 | - system.keystone.client.service.ceilometer |
| 26 | - system.keystone.client.service.panko |
| 27 | - system.keystone.client.service.gnocchi |
| 28 | - system.keystone.client.service.barbican |
| 29 | - system.reclass.storage.system.openstack_dns_cluster |
| 30 | - system.reclass.storage.system.openstack_control_cluster |
| 31 | - system.reclass.storage.system.openstack_compute_multi |
| 32 | - system.reclass.storage.system.openstack_gateway_single |
| 33 | - system.reclass.storage.system.openstack_dashboard_single |
| 34 | - system.reclass.storage.system.openstack_share_single |
| 35 | - system.reclass.storage.system.openstack_telemetry_cluster |
| 36 | - cluster.virtual-offline-ssl |
| 37 | parameters: |
| 38 | _param: |
| 39 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 40 | reclass_data_revision: master |
| 41 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 42 | salt_master_environment_revision: master |
| 43 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 44 | reclass_config_master: 192.168.10.90 |
| 45 | single_address: 172.16.10.100 |
| 46 | salt_master_host: 127.0.0.1 |
| 47 | salt_master_base_environment: prd |
| 48 | linux: |
| 49 | network: |
| 50 | interface: |
| 51 | ens4: |
| 52 | enabled: true |
| 53 | type: eth |
| 54 | proto: static |
| 55 | address: ${_param:single_address} |
| 56 | netmask: 255.255.255.0 |
| 57 | salt: |
| 58 | master: |
| 59 | reactor: |
| 60 | reclass/minion/classify: |
| 61 | - salt://reclass/reactor/node_register.sls |
| 62 | environment: |
| 63 | prd: |
| 64 | formula: |
| 65 | dogtag: |
| 66 | source: pkg |
| 67 | name: salt-formula-dogtag |
| 68 | reclass: |
| 69 | storage: |
| 70 | class_mapping: |
| 71 | common_node: |
| 72 | expression: all |
| 73 | node_param: |
| 74 | single_address: |
| 75 | value_template: <<node_control_ip>> |
| 76 | linux_system_codename: |
| 77 | value_template: <<node_os>> |
| 78 | salt_master_host: |
| 79 | value_template: <<node_master_ip>> |
| 80 | infra_config: |
| 81 | expression: <<node_hostname>>__startswith__cfg |
| 82 | cluster_param: |
| 83 | infra_config_address: |
| 84 | value_template: <<node_control_ip>> |
| 85 | infra_config_deploy_address: |
| 86 | value_template: <<node_deploy_ip>> |
| 87 | cluster_domain: |
| 88 | value_template: <<node_domain>> |
| 89 | openstack_control01: |
| 90 | expression: <<node_hostname>>__equals__ctl01 |
| 91 | cluster_param: |
| 92 | openstack_control_node01_address: |
| 93 | value_template: <<node_control_ip>> |
| 94 | openstack_control02: |
| 95 | expression: <<node_hostname>>__equals__ctl02 |
| 96 | cluster_param: |
| 97 | openstack_control_node02_address: |
| 98 | value_template: <<node_control_ip>> |
| 99 | openstack_control03: |
| 100 | expression: <<node_hostname>>__equals__ctl03 |
| 101 | cluster_param: |
| 102 | openstack_control_node03_address: |
| 103 | value_template: <<node_control_ip>> |
| 104 | openstack_compute: |
| 105 | expression: <<node_hostname>>__startswith__cmp |
| 106 | node_class: |
| 107 | value_template: |
| 108 | - cluster.<<node_cluster>>.openstack.compute |
| 109 | node_param: |
| 110 | tenant_address: |
| 111 | value_template: <<node_tenant_ip>> |
| 112 | external_address: |
| 113 | value_template: <<node_external_ip>> |
| 114 | openstack_gateway: |
| 115 | expression: <<node_hostname>>__startswith__gtw |
| 116 | node_class: |
| 117 | value_template: |
| 118 | - cluster.<<node_cluster>>.openstack.gateway |
| 119 | node_param: |
| 120 | tenant_address: |
| 121 | value_template: <<node_tenant_ip>> |
| 122 | external_address: |
| 123 | value_template: <<node_external_ip>> |
| 124 | cluster_param: |
| 125 | openstack_gateway_node01_address: |
| 126 | value_template: <<node_control_ip>> |
| 127 | openstack_dashboard: |
| 128 | expression: <<node_hostname>>__startswith__prx |
| 129 | node_class: |
| 130 | value_template: |
| 131 | - cluster.<<node_cluster>>.openstack.dashboard |
| 132 | - cluster.<<node_cluster>>.openstack.proxy |
| 133 | cluster_param: |
| 134 | openstack_proxy_node01_address: |
| 135 | value_template: <<node_control_ip>> |
| 136 | openstack_share: |
| 137 | expression: <<node_hostname>>__startswith__share |
| 138 | node_class: |
| 139 | value_template: |
| 140 | - cluster.<<node_cluster>>.openstack.share |
| 141 | cluster_param: |
| 142 | openstack_share_node01_address: |
| 143 | value_template: <<node_control_ip>> |
| 144 | openstack_share_node01_share_address: |
| 145 | value_template: <<node_tenant_ip>> |
| 146 | openstack_telemetry01: |
| 147 | expression: <<node_hostname>>__equals__mdb01 |
| 148 | cluster_param: |
| 149 | openstack_telemetry_node01_address: |
| 150 | value_template: <<node_control_ip>> |
| 151 | openstack_telemetry02: |
| 152 | expression: <<node_hostname>>__equals__mdb02 |
| 153 | cluster_param: |
| 154 | openstack_telemetry_node02_address: |
| 155 | value_template: <<node_control_ip>> |
| 156 | openstack_telemetry03: |
| 157 | expression: <<node_hostname>>__equals__mdb03 |
| 158 | cluster_param: |
| 159 | openstack_telemetry_node03_address: |
| 160 | value_template: <<node_control_ip>> |
| 161 | node: |
| 162 | openstack_control_node01: |
| 163 | classes: |
| 164 | - service.galera.master.cluster |
| 165 | - service.dogtag.server.cluster.master |
| 166 | params: |
| 167 | mysql_cluster_role: master |
| 168 | linux_system_codename: xenial |
| 169 | openstack_control_node02: |
| 170 | classes: |
| 171 | - service.galera.slave.cluster |
| 172 | - service.dogtag.server.cluster.slave |
| 173 | params: |
| 174 | mysql_cluster_role: slave |
| 175 | linux_system_codename: xenial |
| 176 | openstack_control_node03: |
| 177 | classes: |
| 178 | - service.galera.slave.cluster |
| 179 | - service.dogtag.server.cluster.slave |
| 180 | params: |
| 181 | mysql_cluster_role: slave |
| 182 | linux_system_codename: xenial |
| 183 | openstack_compute_node01: |
| 184 | params: |
Michael Polenchuk | 04a918b | 2018-07-16 13:59:24 +0400 | [diff] [blame] | 185 | dpdk0_name: ens5 |
Tatyana Leontovich | 023db38 | 2018-07-18 15:21:51 +0300 | [diff] [blame^] | 186 | dpdk0_pci: '"0000:00:05.0"' |
Tatyana Leontovich | 4f9d1a9 | 2018-03-28 15:36:40 +0300 | [diff] [blame] | 187 | single_address: 172.16.10.105 |
| 188 | tenant_address: 10.1.0.105 |
| 189 | external_address: 10.16.0.105 |
| 190 | openstack_compute_node02: |
| 191 | params: |
Michael Polenchuk | 04a918b | 2018-07-16 13:59:24 +0400 | [diff] [blame] | 192 | dpdk0_name: ens5 |
Tatyana Leontovich | 023db38 | 2018-07-18 15:21:51 +0300 | [diff] [blame^] | 193 | dpdk0_pci: '"0000:00:05.0"' |
Tatyana Leontovich | 4f9d1a9 | 2018-03-28 15:36:40 +0300 | [diff] [blame] | 194 | single_address: 172.16.10.106 |
| 195 | tenant_address: 10.1.0.106 |
| 196 | external_address: 10.16.0.106 |
| 197 | openstack_gateway_node01: |
| 198 | params: |
| 199 | tenant_address: 10.1.0.110 |
| 200 | external_address: 10.16.0.110 |
| 201 | openstack_proxy_node01: |
| 202 | classes: |
| 203 | - cluster.virtual-offline-ssl.openstack.proxy |
| 204 | params: |
| 205 | linux_system_codename: xenial |
| 206 | openstack_telemetry_node01: |
| 207 | params: |
| 208 | # create resources only from 1 controller |
| 209 | # to prevent race conditions |
| 210 | ceilometer_create_gnocchi_resources: true |
| 211 | redis_cluster_role: 'master' |
| 212 | openstack_telemetry_node02: |
| 213 | params: |
| 214 | redis_cluster_role: 'slave' |
| 215 | openstack_telemetry_node03: |
| 216 | params: |
| 217 | redis_cluster_role: 'slave' |