yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70336
[Bug 1742835] Re: Cache Location Parsing Error Multiple Memcache Servers
No problem. I closed the ticket.
** Changed in: horizon
Status: Incomplete => Invalid
--
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/1742835
Title:
Cache Location Parsing Error Multiple Memcache Servers
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
When trying to add 3 controllers for a HA environment in
local_settings.py in the LOCATION for MEMCACHED a parsing error is
received. The documentation for Openstack indicates this is the
current way to provide failover. The other openstack projects provide
this.
local_settings.py
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller1:11211,controller2:11211,controller3:11211',
},is the currrent}
ERROR in apache2.
[Thu Jan 11 20:01:03.499016 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] mod_wsgi (pid=9577): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Thu Jan 11 20:01:03.499070 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] Traceback (most recent call last):
[Thu Jan 11 20:01:03.499095 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/django/http/response.py", line 309, in close
[Thu Jan 11 20:01:03.499156 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] signals.request_finished.send(sender=self._handler_class)
[Thu Jan 11 20:01:03.499169 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 189, in send
[Thu Jan 11 20:01:03.499187 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] response = receiver(signal=self, sender=sender, **named)
[Thu Jan 11 20:01:03.499196 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/django/core/cache/__init__.py", line 156, in close_caches
[Thu Jan 11 20:01:03.499213 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] cache.close()
[Thu Jan 11 20:01:03.499224 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/django/core/cache/backends/memcached.py", line 111, in close
[Thu Jan 11 20:01:03.499240 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] self._cache.disconnect_all()
[Thu Jan 11 20:01:03.499247 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/django/core/cache/backends/memcached.py", line 175, in _cache
[Thu Jan 11 20:01:03.499261 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] self._client = self._lib.Client(self._servers, pickleProtocol=pickle.HIGHEST_PROTOCOL)
[Thu Jan 11 20:01:03.499270 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/memcache.py", line 223, in __init__
[Thu Jan 11 20:01:03.499284 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] self.set_servers(servers)
[Thu Jan 11 20:01:03.499292 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/memcache.py", line 302, in set_servers
[Thu Jan 11 20:01:03.499305 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] for s in servers]
[Thu Jan 11 20:01:03.499314 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] File "/usr/lib/python2.7/dist-packages/memcache.py", line 1321, in __init__
[Thu Jan 11 20:01:03.499326 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] raise ValueError('Unable to parse connection string: "%s"' % host)
[Thu Jan 11 20:01:03.499349 2018] [wsgi:error] [pid 9577:tid 139748597044992] [remote 10.11.0.2:38087] ValueError: Unable to parse connection string: "controller1:11211,controller2:11211,controller3:11211"
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1742835/+subscriptions
References