Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo.mcp.salt |
| 5 | - system.openssh.client.lab |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 6 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame^] | 7 | - system.salt.master.api |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 8 | - system.reclass.storage.salt |
| 9 | - system.salt.minion.ca.salt_master |
| 10 | - system.salt.minion.cert.proxy |
| 11 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 12 | - system.keystone.client.core |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 13 | - system.keystone.client.service.cinder |
| 14 | - system.keystone.client.service.cinder2 |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 15 | - system.keystone.client.service.cinder3 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 16 | - system.keystone.client.service.glance |
| 17 | - system.keystone.client.service.glare |
| 18 | - system.keystone.client.service.heat |
| 19 | - system.keystone.client.service.heat-cfn |
| 20 | - system.keystone.client.service.keystone |
| 21 | - system.keystone.client.service.neutron |
| 22 | - system.keystone.client.service.nova-ec2 |
| 23 | - system.keystone.client.service.nova21 |
| 24 | - system.keystone.client.service.nova-placement |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 25 | - system.mysql.client |
| 26 | - system.mysql.client.database.cinder |
| 27 | - system.mysql.client.database.glance |
| 28 | - system.mysql.client.database.heat |
| 29 | - system.mysql.client.database.keystone |
| 30 | - system.mysql.client.database.nova |
| 31 | - system.mysql.client.database.nova_api |
| 32 | - system.mysql.client.database.neutron |
| 33 | - system.reclass.storage.system.openstack_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 34 | - cluster.os-ha-ovs-syndic.openstack.proxy |
| 35 | - cluster.os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 36 | parameters: |
| 37 | _param: |
| 38 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 39 | reclass_data_revision: master |
| 40 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 41 | salt_master_environment_revision: master |
| 42 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 43 | single_address: ${_param:infra_config_address} |
| 44 | salt_master_host: 127.0.0.1 |
| 45 | salt_master_base_environment: prd |
| 46 | salt_minion_ca_host: ${linux:network:fqdn} |
| 47 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 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 | nginx: |
| 58 | server: |
| 59 | site: |
| 60 | nginx_proxy_openstack_web: |
| 61 | proxy: |
| 62 | host: ${_param:openstack_control_address} |
| 63 | nginx_proxy_openstack_api_heat_cfn: |
| 64 | enabled: false |
| 65 | salt: |
| 66 | syndic: |
| 67 | enabled: true |
| 68 | master: |
Adam Tengler | b05a019 | 2017-07-25 12:07:15 +0000 | [diff] [blame] | 69 | host: ${_param:salt_syndic_master_address} |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 70 | master: |
| 71 | reactor: |
| 72 | reclass/minion/classify: |
| 73 | - salt://reclass/reactor/node_register.sls |
| 74 | reclass: |
| 75 | storage: |
| 76 | class_mapping: |
| 77 | common_node: |
| 78 | expression: all |
| 79 | node_param: |
| 80 | single_address: |
| 81 | value_template: <<node_control_ip>> |
| 82 | linux_system_codename: |
| 83 | value_template: <<node_os>> |
| 84 | salt_master_host: |
| 85 | value_template: <<node_master_ip>> |
| 86 | infra_config: |
Adam Tengler | 500745f | 2017-07-27 15:51:10 +0000 | [diff] [blame] | 87 | expression: |
| 88 | - <<node_hostname>>__startswith__cfg |
| 89 | - <<node_cluster>>__equals__os_ha_ovs_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 90 | cluster_param: |
| 91 | infra_config_address: |
| 92 | value_template: <<node_control_ip>> |
| 93 | infra_config_deploy_address: |
| 94 | value_template: <<node_deploy_ip>> |
| 95 | cluster_domain: |
| 96 | value_template: <<node_domain>> |
| 97 | openstack_control01: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 98 | expression: |
| 99 | - <<node_hostname>>__equals__ctl01 |
| 100 | - <<node_cluster>>__equals__os_ha_ovs_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 101 | cluster_param: |
| 102 | openstack_control_node01_address: |
| 103 | value_template: <<node_control_ip>> |
| 104 | openstack_control02: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 105 | expression: |
| 106 | - <<node_hostname>>__equals__ctl02 |
| 107 | - <<node_cluster>>__equals__os_ha_ovs_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 108 | cluster_param: |
| 109 | openstack_control_node02_address: |
| 110 | value_template: <<node_control_ip>> |
| 111 | openstack_control03: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 112 | expression: |
| 113 | - <<node_hostname>>__equals__ctl03 |
| 114 | - <<node_cluster>>__equals__os_ha_ovs_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 115 | cluster_param: |
| 116 | openstack_control_node03_address: |
| 117 | value_template: <<node_control_ip>> |
| 118 | openstack_compute: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 119 | expression: |
| 120 | - <<node_hostname>>__startswith__cmp |
| 121 | - <<node_cluster>>__equals__os_ha_ovs_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 122 | node_class: |
| 123 | value_template: |
| 124 | - cluster.<<node_cluster>>.openstack.compute |
| 125 | node_param: |
| 126 | tenant_address: |
| 127 | value_template: <<node_tenant_ip>> |
| 128 | external_address: |
| 129 | value_template: <<node_external_ip>> |
| 130 | openstack_gateway: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 131 | expression: |
| 132 | - <<node_hostname>>__startswith__gtw |
| 133 | - <<node_cluster>>__equals__os_ha_ovs_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 134 | node_class: |
| 135 | value_template: |
| 136 | - cluster.<<node_cluster>>.openstack.gateway |
| 137 | node_param: |
| 138 | tenant_address: |
| 139 | value_template: <<node_tenant_ip>> |
| 140 | external_address: |
| 141 | value_template: <<node_external_ip>> |
| 142 | cluster_param: |
| 143 | openstack_gateway_node01_address: |
| 144 | value_template: <<node_control_ip>> |
| 145 | node: |
| 146 | openstack_control_node01: |
| 147 | classes: |
| 148 | - service.galera.master.cluster |
| 149 | params: |
| 150 | mysql_cluster_role: master |
| 151 | linux_system_codename: xenial |
| 152 | openstack_control_node02: |
| 153 | classes: |
| 154 | - service.galera.slave.cluster |
| 155 | params: |
| 156 | mysql_cluster_role: slave |
| 157 | linux_system_codename: xenial |
| 158 | openstack_control_node03: |
| 159 | classes: |
| 160 | - service.galera.slave.cluster |
| 161 | params: |
| 162 | mysql_cluster_role: slave |
| 163 | linux_system_codename: xenial |