From 1e36bee28f2d38f0f88277df4fd9546964f3a5f4 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 24 Jul 2024 19:28:17 +0900 Subject: [PATCH] Horizon: Switch to PyMemcacheCache backend The MemcachedCache backend was deprecated in django 3.2 and was removed in 4.1. Change-Id: I0bd64aa79023e65b8d81851c59e7b3ff8ccfb56a --- packstack/puppet/modules/packstack/manifests/horizon.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packstack/puppet/modules/packstack/manifests/horizon.pp b/packstack/puppet/modules/packstack/manifests/horizon.pp index a58c033c6..0a39ef319 100644 --- a/packstack/puppet/modules/packstack/manifests/horizon.pp +++ b/packstack/puppet/modules/packstack/manifests/horizon.pp @@ -25,7 +25,7 @@ class packstack::horizon () hypervisor_options => {'can_set_mount_point' => false, }, django_debug => $is_django_debug, django_session_engine => 'django.contrib.sessions.backends.cache', - cache_backend => 'django.core.cache.backends.memcached.MemcachedCache', + cache_backend => 'django.core.cache.backends.memcached.PyMemcacheCache', cache_server_ip => '127.0.0.1', cache_server_port => '11211', file_upload_temp_dir => '/var/tmp',