yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95125
[Bug 2091678] Re: django memcache error while starting horizon
Reviewed: https://review.opendev.org/c/openstack/horizon/+/937664
Committed: https://opendev.org/openstack/horizon/commit/8ccaf47a7fabfc06b53acef9f9b5cda30ac5b97c
Submitter: "Zuul (22348)"
Branch: master
commit 8ccaf47a7fabfc06b53acef9f9b5cda30ac5b97c
Author: Takashi Kajinami <kajinamit@xxxxxxxxxxxxxxx>
Date: Fri Dec 13 12:18:41 2024 +0900
doc: Switch to PyMemcacheCache backend
MemcachedCache backend was already removed in django 4.1[1] but horizon
requires django>=4.2 now[2]. So the backend can no longer be used.
[1] https://github.com/django/django/commit/05f3a6186efefc9fca2204a745b992501c6fd91f
[2] 605a515ebc31beb66ff46cb193bc96c62d086ff6
Closes-Bug: 2091678
Change-Id: I02afc8644ef801f2afba6ac03ac7fd0a8b109e77
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2091678
Title:
django memcache error while starting horizon
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Following official doc for Horizon configuration (https://docs.openstack.org/horizon/2024.2/install/install-rdo.html) brings wrong configuration
memcached session storage service:
[Thu Dec 12 20:34:05.924551 2024] [wsgi:error] [pid 62666:tid 62796]
[remote 10.101.14.143:57809]
django.core.cache.backends.base.InvalidCacheBackendError: Could not
find backend 'django.core.cache.backends.memcached.MemcachedCache':
Module "django.core.cache.backends.memcached" does not define a
"MemcachedCache" attribute/class
You should use default config from /etc/openstack-
dashboard/local_settings :
CACHES = {
...
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
...
}
SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies'
Issue is actual for Dalmatian 2024.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2091678/+subscriptions
References