Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [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 |
| 6 | - system.salt.master.api |
| 7 | - system.salt.master.pkg |
| 8 | - system.reclass.storage.salt |
| 9 | - system.salt.minion.ca.salt_master |
| 10 | - system.salt.minion.cert.proxy |
| 11 | - system.sphinx.server.doc.reclass |
| 12 | - system.keystone.client.single |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 13 | - system.keystone.client.service.nova21 |
| 14 | - system.keystone.client.service.glare |
| 15 | - system.keystone.client.service.cinder3 |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 16 | - system.mysql.client |
| 17 | - system.mysql.client.database.cinder |
| 18 | - system.mysql.client.database.glance |
| 19 | - system.mysql.client.database.heat |
| 20 | - system.mysql.client.database.keystone |
| 21 | - system.mysql.client.database.nova |
| 22 | - system.mysql.client.database.nova_api |
| 23 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 24 | - system.reclass.storage.system.openstack_control_cluster |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 25 | - cluster.os_ha_ovs.openstack.proxy |
| 26 | - cluster.os_ha_ovs |
| 27 | parameters: |
| 28 | _param: |
| 29 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 30 | reclass_data_revision: master |
| 31 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 32 | salt_master_environment_revision: master |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 33 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 34 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 35 | salt_master_host: 127.0.0.1 |
| 36 | salt_master_base_environment: prd |
| 37 | salt_minion_ca_host: ${linux:network:fqdn} |
| 38 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 39 | linux: |
| 40 | network: |
| 41 | interface: |
| 42 | ens4: |
| 43 | enabled: true |
| 44 | type: eth |
| 45 | proto: static |
| 46 | address: ${_param:single_address} |
| 47 | netmask: 255.255.255.0 |
| 48 | nginx: |
| 49 | server: |
| 50 | site: |
| 51 | nginx_proxy_openstack_web: |
| 52 | proxy: |
Adam Tengler | 03f8c5f | 2017-07-19 13:56:34 +0000 | [diff] [blame] | 53 | host: ${_param:openstack_control_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 54 | nginx_proxy_openstack_api_heat_cfn: |
| 55 | enabled: false |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 56 | salt: |
| 57 | master: |
| 58 | reactor: |
| 59 | reclass/minion/classify: |
| 60 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 61 | reclass: |
| 62 | storage: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 63 | class_mapping: |
| 64 | common_node: |
| 65 | expression: all |
| 66 | node_param: |
| 67 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 68 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 69 | linux_system_codename: |
| 70 | value_template: <<node_os>> |
| 71 | salt_master_host: |
| 72 | value_template: <<node_master_ip>> |
| 73 | infra_config: |
| 74 | expression: <<node_hostname>>__startswith__cfg |
| 75 | cluster_param: |
| 76 | infra_config_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 77 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 78 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 79 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 80 | cluster_domain: |
| 81 | value_template: <<node_domain>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 82 | openstack_control01: |
| 83 | expression: <<node_hostname>>__equals__ctl01 |
| 84 | cluster_param: |
| 85 | openstack_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 86 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 87 | openstack_control02: |
| 88 | expression: <<node_hostname>>__equals__ctl02 |
| 89 | cluster_param: |
| 90 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 91 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 92 | openstack_control03: |
| 93 | expression: <<node_hostname>>__equals__ctl03 |
| 94 | cluster_param: |
| 95 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 96 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 97 | openstack_compute: |
| 98 | expression: <<node_hostname>>__startswith__cmp |
| 99 | node_class: |
| 100 | value_template: |
| 101 | - cluster.<<node_cluster>>.openstack.compute |
Adam Tengler | 8b25441 | 2017-06-29 18:30:32 +0000 | [diff] [blame] | 102 | node_param: |
| 103 | tenant_address: |
| 104 | value_template: <<node_tenant_ip>> |
| 105 | external_address: |
| 106 | value_template: <<node_external_ip>> |
Adam Tengler | f16be66 | 2017-07-18 10:25:13 +0000 | [diff] [blame] | 107 | openstack_gateway: |
| 108 | expression: <<node_hostname>>__startswith__gtw |
| 109 | node_class: |
| 110 | value_template: |
| 111 | - cluster.<<node_cluster>>.openstack.gateway |
| 112 | node_param: |
| 113 | tenant_address: |
| 114 | value_template: <<node_tenant_ip>> |
| 115 | external_address: |
| 116 | value_template: <<node_external_ip>> |
| 117 | cluster_param: |
| 118 | openstack_gateway_node01_address: |
| 119 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 120 | node: |
| 121 | openstack_control_node01: |
| 122 | classes: |
| 123 | - service.galera.master.cluster |
| 124 | params: |
| 125 | mysql_cluster_role: master |
| 126 | linux_system_codename: xenial |
| 127 | openstack_control_node02: |
| 128 | classes: |
| 129 | - service.galera.slave.cluster |
| 130 | params: |
| 131 | mysql_cluster_role: slave |
| 132 | linux_system_codename: xenial |
| 133 | openstack_control_node03: |
| 134 | classes: |
| 135 | - service.galera.slave.cluster |
| 136 | params: |
| 137 | mysql_cluster_role: slave |
| 138 | linux_system_codename: xenial |