From 71bd20083378530b15b1a0434899f5356063885c Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Tue, 8 Feb 2022 10:12:03 +0100
Subject: [PATCH] Revert "Add workaround for keystonemiddleware/neutron
 memcached issue"

The default configuration was changed to use the advanced cache pool in
keystonemiddleware 9.3.0 (Xena release) [1].

This reverts commit 5a52d8e4a0c5d4c246deb8851ef893df63ee0847 (except the
release note).

[1] https://review.opendev.org/c/openstack/keystonemiddleware/+/773939

Change-Id: I290d0a81c57c189b6eb62fc3eee3ed19f441671b
---
 ansible/roles/neutron/templates/neutron.conf.j2 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2
index 3e2aeaf61c..920d813343 100644
--- a/ansible/roles/neutron/templates/neutron.conf.j2
+++ b/ansible/roles/neutron/templates/neutron.conf.j2
@@ -122,9 +122,6 @@ memcache_secret_key = {{ memcache_secret_key }}
 
 memcached_servers = {% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
 
-# Workaround for https://bugs.launchpad.net/keystonemiddleware/+bug/1883659
-memcache_use_advanced_pool = True
-
 [oslo_messaging_notifications]
 transport_url = {{ notify_transport_url }}
 {% if neutron_enabled_notification_topics %}