Deprecate support of MemcachedCache backend

This backend was deprecated in django 3.2 and was removed in 4.1.

At the time of writing, all of the supported distributions provide
django 3.2 which contains the deprecation, so we can deprecate its
support now.

Change-Id: Ic0781aa5cd2100ded69ec262cffd834b0de86495
This commit is contained in:
Takashi Kajinami 2023-11-16 03:18:48 +09:00
parent 2467a38063
commit 567d97e1da
2 changed files with 7 additions and 0 deletions

View File

@ -667,6 +667,8 @@ class horizon(
if $manage_memcache_package {
if $cache_backend =~ /\.MemcachedCache$/ {
warning("Support for MemcachedCache backend has been deprecated. \
Use PyMemcacheCache backend instead")
ensure_packages('python-memcache', {
name => $::horizon::params::memcache_package,
tag => ['openstack'],

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Support for the MemcachedCache backend has been deprecated. This backend
was deprecated in django 3.2 .