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