NotRegistered: Dashboard with slug "router" is not registered.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm working under CentOS 6.4 + Openstack - Havana, everything works fine except Horizon.
I get error in /var/log/
[Fri Dec 06 01:27:42 2013] [error] REQ: curl -i -X GET http://
[Fri Dec 06 01:27:42 2013] [error] INFO:urllib3.
[Fri Dec 06 01:27:42 2013] [error] DEBUG:urllib3.
[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": "45c69667e2a64c
[Fri Dec 06 01:27:42 2013] [error]
[Fri Dec 06 01:27:42 2013] [error] ERROR:django.
[Fri Dec 06 01:27:42 2013] [error] Traceback (most recent call last):
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] response = response.render()
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] self._set_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] content = template.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return self._render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return self.nodelist.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] bit = self.render_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return node.render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return compiled_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return self.nodelist.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] bit = self.render_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return node.render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] result = block.nodelist.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] bit = self.render_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return node.render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] result = block.nodelist.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] bit = self.render_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return node.render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return self.render_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] output = template.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return self._render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return self.nodelist.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] bit = self.render_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] return node.render(
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] _dict = func(*resolved_
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] for dash in Horizon.
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] dashboard = self._registere
[Fri Dec 06 01:27:42 2013] [error] File "/usr/lib/
[Fri Dec 06 01:27:42 2013] [error] "slug": slug})
[Fri Dec 06 01:27:42 2013] [error] NotRegistered: Dashboard with slug "router" is not registered.
~
Here is my /etc/openstack-
import os
from django.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
PROD = False
USE_SSL = False
# Note: You should change this value
SECRET_KEY = '14944dc86ead40
# Specify a regular expression to validate user passwords.
# HORIZON_CONFIG = {
# "password_
# "regex": '.*',
# "help_text": _("Your password does not meet the requirements.")
# }
# }
LOCAL_PATH = os.path.
# We recommend you use memcached for development; otherwise after every reload
# of the django development server, you will have to login again. To use
# memcached set CACHE_BACKED to something like 'memcached:
CACHE_BACKEND = 'memcached:
# Send email to the console by default
EMAIL_BACKEND = 'django.
# Or send them to /dev/null
#EMAIL_BACKEND = 'django.
# Configure these for your outgoing email host
# EMAIL_HOST = 'smtp.my-
# EMAIL_PORT = 25
# EMAIL_HOST_USER = 'djangomail'
# EMAIL_HOST_PASSWORD = 'top-secret!'
# For multiple regions uncomment this configuration, and add (endpoint, title).
# AVAILABLE_REGIONS = [
# ('http://
# ('http://
# ]
OPENSTACK_HOST = "192.168.11.11"
OPENSTACK_
OPENSTACK_
# The OPENSTACK_
# capabilities of the auth backend for Keystone.
# If Keystone has been configured to use LDAP as the auth backend then set
# can_edit_user to False and name to 'ldap'.
#
# TODO(tres): Remove these once Keystone has an API to identify auth backend.
OPENSTACK_
'name': 'native',
'can_
}
OPENSTACK_
'can_
}
# OPENSTACK_
# in the Keystone service catalog. Use this setting when Horizon is running
# external to the OpenStack environment. The default is 'internalURL'.
#OPENSTACK_
# The number of Swift containers and objects to display on a single page before
# providing a paging element (a "more" link) to paginate results.
API_RESULT_LIMIT = 1000
# If you have external monitoring links, eg:
EXTERNAL_MONITORING = [ ]
LOGGING = {
'version': 1,
# When set to True this will disable all logging except
# for loggers specified in this configuration dictionary. Note that
# if nothing is specified here and disable_
# django.db.backends will still log unless it is disabled explicitly.
'handlers': {
'null': {
},
# Set the level to "DEBUG" for verbose output logging.
},
'file': {
},
},
'loggers': {
# Logging from django.db.backends is VERY verbose, send to null
# by default.
},
},
},
},
},
},
}
}
}
LOGIN_URL=
LOGIN_REDIRECT_
# The Ubuntu package includes pre-compressed JS and compiled CSS to allow
# offline compression by default. To enable online compression, install
# the node-less package and enable the following option.
COMPRESS_OFFLINE = True
SESSION_ENGINE = 'django.
CACHES = {
'default':{
'LOCATION' : '192.168.
}
}
OPENSTACK_
"identity": 2.0
}
Anyone know why this error happened ??
Thanks.
-chen
~
~
~
Changed in horizon: | |
status: | New → Incomplete |
Changed in horizon: | |
status: | Incomplete → Invalid |
chen, could you please provide your settings.py as well?