From 560376396dd584ae014551d5929d2d5578370d7e Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Wed, 26 Jan 2022 13:42:47 +0000 Subject: [PATCH] Fix infra scenario repo server cluster The container affinity was not set for the repo server ansible group so only one was created, rather than 3. To test repo server synchronisation we need 3 repo servers. Change-Id: I3fdb94f707c9972b5ddb6d9f6fba4af92f3c4e3b --- etc/openstack_deploy/openstack_user_config.yml.aio.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/openstack_deploy/openstack_user_config.yml.aio.j2 b/etc/openstack_deploy/openstack_user_config.yml.aio.j2 index 5e3137bc9a..da4b2e46b2 100644 --- a/etc/openstack_deploy/openstack_user_config.yml.aio.j2 +++ b/etc/openstack_deploy/openstack_user_config.yml.aio.j2 @@ -215,7 +215,6 @@ shared-infra_hosts: galera_container: 3 memcached_container: 3 rabbit_mq_container: 3 - repo_container: 3 {% endif %} repo-infra_hosts: @@ -223,5 +222,9 @@ repo-infra_hosts: {% if bootstrap_host_install_method == 'distro' %} affinity: repo_container: 0 +{% endif %} +{% if 'infra' in bootstrap_host_scenarios_expanded %} + affinity: + repo_container: 3 {% endif %} ip: 172.29.236.100