Ask Your Question
0

NotRegistered: Dashboard with slug "router" is not registered.

asked 2013-12-06 01:52:22 -0500

chen-li gravatar image

updated 2013-12-06 14:30:13 -0500

smaffulli gravatar image

I'm working under CentOS 6.4 + Openstack - Havana, everything works fine except Horizon.

I get error in /var/log/httpd/error_log:

    [Fri Dec 06 01:27:42 2013] [error] REQ: curl -i -X GET http://192.168.11.11:35357/v2.0/tenants -H "User-Agent: python-keystoneclient" -H "Forwarded: for=192.168.4.254;by=python-keystoneclient" -H "X-Auth-Token: 3626890532059c0fc72580224dd15ab1"
    [Fri Dec 06 01:27:42 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.11.11
    [Fri Dec 06 01:27:42 2013] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 381
    [Fri Dec 06 01:27:42 2013] [error] RESP: [200] {'date': 'Fri, 06 Dec 2013 07:27:42 GMT', 'content-type': 'application/json', 'content-length': '381', 'vary': 'X-Auth-Token'}
    [Fri Dec 06 01:27:42 2013] [error] RESP BODY: {"tenants_links": [], "tenants": [{"description": "admin tenant", "enabled": true, "id": "45c69667e2a64c889719ef8d8e0dd098", "name": "admin"}, {"description": "Tenant for the openstack services", "enabled": true, "id": "4cc060c11bc046178c253aa9521aa152", "name": "services"}, {"description": null, "enabled": true, "id": "ca47670e792e46d48363dee7e7e43688", "name": "policy_test"}]}
    [Fri Dec 06 01:27:42 2013] [error]
    [Fri Dec 06 01:27:42 2013] [error] ERROR:django.request:Internal Server Error: /dashboard/admin/
    [Fri Dec 06 01:27:42 2013] [error] Traceback (most recent call last):
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 136, in get_response
    [Fri Dec 06 01:27:42 2013] [error] response = response.render()
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/response.py", line 104, in render
    [Fri Dec 06 01:27:42 2013] [error] self._set_content(self.rendered_content)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/response.py", line 81, in rendered_content
    [Fri Dec 06 01:27:42 2013] [error] content = template.render(context)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in render
    [Fri Dec 06 01:27:42 2013] [error] return self._render(context)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
    [Fri Dec 06 01:27:42 2013] [error] return self.nodelist.render(context)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
    [Fri Dec 06 01:27:42 2013] [error] bit = self.render_node(node, context)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
    [Fri Dec 06 01:27:42 2013] [error] return node.render(context)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 123, in render
    [Fri Dec 06 01:27:42 2013] [error] return compiled_parent._render(context)
    [Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
    [Fri ...
(more)
edit retag flag offensive close delete

Comments

Also filed as bug https://bugs.launchpad.net/bugs/1258421 which is marked as invalid.

mrunge ( 2013-12-09 02:22:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-06 12:24:38 -0500

https://bugs.launchpad.net/horizon/+bug/1258421 suggests that the issue was caused by file permissions, and that permitting the apache user to write to the /usr/share/openstack-dashboard directory resolved the problem.

edit flag offensive delete publish link more

Your Answer

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

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2013-12-06 01:52:22 -0500

Seen: 3,088 times

Last updated: Jan 06