Created
June 22, 2020 09:46
-
-
Save a1git/5590f44c198b68c190cc5ea6a9514090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## user_variables ## | |
--- | |
debug: false | |
install_method: source | |
haproxy_keepalived_external_vip_cidr: "10.11.12.10/22" | |
haproxy_keepalived_internal_vip_cidr: "172.29.236.10/22" | |
haproxy_keepalived_external_interface: enp1s0 | |
haproxy_keepalived_internal_interface: br-mgmt | |
openstack_config: true | |
cinder_ceph_client: cinder | |
glance_ceph_client: glance | |
glance_default_store: rbd | |
glance_rbd_store_pool: images | |
nova_libvirt_images_rbd_pool: vms | |
ceph_origin: repository | |
ceph_repository: community | |
ceph_stable_release: octopus | |
journal_size: 10240 # size in MB | |
osd_pool_default_pg_num: 128 | |
osd_pool_default_pgp_num: 128 | |
monitor_address_block: "{{ cidr_networks.container }}" | |
public_network: "{{ cidr_networks.container }}" | |
cluster_network: "{{ cidr_networks.storage }}" | |
resolvconf_enabled : False | |
generate_fsid: false | |
fsid: 90df3951-a5b5-4213-9bcf-52b9e3de3c44 | |
cinder_backends: | |
RBD: | |
volume_driver: cinder.volume.drivers.rbd.RBDDriver | |
rbd_pool: volumes | |
rbd_ceph_conf: /etc/ceph/ceph.conf | |
rbd_store_chunk_size: 8 | |
volume_backend_name: rbddriver | |
rbd_user: "{{ cinder_ceph_client }}" | |
rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}" | |
report_discard_supported: true | |
neutron_plugin_base: | |
- router | |
- firewall | |
- vpnaas | |
- metering | |
- qos | |
haproxy_keepalived_external_virtual_router_id: 51 | |
haproxy_keepalived_internal_virtual_router_id: 151 | |
haproxy_keepalived_priority_master: 100 | |
haproxy_keepalived_priority_backup: 50 | |
## use_config ## | |
--- | |
cidr_networks: &cidr_networks | |
container: 172.29.236.0/22 | |
tunnel: 172.29.240.0/22 | |
storage: 172.29.244.0/22 | |
used_ips: | |
- "172.29.236.1,172.29.236.50" | |
- "172.29.240.1,172.29.240.50" | |
- "172.29.244.1,172.29.244.50" | |
- "172.29.248.1,172.29.248.50" | |
global_overrides: | |
cidr_networks: *cidr_networks | |
internal_lb_vip_address: 172.29.236.10 | |
# | |
# The below domain name must resolve to an IP address | |
# in the CIDR specified in haproxy_keepalived_external_vip_cidr. | |
# If using different protocols (https/http) for the public/internal | |
# endpoints the two addresses must be different. | |
# | |
external_lb_vip_address: mero.cloud | |
management_bridge: "br-mgmt" | |
provider_networks: | |
- network: | |
container_bridge: "br-mgmt" | |
container_type: "veth" | |
container_interface: "eth1" | |
ip_from_q: "container" | |
type: "raw" | |
group_binds: | |
- all_containers | |
- hosts | |
is_container_address: true | |
- network: | |
container_bridge: "br-vxlan" | |
container_type: "veth" | |
container_interface: "eth10" | |
ip_from_q: "tunnel" | |
type: "vxlan" | |
range: "100000:999999" | |
net_name: "vxlan" | |
group_binds: | |
- neutron_linuxbridge_agent | |
- network: | |
container_bridge: "br-vlan" | |
container_type: "veth" | |
container_interface: "eth12" | |
host_bind_override: "eth12" | |
type: "flat" | |
net_name: "flat" | |
group_binds: | |
- neutron_linuxbridge_agent | |
- network: | |
container_bridge: "br-vlan" | |
container_type: "veth" | |
container_interface: "eth11" | |
type: "vlan" | |
range: "1:4050" | |
net_name: "vlan" | |
group_binds: | |
- neutron_linuxbridge_agent | |
- network: | |
container_bridge: "br-storage" | |
container_type: "veth" | |
container_interface: "eth2" | |
ip_from_q: "storage" | |
type: "raw" | |
group_binds: | |
- glance_api | |
- cinder_api | |
- cinder_volume | |
- nova_compute | |
- ceph-osd | |
_infrastructure_hosts: &infrastructure_hosts | |
a1: | |
ip: 172.29.236.11 | |
a2: | |
ip: 172.29.236.12 | |
a3: | |
ip: 172.29.236.13 | |
compute_hosts: &compute_hosts | |
h1: | |
ip: 172.29.236.31 | |
h2: | |
ip: 172.29.236.32 | |
h3: | |
ip: 172.29.236.33 | |
ceph-osd_hosts: | |
c1: | |
ip: 172.29.236.21 | |
container_vars: | |
dedicated_devices: | |
- /dev/vdb | |
c2: | |
ip: 172.29.236.22 | |
container_vars: | |
dedicated_devices: | |
- /dev/vdb | |
c3: | |
ip: 172.29.236.23 | |
container_vars: | |
dedicated_devices: | |
- /dev/vdb | |
shared-infra_hosts: *infrastructure_hosts | |
ceph-mon_hosts: *infrastructure_hosts | |
repo-infra_hosts: *infrastructure_hosts | |
haproxy_hosts: *infrastructure_hosts | |
identity_hosts: *infrastructure_hosts | |
storage-infra_hosts: *infrastructure_hosts | |
storage_hosts: *infrastructure_hosts | |
image_hosts: *infrastructure_hosts | |
placement-infra_hosts: *infrastructure_hosts | |
compute-infra_hosts: *infrastructure_hosts | |
orchestration_hosts: *infrastructure_hosts | |
dashboard_hosts: *infrastructure_hosts | |
network_hosts: *compute_hosts | |
metering-infra_hosts: *infrastructure_hosts | |
metering-alarm_hosts: *infrastructure_hosts | |
metrics_hosts: *infrastructure_hosts | |
metering-compute_hosts: *compute_hosts | |
magnum-infra_hosts: *infrastructure_hosts | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment