← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2039225] [NEW] django.core.cache.backends.memcached.MemcachedCache backend is removed

 

Public bug reported:

In 4.1 the django.core.cache.backends.memcached.MemcachedCache backend
is removed.

https://github.com/django/django/blob/main/docs/releases/4.1.txt#L749

This results in the following error on Ubuntu Mantic:

InvalidCacheBackendError at /
Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
Request Method:	GET
Request URL:	http://10.5.3.66/horizon/
Django Version:	4.2.4
Exception Type:	InvalidCacheBackendError
Exception Value:
Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
Exception Location:	/usr/lib/python3/dist-packages/django/core/cache/__init__.py, line 49, in create_connection
Python Executable:	/usr/bin/python3
Python Version:	3.11.6
Python Path:
['/usr/lib/python3/dist-packages',
 '/usr/lib/python311.zip',
 '/usr/lib/python3.11',
 '/usr/lib/python3.11/lib-dynload',
 '/usr/local/lib/python3.11/dist-packages',
 '/usr/lib/python3/dist-packages',
 '/usr/lib/python3/dist-packages/openstack_dashboard']
Server time:	Thu, 12 Oct 2023 20:44:30 +0000

** Affects: charm-openstack-dashboard
     Importance: Undecided
         Status: New

** Affects: horizon
     Importance: Undecided
         Status: New

** Also affects: charm-openstack-dashboard
   Importance: Undecided
       Status: New

** Description changed:

  In 4.1 the django.core.cache.backends.memcached.MemcachedCache backend
  is removed.
  
  https://github.com/django/django/blob/main/docs/releases/4.1.txt#L749
+ 
+ 
+ This results in the following error:
+ 
+ InvalidCacheBackendError at /
+ Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
+ Request Method:	GET
+ Request URL:	http://10.5.3.66/horizon/
+ Django Version:	4.2.4
+ Exception Type:	InvalidCacheBackendError
+ Exception Value:	
+ Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
+ Exception Location:	/usr/lib/python3/dist-packages/django/core/cache/__init__.py, line 49, in create_connection
+ Python Executable:	/usr/bin/python3
+ Python Version:	3.11.6
+ Python Path:	
+ ['/usr/lib/python3/dist-packages',
+  '/usr/lib/python311.zip',
+  '/usr/lib/python3.11',
+  '/usr/lib/python3.11/lib-dynload',
+  '/usr/local/lib/python3.11/dist-packages',
+  '/usr/lib/python3/dist-packages',
+  '/usr/lib/python3/dist-packages/openstack_dashboard']
+ Server time:	Thu, 12 Oct 2023 20:44:30 +0000

** Description changed:

  In 4.1 the django.core.cache.backends.memcached.MemcachedCache backend
  is removed.
  
  https://github.com/django/django/blob/main/docs/releases/4.1.txt#L749
  
- 
- This results in the following error:
+ This results in the following error on Ubuntu Mantic:
  
  InvalidCacheBackendError at /
  Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
  Request Method:	GET
  Request URL:	http://10.5.3.66/horizon/
  Django Version:	4.2.4
  Exception Type:	InvalidCacheBackendError
- Exception Value:	
+ Exception Value:
  Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
  Exception Location:	/usr/lib/python3/dist-packages/django/core/cache/__init__.py, line 49, in create_connection
  Python Executable:	/usr/bin/python3
  Python Version:	3.11.6
- Python Path:	
+ Python Path:
  ['/usr/lib/python3/dist-packages',
-  '/usr/lib/python311.zip',
-  '/usr/lib/python3.11',
-  '/usr/lib/python3.11/lib-dynload',
-  '/usr/local/lib/python3.11/dist-packages',
-  '/usr/lib/python3/dist-packages',
-  '/usr/lib/python3/dist-packages/openstack_dashboard']
+  '/usr/lib/python311.zip',
+  '/usr/lib/python3.11',
+  '/usr/lib/python3.11/lib-dynload',
+  '/usr/local/lib/python3.11/dist-packages',
+  '/usr/lib/python3/dist-packages',
+  '/usr/lib/python3/dist-packages/openstack_dashboard']
  Server time:	Thu, 12 Oct 2023 20:44:30 +0000

-- 
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/2039225

Title:
  django.core.cache.backends.memcached.MemcachedCache backend is
  removed

Status in OpenStack Dashboard Charm:
  New
Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In 4.1 the django.core.cache.backends.memcached.MemcachedCache backend
  is removed.

  https://github.com/django/django/blob/main/docs/releases/4.1.txt#L749

  This results in the following error on Ubuntu Mantic:

  InvalidCacheBackendError at /
  Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
  Request Method:	GET
  Request URL:	http://10.5.3.66/horizon/
  Django Version:	4.2.4
  Exception Type:	InvalidCacheBackendError
  Exception Value:
  Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
  Exception Location:	/usr/lib/python3/dist-packages/django/core/cache/__init__.py, line 49, in create_connection
  Python Executable:	/usr/bin/python3
  Python Version:	3.11.6
  Python Path:
  ['/usr/lib/python3/dist-packages',
   '/usr/lib/python311.zip',
   '/usr/lib/python3.11',
   '/usr/lib/python3.11/lib-dynload',
   '/usr/local/lib/python3.11/dist-packages',
   '/usr/lib/python3/dist-packages',
   '/usr/lib/python3/dist-packages/openstack_dashboard']
  Server time:	Thu, 12 Oct 2023 20:44:30 +0000

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-openstack-dashboard/+bug/2039225/+subscriptions



Follow ups