Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts?

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts?

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone**
**/var/log/keystone/keystone-wsgi-public.log**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

I enter code here`I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts?

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone/keystone-wsgi-public.log**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

enter code here`I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts?Thoughts? UPDATE: I came across this post while searching "unable to create new session key":

I was getting this error running a local, development version of a Django project, because it was periodically having trouble connecting to a non-local cache. I realized that I could change my session backend to a file-based session to address the issue . In the settings file for this local, development version of Django, I simply set the following value: SESSION_ENGINE = 'django.contrib.sessions.backends.file'

I found that in /etc/openstack-dashboard/local_settings.py if i change SESSION_ENGINE = 'django.contrib.sessions.backends.cache' to SESSION_ENGINE = 'django.contrib.sessions.backends.file' I can log in. The post recommends not to set this is PRODUCTION environments so I am continuing researching this. I hope this helps in finding the solution.

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone/keystone-wsgi-public.log**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

enter code here`I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts? UPDATE: I came across this post while searching stackoverflow "unable to create new session key":

key": This is the post on stackoverflow " I was getting this error running a local, development version of a Django project, because it was periodically having trouble connecting to a non-local cache. I realized that I could change my session backend to a file-based session to address the issue . In the settings file for this local, development version of Django, I simply set the following value: SESSION_ENGINE = 'django.contrib.sessions.backends.file''django.contrib.sessions.backends.file' "

I found that in /etc/openstack-dashboard/local_settings.py if i change SESSION_ENGINE = 'django.contrib.sessions.backends.cache' to SESSION_ENGINE = 'django.contrib.sessions.backends.file' I can log in. I am not sure what this does yet so I am continuing researching this. The post recommends not to set this is PRODUCTION environments so I am continuing researching this. . I hope this helps in finding the solution.

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone/keystone-wsgi-public.log**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

enter code here`I

I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts?  
UPDATE: 
I came across this post while searching stackoverflow "unable to create new session key":
This is the post on stackoverflow " I was getting this error running a local, development version of a Django project, because it was periodically having trouble connecting to a non-local cache. I realized that I could change my session backend to a file-based session to address the issue .
In the settings file for this local, development version of Django, I simply set the following value:
SESSION_ENGINE = 'django.contrib.sessions.backends.file' "

" I found that in /etc/openstack-dashboard/local_settings.py if i change SESSION_ENGINE = 'django.contrib.sessions.backends.cache' to SESSION_ENGINE = 'django.contrib.sessions.backends.file' I can log in. I am not sure what this does yet so I am continuing researching this. The post recommends not to set this is PRODUCTION environments . I hope this helps in finding the solution.

solution.

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone/keystone-wsgi-public.log**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/

RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable / Authorization failed. The request you have made requires authentication. from 10.0.0.11

I have just completed the base installation of Mitaka on Ubuntu 14.04.4. I attempted my first log in to the dashboard and got the following errors. I attempted two other answers to similar issues: Any Thoughts? 

UPDATE: 
I came across this post while searching stackoverflow "unable to create new session key":
This is the post on stackoverflow " I was getting this error running a local, development version of a Django project, because it was periodically having trouble connecting to a non-local cache. I realized that I could change my session backend to a file-based session to address the issue .
In the settings file for this local, development version of Django, I simply set the following value:
SESSION_ENGINE = 'django.contrib.sessions.backends.file' "

I found that in /etc/openstack-dashboard/local_settings.py if i change SESSION_ENGINE = 'django.contrib.sessions.backends.cache' to SESSION_ENGINE = 'django.contrib.sessions.backends.file' I can log in. I am not sure what this does yet so I am continuing researching this. The post recommends not to set this is PRODUCTION environments . I hope this helps in finding the solution.

UPDATE: django.contrib.sessions.backends.file' writes the session files to /tmp directory so my first thought is that it it does not know the location of the session store or it cant read or write to it. I Don't know where the session store is located yet.

ATTEMPTED SOLUTIONS

**Tried this first:**
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller1:11211', } } If I use the fqdn (e.g controller1) in the location it fails, try changing it to the IP (e.g. 10.0.0.11 or 127.0.0.1).

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

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

**Tried this second:**
restart your memcached service and delete all seesions from /tmp folder and also delete your cookies and cache from browser.

ERROR LOGS

