2015-04-08 15:06:58 |
Vlad Okhrimenko |
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 |
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 |
|