Ask Your Question
0

Error: Unauthorized: Unable to retrieve

asked 2013-04-08 14:16:32 -0500

ollimaller gravatar image

Hi,

i become in the Dashboard in the error Error: Unauthorized: Unable to retrieve instances list, or quotas etc.

Project, users, network, router worked fine. In the Apache2 error.log comes the followed error

[Mon Apr 08 13:45:22 2013] [error] \x1b[31;1mUnauthorized: Unauthorized (HTTP 401)\x1b[0m [Mon Apr 08 13:45:22 2013] [error] Traceback (most recent call last): [Mon Apr 08 13:45:22 2013] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/instances/views.py", line 52, in get_data [Mon Apr 08 13:45:22 2013] [error] instances = api.nova.server_list(self.request, all_tenants=True) [Mon Apr 08 13:45:22 2013] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 372, in server_list [Mon Apr 08 13:45:22 2013] [error] for s in novaclient(request).servers.list(True, search_opts)] [Mon Apr 08 13:45:22 2013] [error] File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 355, in list [Mon Apr 08 13:45:22 2013] [error] return self._list("/servers%s%s" % (detail, query_string), "servers") [Mon Apr 08 13:45:22 2013] [error] File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 62, in _list [Mon Apr 08 13:45:22 2013] [error] _resp, body = self.api.client.get(url) [Mon Apr 08 13:45:22 2013] [error] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 227, in get [Mon Apr 08 13:45:22 2013] [error] return self._cs_request(url, 'GET', *kwargs) [Mon Apr 08 13:45:22 2013] [error] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 224, in _cs_request [Mon Apr 08 13:45:22 2013] [error] raise ex [Mon Apr 08 13:45:22 2013] [error] Unauthorized: Unauthorized (HTTP 401) [Mon Apr 08 13:45:30 2013] [error] \x1b[31;1mUnauthorized: Unauthorized (HTTP 401)\x1b[0m [Mon Apr 08 13:45:30 2013] [error] Traceback (most recent call last): [Mon Apr 08 13:45:30 2013] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/volumes/views.py", line 46, in _get_volumes [Mon Apr 08 13:45:30 2013] [error] return cinder.volume_list(self.request, search_opts=search_opts) [Mon Apr 08 13:45:30 2013] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py", line 73, in volume_list [Mon Apr 08 13:45:30 2013] [error] return c_client.volumes.list(search_opts=search_opts) [Mon Apr 08 13:45:30 2013] [error] File "/usr/lib/python2.7/dist-packages/cinderclient/v1/volumes.py", line 204, in list [Mon Apr 08 13:45:30 2013] [error] "volumes") [Mon Apr 08 13:45:30 2013] [error] File "/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 63, in _list [Mon Apr 08 13:45:30 2013] [error] resp, body = self.api.client.get(url) [Mon Apr 08 13:45:30 2013] [error] File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 185, in get [Mon Apr 08 13:45:30 2013] [error] return self._cs_request(url, 'GET ... (more)

edit retag flag offensive close merge delete

Comments

Wat is the exact solution to this problem??

Queen gravatar imageQueen ( 2015-02-17 23:17:32 -0500 )edit

6 answers

Sort by ยป oldest newest most voted
0

answered 2013-04-10 07:34:38 -0500

ollimaller gravatar image

i load a snapshot of a Folsom install

edit flag offensive delete link more
0

answered 2013-04-29 15:31:01 -0500

vitola gravatar image

==> /var/log/apache2/error.log <== [Mon Apr 29 15:28:13 2013] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line 404, in _cs_request [Mon Apr 29 15:28:13 2013] [error] **kwargs) [Mon Apr 29 15:28:13 2013] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line 366, in request [Mon Apr 29 15:28:13 2013] [error] raise exceptions.from_response(resp, resp.text) [Mon Apr 29 15:28:13 2013] [error] Unauthorized: Unable to communicate with identity service: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}. (HTTP 401)

The same message

ii openstack-dashboard 1:2013.1-0ubuntu2~cloud0 django web interface to Openstack ii openstack-dashboard-ubuntu-theme 1:2013.1-0ubuntu2~cloud0 Ubuntu theme for the Openstack dashboard

edit flag offensive delete link more
0

answered 2013-07-01 19:30:30 -0500

Running into this same issue on Grizzly - this question is marked as solved, what was the solution?

edit flag offensive delete link more
0

answered 2013-07-01 19:55:11 -0500

Scratch that, realized I needed to update my /etc/nova/api-paste.ini with the proper credentials, then everything worked fine.

edit flag offensive delete link more
0

answered 2013-07-02 18:47:04 -0500

Hello defermat, can you please mention which credentials you mentioned in /etc/nova/api-paste.ini - how was those credentials created? Thanks,

edit flag offensive delete link more
0

answered 2013-08-19 09:17:03 -0500

shedoh gravatar image

I run into the same problem too. Any update on the solution?

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2013-04-08 14:16:32 -0500

Seen: 1,942 times

Last updated: Aug 19 '13