Merge "[doc] Document better requirement for keepalived vip_cidr"

This commit is contained in:
Zuul 2022-12-07 19:06:51 +00:00 committed by Gerrit Code Review
commit 7cb780564f
4 changed files with 10 additions and 3 deletions

View File

@ -28,13 +28,14 @@ used_ips:
- "172.29.247.1,172.29.247.50" - "172.29.247.1,172.29.247.50"
global_overrides: global_overrides:
internal_lb_vip_address: internal-openstack.example.com
# #
# The below domain name must resolve to an IP address # The below domains name must resolve to an IP address
# in the CIDR specified in haproxy_keepalived_external_vip_cidr. # in the CIDR specified in haproxy_keepalived_external_vip_cidr and
# haproxy_keepalived_internal_vip_cidr.
# If using different protocols (https/http) for the public/internal # If using different protocols (https/http) for the public/internal
# endpoints the two addresses must be different. # endpoints the two addresses must be different.
# #
internal_lb_vip_address: internal-openstack.example.com
external_lb_vip_address: openstack.example.com external_lb_vip_address: openstack.example.com
management_bridge: "br-mgmt" management_bridge: "br-mgmt"
provider_networks: provider_networks:

View File

@ -173,6 +173,8 @@ install_method: source
# HAProxy Keepalived configuration (cf. documentation) # HAProxy Keepalived configuration (cf. documentation)
# Make sure that this is set correctly according to the CIDR used for your # Make sure that this is set correctly according to the CIDR used for your
# internal and external addresses. # internal and external addresses.
# If you've set external_lb_vip_address or internal_lb_vip_address to FQDN
# you must set these variables to the corresponding CIDRs for your setup.
# haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32" # haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32"
# haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32" # haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32"
# haproxy_keepalived_external_interface: # haproxy_keepalived_external_interface:

View File

@ -1,6 +1,8 @@
--- ---
# Because we have three haproxy nodes, we need # Because we have three haproxy nodes, we need
# to one active LB IP, and we use keepalived for that. # to one active LB IP, and we use keepalived for that.
# These variables must be defined when external_lb_vip_address or
# internal_lb_vip_address is set to FQDN.
## Load Balancer Configuration (haproxy/keepalived) ## Load Balancer Configuration (haproxy/keepalived)
haproxy_keepalived_external_vip_cidr: "<external_ip_address>/<netmask>" haproxy_keepalived_external_vip_cidr: "<external_ip_address>/<netmask>"
haproxy_keepalived_internal_vip_cidr: "172.29.236.9/32" haproxy_keepalived_internal_vip_cidr: "172.29.236.9/32"

View File

@ -1,6 +1,8 @@
--- ---
# This file contains an example of the global variable overrides # This file contains an example of the global variable overrides
# which may need to be set for a production environment. # which may need to be set for a production environment.
# These variables must be defined when external_lb_vip_address or
# internal_lb_vip_address is set to FQDN.
## Load Balancer Configuration (haproxy/keepalived) ## Load Balancer Configuration (haproxy/keepalived)
haproxy_keepalived_external_vip_cidr: "<external_vip_address>/<netmask>" haproxy_keepalived_external_vip_cidr: "<external_vip_address>/<netmask>"
haproxy_keepalived_internal_vip_cidr: "172.29.236.9/32" haproxy_keepalived_internal_vip_cidr: "172.29.236.9/32"