diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2 index 699465f8c2..115169ac53 100644 --- a/ansible/roles/neutron/templates/neutron.conf.j2 +++ b/ansible/roles/neutron/templates/neutron.conf.j2 @@ -115,6 +115,9 @@ 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 %} diff --git a/releasenotes/notes/fix-neutron-memcached-connection-issue-84f5affa217b4612.yaml b/releasenotes/notes/fix-neutron-memcached-connection-issue-84f5affa217b4612.yaml new file mode 100644 index 0000000000..a7bc30f7f3 --- /dev/null +++ b/releasenotes/notes/fix-neutron-memcached-connection-issue-84f5affa217b4612.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + Fixes `LP#1892210 + `__ where the number + of open connections to Memcached from ``neutron-server`` would grow over + time until reaching the maximum set by ``memcached_connection_limit`` (5000 + by default), at which point the Memcached instance would stop working.