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