Allow setting load balancer topology in Devstack
Load balancer topology options are SINGLE and ACTIVE_STANDBY. We default to SINGLE as it is the default in-code too. Change-Id: Id5af2397122ca3c031e9a5becccfcdd75506876f
This commit is contained in:
parent
9c787d6a96
commit
fa7308554a
@ -260,6 +260,9 @@ function octavia_configure {
|
|||||||
iniuncomment $OCTAVIA_CONF controller_worker amp_active_retries
|
iniuncomment $OCTAVIA_CONF controller_worker amp_active_retries
|
||||||
iniuncomment $OCTAVIA_CONF controller_worker amp_active_wait_sec
|
iniuncomment $OCTAVIA_CONF controller_worker amp_active_wait_sec
|
||||||
iniuncomment $OCTAVIA_CONF controller_worker workers
|
iniuncomment $OCTAVIA_CONF controller_worker workers
|
||||||
|
iniuncomment $OCTAVIA_CONF controller_worker loadbalancer_topology
|
||||||
|
|
||||||
|
iniset $OCTAVIA_CONF controller_worker loadbalancer_topology ${OCTAVIA_LB_TOPOLOGY}
|
||||||
|
|
||||||
# devstack optimizations for tempest runs
|
# devstack optimizations for tempest runs
|
||||||
iniset $OCTAVIA_CONF haproxy_amphora connection_max_retries 1500
|
iniset $OCTAVIA_CONF haproxy_amphora connection_max_retries 1500
|
||||||
|
@ -50,6 +50,8 @@ OCTAVIA_AMP_READ_TIMEOUT=${OCTAVIA_AMP_READ_TIMEOUT:-"120"}
|
|||||||
|
|
||||||
OCTAVIA_HEALTH_KEY=${OCTAVIA_HEALTH_KEY:-"insecure"}
|
OCTAVIA_HEALTH_KEY=${OCTAVIA_HEALTH_KEY:-"insecure"}
|
||||||
|
|
||||||
|
OCTAVIA_LB_TOPOLOGY=${OCTAVIA_LB_TOPOLOGY:-"SINGLE"}
|
||||||
|
|
||||||
OCTAVIA_AMP_EXPIRY_AGE=${OCTAVIA_AMP_EXPIRY_AGE:-"3600"}
|
OCTAVIA_AMP_EXPIRY_AGE=${OCTAVIA_AMP_EXPIRY_AGE:-"3600"}
|
||||||
OCTAVIA_LB_EXPIRY_AGE=${OCTAVIA_LB_EXPIRY_AGE:-"3600"}
|
OCTAVIA_LB_EXPIRY_AGE=${OCTAVIA_LB_EXPIRY_AGE:-"3600"}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user