Merge "Change defaults for octavia topology and affinity"

This commit is contained in:
Zuul 2022-12-12 18:25:08 +00:00 committed by Gerrit Code Review
commit 910128fa7c
2 changed files with 10 additions and 4 deletions

View File

@ -251,8 +251,7 @@ octavia_required_secrets:
## Octavia configs
# Load balancer topology options are SINGLE, ACTIVE_STANDBY
# ACTIVE_STANDBY is recommended for production settings
octavia_loadbalancer_topology: SINGLE
octavia_loadbalancer_topology: ACTIVE_STANDBY
# Image tag for the amphora image in glance
octavia_glance_image_tag: octavia-amphora-image
@ -320,8 +319,7 @@ octavia_neutron_oslomsg_rpc_password: "{{ neutron_oslomsg_rpc_password }}"
# this controls if Octavia should add an anti-affinity hint to make sure
# two amphora are not placed pn the same host (the most common setup of
# ant affinity features in Nova).
# Since AIO only has one compute host this is set to false
octavia_enable_anti_affinity: False
octavia_enable_anti_affinity: True
# Some installations put hardware more suited for load balancing in special
# availability zones. This allows to target a specific availability zone

View File

@ -0,0 +1,8 @@
---
upgrade:
- |
Default values for variables ``octavia_loadbalancer_topology`` and
``octavia_enable_anti_affinity`` has been switched to ``ACTIVE_STANDBY``
and ``True`` accordingly to reflect most reasonable production setup.
You can define these variables to their previous defaults if you want
to preserve behaviour.