Login to Horizon dashboard fails with "An unexpected error has occurred. Try refreshing the page."
Bug #1143897 reported by
Sandeep Raman
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-dashboard (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
OS: Ubuntu Precise, Ubuntu Raring
Horizon version: 1:2013.
Problem Description:
Login to dashboard fails with "An unexpected error has occurred. Try refreshing the page."
From the Github Horizon page, https:/
is load_config or horizon_config being called which in turn is missing and causing the issue?
Nothing related to this in the apache2 error log.
To post a comment you must log in.
Adding trace from apache error log:
[Tue Mar 05 06:25:21 2013] [error] \x1b[31; 1mUnauthorized: Unauthorized (HTTP 401)\x1b[0m openstack- dashboard/ openstack_ dashboard/ wsgi/.. /../openstack_ dashboard/ usage/base. py", line 112, in get_quotas tenant_ quota_usages( self.request) python2. 7/dist- packages/ horizon/ utils/memoized. py", line 33, in __call__ openstack- dashboard/ openstack_ dashboard/ wsgi/.. /../openstack_ dashboard/ usage/quotas. py", line 84, in tenant_quota_usages quota_data( request, disabled_quotas): openstack- dashboard/ openstack_ dashboard/ wsgi/.. /../openstack_ dashboard/ usage/quotas. py", line 73, in get_tenant_ quota_data data(request, "tenant_quota_get", disabled_quotas) openstack- dashboard/ openstack_ dashboard/ wsgi/.. /../openstack_ dashboard/ usage/quotas. py", line 61, in _get_quota_data append( getattr( cinder, method_ name)(request, tenant_id)) openstack- dashboard/ openstack_ dashboard/ wsgi/.. /../openstack_ dashboard/ api/cinder. py", line 125, in tenant_quota_get c_client. quotas. get(tenant_ id)) python2. 7/dist- packages/ cinderclient/ v1/quotas. py", line 37, in get "/os-quota- sets/%s" % (tenant_id), "quota_set") python2. 7/dist- packages/ cinderclient/ base.py" , line 141, in _get client. get(url) python2. 7/dist- packages/ cinderclient/ client. py", line 185, in get request( url, 'GET', **kwargs) python2. 7/dist- packages/ cinderclient/ client. py", line 147, in _cs_request python2. 7/dist- packages/ cinderclient/ client. py", line 293, in authenticate auth(auth_ url) python2. 7/dist- packages/ cinderclient/ client. py", line 311, in _v1_auth python2. 7/dist- packages/ cinderclient/ client. py", line 136, in request from_response( resp, body)
[Tue Mar 05 06:25:21 2013] [error] Traceback (most recent call last):
[Tue Mar 05 06:25:21 2013] [error] File "/usr/share/
[Tue Mar 05 06:25:21 2013] [error] self.quotas = quotas.
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] value = self.func(*args)
[Tue Mar 05 06:25:21 2013] [error] File "/usr/share/
[Tue Mar 05 06:25:21 2013] [error] for quota in get_tenant_
[Tue Mar 05 06:25:21 2013] [error] File "/usr/share/
[Tue Mar 05 06:25:21 2013] [error] return _get_quota_
[Tue Mar 05 06:25:21 2013] [error] File "/usr/share/
[Tue Mar 05 06:25:21 2013] [error] quotasets.
[Tue Mar 05 06:25:21 2013] [error] File "/usr/share/
[Tue Mar 05 06:25:21 2013] [error] return QuotaSet(
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] return self._get(
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] resp, body = self.api.
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] return self._cs_
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] self.authenticate()
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] auth_url = self._v1_
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] resp, body = self.request(url, 'GET', headers=headers)
[Tue Mar 05 06:25:21 2013] [error] File "/usr/lib/
[Tue Mar 05 06:25:21 2013] [error] raise exceptions.
[Tue Mar 05 06:25:21 2013] [err...