''module' object has no attribute 'quantum'' when trying to login to Dashboard

asked 2013-02-14 23:06:00 -0600

vkmc gravatar image

Hi all,

I just cloned and deployed the last version of DevStack and when trying to login to Dashboard I get the following trace

####

Environment:

Request Method: GET Request URL: http://127.0.0.1/admin/

Django Version: 1.4.3 Python Version: 2.7.3 Installed Applications: ['openstack_dashboard', 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'compressor', 'horizon', 'openstack_dashboard.dashboards.project', 'openstack_dashboard.dashboards.admin', 'openstack_dashboard.dashboards.settings', 'openstack_auth'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'horizon.middleware.HorizonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware')

Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, *callback_kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 38. return view_func(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 86. return view_func(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 54. return view_func(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 38. return view_func(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 86. return view_func(request, args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view 48. return self.dispatch(request, args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch 69. return handler(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in get 155. handled = self.construct_tables() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in construct_tables 146. handled = self.handle_table(table) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in handle_table 118. data = self._get_data_dict() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in _get_data_dict 182. self._data = {self.table_class._meta.name: self.get_data()} File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py" in get_data 38. data = super(GlobalOverview, self).get_data() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py" in get_data 34. self.usage.get_quotas() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" in get_quotas 115. _("Unable to retrieve quota information.")) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" in get_quotas 112. self.quotas = quotas.tenant_quota_usages(self.request) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py" in __call__ 33. value = self.func(*args) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py" in tenant_quota_usages 88. floating_ips = network.tenant_floating_ip_list(request) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py" in tenant_floating_ip_list 140. return NetworkClient(request).floating_ips.list() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py" in __init__ 31. self.floating_ips = api.quantum.FloatingIpManager(request)

Exception Type: AttributeError at /admin/ Exception Value: 'module' object has no attribute 'quantum'

####

As you may already guessed, I have setted up Quantum ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-03-04 17:29:21 -0600

vkmc gravatar image

Bug fixed by commit http://github.com/openstack/horizon/commit/63203ab1069999f81b9518c11da29eb8ca537077 (http://github.com/openstack/horizon/c...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-02-14 23:06:00 -0600

Seen: 122 times

Last updated: Mar 04 '13