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