33fb2d2ffa
Currently, deploying a multi-node AIO results in internal_lb_vip_address and external_lb_vip_address being set to the same IP (10.0.236.150), which results in services having issues communicating with the lb. This commit simply sets external_lb_vip_address to use the load balancer's dhcp address, which is fixed to 10.0.2.150. Change-Id: I6faabd641c0559a0381e559f364cc76c49293014
220 lines
4.6 KiB
YAML
220 lines
4.6 KiB
YAML
---
|
|
cidr_networks:
|
|
container: 10.0.236.0/22
|
|
tunnel: 10.0.240.0/22
|
|
storage: 10.0.244.0/22
|
|
flat: 10.0.248.0/22
|
|
|
|
used_ips:
|
|
- "10.0.236.0,10.0.236.200"
|
|
- "10.0.240.0,10.0.240.200"
|
|
- "10.0.244.0,10.0.244.200"
|
|
- "10.0.248.0,10.0.248.200"
|
|
|
|
global_overrides:
|
|
internal_lb_vip_address: "{{ internal_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}"
|
|
external_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_vm_fixed_addr']) }}"
|
|
tunnel_bridge: "br-vxlan"
|
|
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
|
|
is_ssh_address: true
|
|
- network:
|
|
container_bridge: "br-vxlan"
|
|
container_type: "veth"
|
|
container_interface: "eth10"
|
|
ip_from_q: "tunnel"
|
|
type: "vxlan"
|
|
range: "1:1000"
|
|
net_name: "vxlan"
|
|
group_binds:
|
|
- neutron_linuxbridge_agent
|
|
- network:
|
|
container_bridge: "br-flat"
|
|
container_type: "veth"
|
|
container_interface: "eth12"
|
|
type: "flat"
|
|
net_name: "flat"
|
|
group_binds:
|
|
- neutron_linuxbridge_agent
|
|
- utility_all
|
|
- network:
|
|
container_bridge: "br-vlan"
|
|
container_type: "veth"
|
|
container_interface: "eth11"
|
|
type: "vlan"
|
|
range: "1:1"
|
|
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
|
|
- swift_proxy
|
|
swift:
|
|
part_power: 8
|
|
storage_network: 'br-storage'
|
|
replication_network: 'br-storage'
|
|
drives:
|
|
- name: disk1
|
|
- name: disk2
|
|
- name: disk3
|
|
mount_point: /srv
|
|
storage_policies:
|
|
- policy:
|
|
name: default
|
|
index: 0
|
|
default: True
|
|
|
|
###
|
|
### Anchors
|
|
###
|
|
cinder_block: &cinder_block
|
|
cinder1:
|
|
ip: 10.0.236.130
|
|
container_vars:
|
|
cinder_backends:
|
|
limit_container_types: cinder_volume
|
|
lvm:
|
|
volume_group: cinder-volumes
|
|
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
|
|
volume_backend_name: LVM_iSCSI
|
|
iscsi_ip_address: "10.0.244.130"
|
|
|
|
cinder2:
|
|
ip: 10.0.236.131
|
|
container_vars:
|
|
cinder_backends:
|
|
limit_container_types: cinder_volume
|
|
lvm:
|
|
volume_group: cinder-volumes
|
|
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
|
|
volume_backend_name: LVM_iSCSI
|
|
iscsi_ip_address: "10.0.244.131"
|
|
|
|
|
|
compute_block: &compute_block
|
|
compute1:
|
|
ip: 10.0.236.120
|
|
|
|
compute2:
|
|
ip: 10.0.236.121
|
|
|
|
|
|
infra_block: &infra_block
|
|
infra1:
|
|
ip: 10.0.236.100
|
|
|
|
infra2:
|
|
ip: 10.0.236.101
|
|
|
|
infra3:
|
|
ip: 10.0.236.102
|
|
|
|
|
|
loadbalancer_block: &loadbalancer_block
|
|
loadbalancer1:
|
|
ip: 10.0.236.150
|
|
|
|
|
|
log_block: &log_block
|
|
logging1:
|
|
ip: 10.0.236.110
|
|
|
|
|
|
swift_block: &swift_block
|
|
swift1:
|
|
ip: 10.0.236.140
|
|
|
|
swift2:
|
|
ip: 10.0.236.141
|
|
|
|
swift3:
|
|
ip: 10.0.236.142
|
|
|
|
|
|
|
|
|
|
###
|
|
### Infrastructure
|
|
###
|
|
|
|
# galera, memcache, rabbitmq, utility
|
|
shared-infra_hosts: *infra_block
|
|
|
|
# repository (apt cache, python packages, etc)
|
|
repo-infra_hosts: *infra_block
|
|
|
|
# rsyslog server
|
|
log_hosts: *log_block
|
|
|
|
# load balancer
|
|
haproxy_hosts: *loadbalancer_block
|
|
|
|
|
|
###
|
|
### OpenStack
|
|
###
|
|
|
|
# keystone
|
|
identity_hosts: *infra_block
|
|
|
|
# cinder api services
|
|
storage-infra_hosts: *infra_block
|
|
|
|
# glance
|
|
image_hosts: *infra_block
|
|
|
|
# nova api, conductor, etc services
|
|
compute-infra_hosts: *infra_block
|
|
|
|
# heat
|
|
orchestration_hosts: *infra_block
|
|
|
|
# horizon
|
|
dashboard_hosts: *infra_block
|
|
|
|
# neutron server, agents (L3, etc)
|
|
network_hosts: *infra_block
|
|
|
|
# ceilometer (telemetry data collection)
|
|
metering-infra_hosts: *infra_block
|
|
|
|
# aodh (telemetry alarm service)
|
|
metering-alarm_hosts: *infra_block
|
|
|
|
# gnocchi (telemetry metrics storage)
|
|
metrics_hosts: *infra_block
|
|
|
|
# ceilometer compute agent (telemetry data collection)
|
|
metering-compute_hosts: *compute_block
|
|
|
|
# nova hypervisors
|
|
compute_hosts: *compute_block
|
|
|
|
# cinder storage host (LVM-backed)
|
|
storage_hosts: *cinder_block
|
|
|
|
# swift storage hosts
|
|
swift_hosts: *swift_block
|
|
|
|
# swift infra hosts
|
|
swift-proxy_hosts: *infra_block
|