← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1441522] Re: Downtime for one of nodes with memcached causes delays in Horizon

 

** Also affects: puppet-openstack
   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/1441522

Title:
  Downtime for one of nodes with memcached causes delays in Horizon

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in Puppet module for OpenStack:
  New

Bug description:
  Horizon uses memcached servers for caching and it connects to all of
  them directly. So if one of them is not responding, it may lead to
  delays in Horizon operations.

  Workaround:

  1) Edit /etc/openstack-dashboard/local_settings file and temporarily
  remove the problem controller IP:PORT from LOCATION line in CACHE
  structure:

  CACHES = {
      'default': {
          'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
          'LOCATION' : "127.0.0.3:11211;127.0.0.5:11211;127.0.0.6:11211"
      },

  2) Restart apache web server

  
  For reproduce:

  sudo apt-get install memcached
  pip install python-memcache (in venv)

  in local_settings:

  CACHES = {
      'default': {
          'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
          'LOCATION' : "127.0.0.1:11211"
      },

  after this memcache works good, then set 'LOCATION' to
  "127.0.0.0:11211" -- we get large delay time

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1441522/+subscriptions


References