Revision history [back]

Getting similar error after following Appendix B instructions. This also affects the webUI, once logged in and select 'Images'; I am redirected back to the log-in page.

Here's the apache logs: [Wed Nov 07 19:02:32 2012] [error] \x1b[31;1mUnauthorized: HTTPUnauthorized (HTTP 401)\x1b[0m [Wed Nov 07 19:02:32 2012] [error] Traceback (most recent call last): [Wed Nov 07 19:02:32 2012] [error] File "/usr/lib/python2.7/dist-packages/horizon/dashboards/syspanel/images/views.py", line 50, in get_data [Wed Nov 07 19:02:32 2012] [error] marker=marker) [Wed Nov 07 19:02:32 2012] [error] File "/usr/lib/python2.7/dist-packages/horizon/api/glance.py", line 67, in image_list_detailed [Wed Nov 07 19:02:32 2012] [error] *kwargs)) [Wed Nov 07 19:02:32 2012] [error] File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 130, in paginate [Wed Nov 07 19:02:32 2012] [error] images = self._list(url, "images") [Wed Nov 07 19:02:32 2012] [error] File "/usr/lib/python2.7/dist-packages/glanceclient/common/base.py", line 53, in _list [Wed Nov 07 19:02:32 2012] [error] resp, body = self.api.json_request('GET', url) [Wed Nov 07 19:02:32 2012] [error] File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 174, in json_request [Wed Nov 07 19:02:32 2012] [error] resp, body_iter = self._http_request(url, method, *kwargs) [Wed Nov 07 19:02:32 2012] [error] File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 158, in _http_request [Wed Nov 07 19:02:32 2012] [error] raise exc.from_response(resp) [Wed Nov 07 19:02:32 2012] [error] HTTPUnauthorized: HTTPUnauthorized (HTTP 401) [Wed Nov 07 19:08:24 2012] [error] unable to retrieve service catalog with token [Wed Nov 07 19:08:24 2012] [error] Traceback (most recent call last): [Wed Nov 07 19:08:24 2012] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 132, in _extract_service_catalog [Wed Nov 07 19:08:24 2012] [error] endpoint_type='adminURL') [Wed Nov 07 19:08:24 2012] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line 62, in url_for [Wed Nov 07 19:08:24 2012] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Wed Nov 07 19:08:24 2012] [error] EndpointNotFound: Endpoint not found.

and logs from /var/log/glance/api.log are consistent with OP.

Thanks