**/var/log/apache2/error.log**
[Thu Apr 28 11:25:07.531778 2016] [:error] [pid 3305:tid 140348774455040] Login successful for user "admin".
[Thu Apr 28 11:25:11.385729 2016] [:error] [pid 3305:tid 140348774455040] Internal Server Error: /horizon/auth/login/
[Thu Apr 28 11:25:11.385827 2016] [:error] [pid 3305:tid 140348774455040] Traceback (most recent call last):
[Thu Apr 28 11:25:11.385853 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Apr 28 11:25:11.385859 2016] [:error] [pid 3305:tid 140348774455040]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Apr 28 11:25:11.385864 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385870 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385874 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385879 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385884 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385889 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385894 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
[Thu Apr 28 11:25:11.385898 2016] [:error] [pid 3305:tid 140348774455040]     **kwargs)
[Thu Apr 28 11:25:11.385902 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Apr 28 11:25:11.385907 2016] [:error] [pid 3305:tid 140348774455040]     return view(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385911 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Apr 28 11:25:11.385917 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385922 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Apr 28 11:25:11.385926 2016] [:error] [pid 3305:tid 140348774455040]     response = view_func(request, *args, **kwargs)
[Thu Apr 28 11:25:11.385932 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
[Thu Apr 28 11:25:11.385937 2016] [:error] [pid 3305:tid 140348774455040]     auth_login(request, form.get_user())
[Thu Apr 28 11:25:11.385941 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 110, in login
[Thu Apr 28 11:25:11.385946 2016] [:error] [pid 3305:tid 140348774455040]     request.session.cycle_key()
[Thu Apr 28 11:25:11.385950 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Thu Apr 28 11:25:11.385956 2016] [:error] [pid 3305:tid 140348774455040]     self.create()
[Thu Apr 28 11:25:11.385960 2016] [:error] [pid 3305:tid 140348774455040]   File "/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Thu Apr 28 11:25:11.385964 2016] [:error] [pid 3305:tid 140348774455040]     "Unable to create a new session key. "
[Thu Apr 28 11:25:11.385968 2016] [:error] [pid 3305:tid 140348774455040] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.

**/var/log/keystone/keystone-wsgi-public.log**
2016-04-28 11:25:01.727 3311 WARNING keystone.assignment.core [req-cdf64c0a-f275-47c3-b52c-235dfde27939 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:02.074 3311 INFO keystone.common.wsgi [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:02.319 3311 INFO keystone.token.providers.fernet.utils [req-dc91e44a-6eeb-450f-8ae6-b94299a39f9c - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.105 3310 WARNING keystone.assignment.core [req-d8fb3c26-7f44-48c7-b6b0-62c253ba57ca - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:04.377 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:04.927 3310 INFO keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:04.933 3310 INFO keystone.token.providers.fernet.utils [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:05.007 3310 WARNING keystone.common.wsgi [req-ffef8c22-6157-40ad-a220-1abeabb23938 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Authorization failed. The request you have made requires authentication. from 10.0.0.11
2016-04-28 11:25:05.014 3311 INFO keystone.common.wsgi [req-91198f97-bdcd-42a4-90a4-d34e65f01a4f - - - - -] GET http://controller:5000/v3/
2016-04-28 11:25:06.500 3309 WARNING keystone.assignment.core [req-398574d9-0d3c-4f3c-853e-8aeb56d18742 - - - - -] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-04-28 11:25:06.770 3309 INFO keystone.token.providers.fernet.utils [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.307 3309 INFO keystone.common.wsgi [req-3fca3f25-a00f-4879-b5c1-73b2cc639457 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] GET http://controller:5000/v3/users/e907cddbfc5c432988f935e9742085c4/projects
2016-04-28 11:25:07.354 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 - - - - -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.383 3310 INFO keystone.common.wsgi [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] POST http://controller:5000/v3/auth/tokens
2016-04-28 11:25:07.396 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/
2016-04-28 11:25:07.528 3310 INFO keystone.token.providers.fernet.utils [req-537b4c3e-02fb-46df-9f33-710c66d553f5 e907cddbfc5c432988f935e9742085c4 - - 67b2a8abdf674b10aee3f55e6b228bba -] Loaded 2 encryption keys (max_active_keys=3) from: /etc/keystone/fernet-keys/