← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2091678] [NEW] django memcache error while starting horizon

 

Public bug reported:

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

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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):
  New

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