Skip to content

Instantly share code, notes, and snippets.

@OGtrilliams OGtrilliams/horizon-error Secret
Created May 18, 2018

Embed
What would you like to do?
[root@overcloud-controller-0 log]# cat containers/horizon/horizon.log
2018-05-18 22:06:13,967 82 ERROR django.request Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 227, in process_exception_by_middleware
response = middleware_method(request, exception)
File "/usr/lib/python2.7/site-packages/horizon/middleware/base.py", line 127, in process_exception
redirect_field_name=field_name)
File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 255, in redirect_to_login
resolved_url = resolve_url(login_url or settings.LOGIN_URL)
File "/usr/lib/python2.7/site-packages/django/shortcuts.py", line 147, in resolve_url
return reverse(to, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/site-packages/django/urls/base.py", line 60, in reverse
app_list = resolver.app_dict[ns]
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 348, in app_dict
self._populate()
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 317, in _populate
pattern._populate()
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 288, in _populate
for pattern in reversed(self.url_patterns):
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 407, in url_patterns
iter(patterns)
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 683, in __iter__
self._setup()
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
self._wrapped = self._setupfunc()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
return self._urls()[0]
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
_wrapped_include(dash._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 559, in _decorated_urls
_wrapped_include(panel._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 331, in _decorated_urls
urlpatterns = self._get_default_urlpatterns()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/urls.py", line 17, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/views.py", line 30, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/tables.py", line 184, in <module>
class UpdateCell(tables.UpdateAction):
AttributeError: 'module' object has no attribute 'UpdateAction'
2018-05-18 22:06:17,533 82 ERROR django.request Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 227, in process_exception_by_middleware
response = middleware_method(request, exception)
File "/usr/lib/python2.7/site-packages/horizon/middleware/base.py", line 127, in process_exception
redirect_field_name=field_name)
File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 255, in redirect_to_login
resolved_url = resolve_url(login_url or settings.LOGIN_URL)
File "/usr/lib/python2.7/site-packages/django/shortcuts.py", line 147, in resolve_url
return reverse(to, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/site-packages/django/urls/base.py", line 60, in reverse
app_list = resolver.app_dict[ns]
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 348, in app_dict
self._populate()
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 317, in _populate
pattern._populate()
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 288, in _populate
for pattern in reversed(self.url_patterns):
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 407, in url_patterns
iter(patterns)
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 683, in __iter__
self._setup()
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
self._wrapped = self._setupfunc()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
return self._urls()[0]
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
_wrapped_include(dash._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 559, in _decorated_urls
_wrapped_include(panel._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 331, in _decorated_urls
urlpatterns = self._get_default_urlpatterns()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/urls.py", line 17, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/views.py", line 30, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/tables.py", line 184, in <module>
class UpdateCell(tables.UpdateAction):
AttributeError: 'module' object has no attribute 'UpdateAction'
2018-05-18 22:07:04,114 83 ERROR django.request Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 227, in process_exception_by_middleware
response = middleware_method(request, exception)
File "/usr/lib/python2.7/site-packages/horizon/middleware/base.py", line 127, in process_exception
redirect_field_name=field_name)
File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 255, in redirect_to_login
resolved_url = resolve_url(login_url or settings.LOGIN_URL)
File "/usr/lib/python2.7/site-packages/django/shortcuts.py", line 147, in resolve_url
return reverse(to, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/site-packages/django/urls/base.py", line 60, in reverse
app_list = resolver.app_dict[ns]
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 348, in app_dict
self._populate()
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 317, in _populate
pattern._populate()
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 288, in _populate
for pattern in reversed(self.url_patterns):
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 407, in url_patterns
iter(patterns)
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 683, in __iter__
self._setup()
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
self._wrapped = self._setupfunc()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
return self._urls()[0]
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
_wrapped_include(dash._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 559, in _decorated_urls
_wrapped_include(panel._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 331, in _decorated_urls
urlpatterns = self._get_default_urlpatterns()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/urls.py", line 17, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/views.py", line 30, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/tables.py", line 184, in <module>
class UpdateCell(tables.UpdateAction):
AttributeError: 'module' object has no attribute 'UpdateAction'
2018-05-18 22:07:09,033 83 ERROR django.request Internal Server Error: /dashboard/auth/login/
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 172, in _get_response
resolver_match = resolver.resolve(request.path_info)
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 364, in resolve
sub_match = pattern.resolve(new_path)
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 362, in resolve
for pattern in self.url_patterns:
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 407, in url_patterns
iter(patterns)
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 683, in __iter__
self._setup()
File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
self._wrapped = self._setupfunc()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
return self._urls()[0]
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
_wrapped_include(dash._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 559, in _decorated_urls
_wrapped_include(panel._decorated_urls)))
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 331, in _decorated_urls
urlpatterns = self._get_default_urlpatterns()
File "/usr/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/urls.py", line 17, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/views.py", line 30, in <module>
from trove_dashboard.content.database_configurations \
File "/usr/lib/python2.7/site-packages/trove_dashboard/content/database_configurations/tables.py", line 184, in <module>
class UpdateCell(tables.UpdateAction):
AttributeError: 'module' object has no attribute 'UpdateAction'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.