Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.system.lowmem |
| 3 | - system.linux.system.repo.glusterfs |
| 4 | - system.linux.system.repo.mcp.openstack |
| 5 | - system.linux.system.repo.mcp.extra |
| 6 | - system.linux.system.repo.saltstack.xenial |
| 7 | - system.salt.minion.cert.mysql.server |
| 8 | - system.salt.minion.cert.rabbitmq_server |
| 9 | - system.memcached.server.single |
| 10 | - system.rabbitmq.server.cluster |
| 11 | - service.rabbitmq.server.ssl |
| 12 | - system.nginx.server.single |
| 13 | - system.nginx.server.proxy.openstack_api |
| 14 | - system.nginx.server.proxy.openstack.ironic |
| 15 | #- system.nginx.server.proxy.openstack.designate |
| 16 | - system.nginx.server.proxy.openstack.placement |
| 17 | - system.rabbitmq.server.vhost.openstack |
| 18 | - system.keystone.server.wsgi |
| 19 | - system.keystone.server.cluster |
| 20 | - system.glusterfs.client.cluster |
| 21 | - system.glusterfs.client.volume.glance |
| 22 | - system.glusterfs.client.volume.keystone |
| 23 | - system.glusterfs.server.volume.glance |
| 24 | - system.glusterfs.server.volume.keystone |
| 25 | - system.glusterfs.server.cluster |
| 26 | - system.glance.control.cluster |
| 27 | - system.heka.alarm.openstack_control |
| 28 | - system.nova.control.cluster |
| 29 | - system.neutron.control.openvswitch.cluster |
| 30 | - system.cinder.control.cluster |
| 31 | - system.haproxy.proxy.listen.openstack.ironic |
| 32 | - system.haproxy.proxy.listen.openstack.nova-placement |
| 33 | - system.heat.server.cluster |
| 34 | - system.galera.server.cluster |
| 35 | - service.galera.ssl |
| 36 | - system.galera.server.database.ceilometer |
| 37 | - system.galera.server.database.cinder |
| 38 | - system.galera.server.database.glance |
| 39 | - system.galera.server.database.grafana |
| 40 | - system.galera.server.database.heat |
| 41 | - system.galera.server.database.keystone |
| 42 | - system.galera.server.database.nova |
| 43 | - system.galera.server.database.ironic |
| 44 | - service.ironic.client |
| 45 | - system.ironic.api.cluster |
| 46 | - cluster.virtual-mcp11-ovs-ironic-ssl |
| 47 | parameters: |
| 48 | _param: |
| 49 | keepalived_vip_interface: ens4 |
| 50 | cluster_vip_address: ${_param:openstack_control_address} |
| 51 | cluster_local_address: ${_param:single_address} |
| 52 | salt_minion_ca_host: cfg01.${linux:system:domain} |
| 53 | ### nginx ssl sites settings |
| 54 | nginx_proxy_ssl: |
| 55 | enabled: true |
| 56 | engine: salt |
| 57 | authority: "${_param:salt_minion_ca_authority}" |
| 58 | key_file: "/etc/ssl/private/internal_proxy.key" |
| 59 | cert_file: "/etc/ssl/certs/internal_proxy.crt" |
| 60 | chain_file: "/etc/ssl/certs/internal_proxy-with-chain.crt" |
| 61 | nginx_proxy_openstack_api_address: ${_param:cluster_local_address} |
| 62 | nginx_proxy_openstack_keystone_host: 127.0.0.1 |
| 63 | nginx_proxy_openstack_nova_host: 127.0.0.1 |
| 64 | nginx_proxy_openstack_cinder_host: 127.0.0.1 |
| 65 | nginx_proxy_openstack_glance_host: 127.0.0.1 |
| 66 | nginx_proxy_openstack_neutron_host: 127.0.0.1 |
| 67 | nginx_proxy_openstack_heat_host: 127.0.0.1 |
| 68 | nginx_proxy_openstack_designate_host: 127.0.0.1 |
| 69 | nginx_proxy_openstack_placement_host: 127.0.0.1 |
| 70 | nginx_proxy_openstack_ironic_host: 127.0.0.1 |
| 71 | apache_keystone_api_host: ${_param:single_address} |
| 72 | apache_keystone_ssl: ${_param:nginx_proxy_ssl} |
| 73 | # Disable keystone nginx sites as we configure SSL for them in Apache |
| 74 | nginx: |
| 75 | server: |
| 76 | site: |
| 77 | nginx_proxy_openstack_api_keystone: |
| 78 | enabled: false |
| 79 | nginx_proxy_openstack_api_keystone_private: |
| 80 | enabled: false |
| 81 | linux: |
| 82 | system: |
| 83 | package: |
| 84 | python-msgpack: |
| 85 | version: latest |
| 86 | network: |
| 87 | interface: |
| 88 | ens4: |
| 89 | enabled: true |
| 90 | type: eth |
| 91 | proto: static |
| 92 | address: ${_param:single_address} |
| 93 | netmask: 255.255.255.0 |
| 94 | keepalived: |
| 95 | cluster: |
| 96 | instance: |
| 97 | VIP: |
| 98 | virtual_router_id: 150 |
| 99 | keystone: |
| 100 | server: |
| 101 | admin_email: ${_param:admin_email} |
| 102 | notification: |
| 103 | driver: messagingv2 |
| 104 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 105 | glance: |
| 106 | server: |
| 107 | storage: |
| 108 | engine: file |
| 109 | images: [] |
| 110 | workers: 1 |
| 111 | notification: |
| 112 | driver: messagingv2 |
| 113 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 114 | bind: |
| 115 | address: 127.0.0.1 |
| 116 | identity: |
| 117 | protocol: https |
| 118 | registry: |
| 119 | protocol: https |
| 120 | heat: |
| 121 | server: |
| 122 | notification: |
| 123 | driver: messagingv2 |
| 124 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 125 | bind: |
| 126 | api: |
| 127 | address: 127.0.0.1 |
| 128 | api_cfn: |
| 129 | address: 127.0.0.1 |
| 130 | api_cloudwatch: |
| 131 | address: 127.0.0.1 |
| 132 | neutron: |
| 133 | server: |
| 134 | notification: |
| 135 | driver: messagingv2 |
| 136 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 137 | bind: |
| 138 | address: 127.0.0.1 |
| 139 | identity: |
| 140 | protocol: https |
| 141 | nova: |
| 142 | controller: |
| 143 | networking: dvr |
| 144 | cpu_allocation: 54 |
| 145 | metadata: |
| 146 | password: ${_param:metadata_password} |
| 147 | bind: |
| 148 | address: ${_param:cluster_local_address} |
| 149 | bind: |
| 150 | private_address: 127.0.0.1 |
| 151 | identity: |
| 152 | protocol: https |
| 153 | network: |
| 154 | protocol: https |
| 155 | glance: |
| 156 | protocol: https |
| 157 | # bind: |
| 158 | # private_address: ${_param:cluster_local_address} |
| 159 | # public_address: ${_param:cluster_vip_address} |
| 160 | # novncproxy_port: 6080 |
| 161 | vncproxy_url: http://${_param:cluster_vip_address}:6080 |
| 162 | workers: 1 |
| 163 | notification: |
| 164 | driver: messagingv2 |
| 165 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 166 | cinder: |
| 167 | volume: |
| 168 | notification: |
| 169 | driver: messagingv2 |
| 170 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 171 | controller: |
| 172 | notification: |
| 173 | driver: messagingv2 |
| 174 | topics: "notifications,${_param:stacklight_notification_topic}" |
| 175 | identity: |
| 176 | protocol: https |
| 177 | osapi: |
| 178 | host: 127.0.0.1 |
| 179 | glance: |
| 180 | protocol: https |
| 181 | ironic: |
| 182 | api: |
Vasyl Saienko | e31ccde | 2018-02-22 12:47:19 +0200 | [diff] [blame] | 183 | public_endpoint: https://${_param:cluster_vip_address}:6385 |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 184 | message_queue: |
| 185 | port: ${_param:rabbitmq_port} |
| 186 | ssl: |
| 187 | enabled: ${_param:rabbitmq_ssl_enabled} |
| 188 | database: |
| 189 | ssl: |
| 190 | enabled: ${_param:galera_ssl_enabled} |
| 191 | bind: |
| 192 | address: 127.0.0.1 |
| 193 | identity: |
| 194 | protocol: https |
| 195 | salt: |
| 196 | minion: |
| 197 | cert: |
| 198 | internal_proxy: |
| 199 | host: ${_param:salt_minion_ca_host} |
| 200 | authority: ${_param:salt_minion_ca_authority} |
| 201 | common_name: internal_proxy |
| 202 | signing_policy: cert_open |
| 203 | alternative_names: IP:127.0.0.1,IP:${_param:cluster_local_address},IP:${_param:cluster_public_host},DNS:${linux:system:name},DNS:${linux:network:fqdn},DNS:${_param:cluster_local_address},DNS:${_param:cluster_public_host} |
| 204 | key_file: "/etc/ssl/private/internal_proxy.key" |
| 205 | cert_file: "/etc/ssl/certs/internal_proxy.crt" |
| 206 | all_file: "/etc/ssl/certs/internal_proxy-with-chain.crt" |
| 207 | haproxy: |
| 208 | proxy: |
| 209 | listen: |
| 210 | keystone_public_api: |
| 211 | type: ~ |
| 212 | keystone_admin_api: |
| 213 | type: ~ |
| 214 | nova_api: |
| 215 | type: ~ |
| 216 | nova_metadata_api: |
| 217 | type: ~ |
| 218 | cinder_api: |
| 219 | type: ~ |
| 220 | glance_api: |
| 221 | type: ~ |
| 222 | glance_registry_api: |
| 223 | type: ~ |
| 224 | heat_cloudwatch_api: |
| 225 | type: ~ |
| 226 | heat_api: |
| 227 | type: ~ |
| 228 | heat_cfn_api: |
| 229 | type: ~ |
| 230 | neutron_api: |
| 231 | type: ~ |
| 232 | nova_placement_api: |
| 233 | type: ~ |
| 234 | ironic: |
| 235 | type: ~ |