From f4f7ca56dc0ce84120d2048edb95d0371c5bcb9d Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 29 Nov 2022 20:35:35 +0100 Subject: [PATCH] Disable octavia anti-affinity for AIO builds At the moment we globally disable anti-affinity for all deployments. However, more production-ready deployment would be to have this setting enabled as well as ACTIVE/STANDBY topology. Setting that specifically for AIO and CI doesn't make much sense as force everyone to explicitly override values for any real deployment Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/866062 Change-Id: I3762cd5ae48ae2f6fe475dc7453f8b90fae54aa7 --- .../bootstrap-host/templates/user_variables_octavia.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/roles/bootstrap-host/templates/user_variables_octavia.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables_octavia.yml.j2 index bfd62c3ab1..8887a9daf6 100644 --- a/tests/roles/bootstrap-host/templates/user_variables_octavia.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables_octavia.yml.j2 @@ -19,6 +19,9 @@ octavia_octavia_conf_overrides: health_update_threads: 2 stats_update_threads: 2 +octavia_enable_anti_affinity: False +octavia_loadbalancer_topology: SINGLE + octavia_ssh_enabled: True octavia_legacy_policy: True octavia_amp_vcpu: 2