From 1be636c5abe3dbb22941059d296e04a684bbd416 Mon Sep 17 00:00:00 2001 From: Satish Patel Date: Thu, 3 Dec 2020 16:42:52 +0000 Subject: [PATCH] Removing spare_amphora_pool_size option Victoria and future releases going to deprecate this option. https://docs.openstack.org/octavia/latest/configuration/configref.html#house_keeping.spare_amphora_pool_size Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/765544 Change-Id: I99425c9b65c6327636a94c00b32545553a705611 --- defaults/main.yml | 3 --- doc/source/configure-octavia.rst | 7 ------- templates/octavia.conf.j2 | 3 --- 3 files changed, 13 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index c85bbf73..8dea5e3a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -265,9 +265,6 @@ octavia_amp_vcpu: 1 octavia_amp_disk: 20 #octavia_amp_extra_specs: -# spare pool - increase to speed up load balancer creation and fail over -octavia_spare_amphora_pool_size: 1 - # only increase when it's a really busy system since this is by deployed host, # e.g. 3 hosts, 5 workers (this param) per host, results in 15 worker total octavia_task_flow_max_workers: 5 diff --git a/doc/source/configure-octavia.rst b/doc/source/configure-octavia.rst index 75657647..0bc002d0 100644 --- a/doc/source/configure-octavia.rst +++ b/doc/source/configure-octavia.rst @@ -221,10 +221,3 @@ by adding ``octavia_loadbalancer_topology: ACTIVE_STANDBY`` and ``octavia_enable_anti_affinity=True`` to ensure that the active and passive amphora are (depending on the anti-affinity filter deployed in nova) on two different hosts to the user file in /etc/openstack-deploy - -To speed up the creation of load balancers or in a SINGLE topolgy -to speed up the failover a spare pool can be used. -The variable ``octavia_spare_amphora_pool_size`` controls -the size of the pool. The system will try -to prebuild this number so using too big a number will -consumes a lot of unnecessary resources. diff --git a/templates/octavia.conf.j2 b/templates/octavia.conf.j2 index 3f0b798a..4f730078 100644 --- a/templates/octavia.conf.j2 +++ b/templates/octavia.conf.j2 @@ -114,9 +114,6 @@ loadbalancer_topology = {{ octavia_loadbalancer_topology }} # engine = serial max_workers = {{ octavia_task_flow_max_workers }} -[house_keeping] -spare_amphora_pool_size = {{ octavia_spare_amphora_pool_size }} - [service_auth] insecure = {{ keystone_service_internaluri_insecure | bool }}