Ask Your Question
1

Mitaka: Authorization failed. The request you have made requires authentication.

asked 2017-03-15 13:59:18 -0600

apbo gravatar image

updated 2017-03-16 15:57:41 -0600

Hi,

I am experiencing this error while trying to login via horizon (browser): Authorization failed. The request you have made requires authentication.

/var/log/keystone/keystone.log

2017-03-16 17:54:47.326 8593 INFO keystone.common.wsgi [req-0cb23dab-90cc-469e-8494-cbc4c1fba319 - - - - -] POST http://controller:5000/v2.0/tokens
2017-03-16 17:54:47.338 8593 WARNING keystone.common.wsgi [req-0cb23dab-90cc-469e-8494-cbc4c1fba319 - - - - -] Authorization failed. The request you have made requires authentication. from 192.168.15.100

/etc/httpd/logs/error_log

[Thu Mar 16 20:52:38.217365 2017] [:error] [pid 8590] Login successful for user "demo".
[Thu Mar 16 20:52:42.132879 2017] [:error] [pid 8590] Internal Server Error: /dashboard/auth/login/
[Thu Mar 16 20:52:42.133091 2017] [:error] [pid 8590] Traceback (most recent call last):
[Thu Mar 16 20:52:42.133101 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Thu Mar 16 20:52:42.133105 2017] [:error] [pid 8590]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Mar 16 20:52:42.133108 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Mar 16 20:52:42.133111 2017] [:error] [pid 8590]     return view(request, *args, **kwargs)
[Thu Mar 16 20:52:42.133114 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Mar 16 20:52:42.133117 2017] [:error] [pid 8590]     response = view_func(request, *args, **kwargs)
[Thu Mar 16 20:52:42.133120 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Mar 16 20:52:42.133122 2017] [:error] [pid 8590]     response = view_func(request, *args, **kwargs)
[Thu Mar 16 20:52:42.133125 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 103, in login
[Thu Mar 16 20:52:42.133128 2017] [:error] [pid 8590]     **kwargs)
[Thu Mar 16 20:52:42.133131 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Thu Mar 16 20:52:42.133134 2017] [:error] [pid 8590]     return view(request, *args, **kwargs)
[Thu Mar 16 20:52:42.133136 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Thu Mar 16 20:52:42.133139 2017] [:error] [pid 8590]     response = view_func(request, *args, **kwargs)
[Thu Mar 16 20:52:42.133152 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Thu Mar 16 20:52:42.133155 2017] [:error] [pid 8590]     response = view_func(request, *args, **kwargs)
[Thu Mar 16 20:52:42.133158 2017] [:error] [pid 8590]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
[Thu Mar 16 20:52:42.133161 2017] [:error] [pid 8590]     auth_login(request, form.get_user())
[Thu Mar 16 20:52:42.133163 2017 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-16 06:58:42 -0600

Vinoth gravatar image

Double check the /etc/openstack-dashboard/local_settings file for all the necessary configuration that need to be edited with reference to the installation guide?

edit flag offensive delete link more

Comments

Thanks for the response. I already did it. If you have any specific location for me to change and check I will be a grateful.

apbo gravatar imageapbo ( 2017-03-16 15:39:53 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-03-15 13:59:18 -0600

Seen: 1,177 times

Last updated: Mar 16 '17