Freezer dashboard - Internal Server Error

Bug #1879198 reported by alpha23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned
kolla-ansible
Incomplete
Undecided
Unassigned

Bug Description

Upgrading from Queens to Rocky. There have been previously reported issues in Pike and Queens regarding the freezer dashboard.

Using centos/source containers.

Sun May 17 15:48:57.136246 2020] [:error] [pid 126] WARNING:root:Use of this 'djano.wsgi' file has been deprecated since the Rocky release in favor of 'wsgi.py' in the 'openstack_dashboard' module. This file is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is now the default. This file will be removed in the T release cycle.
[Sun May 17 15:49:02.111172 2020] [:error] [pid 126] Internal Server Error: /admin
[Sun May 17 15:49:02.111269 2020] [:error] [pid 126] Traceback (most recent call last):
[Sun May 17 15:49:02.111294 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
[Sun May 17 15:49:02.111310 2020] [:error] [pid 126] response = get_response(request)
[Sun May 17 15:49:02.111322 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/deprecation.py", line 138, in __call__
[Sun May 17 15:49:02.111332 2020] [:error] [pid 126] response = self.process_request(request)
[Sun May 17 15:49:02.111342 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/middleware/common.py", line 62, in process_request
[Sun May 17 15:49:02.111383 2020] [:error] [pid 126] if self.should_redirect_with_slash(request):
[Sun May 17 15:49:02.111999 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/middleware/common.py", line 80, in should_redirect_with_slash
[Sun May 17 15:49:02.112020 2020] [:error] [pid 126] not is_valid_path(request.path_info, urlconf) and
[Sun May 17 15:49:02.112030 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/base.py", line 158, in is_valid_path
[Sun May 17 15:49:02.112039 2020] [:error] [pid 126] resolve(path, urlconf)
[Sun May 17 15:49:02.112047 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/base.py", line 27, in resolve
[Sun May 17 15:49:02.112056 2020] [:error] [pid 126] return get_resolver(urlconf).resolve(path)
[Sun May 17 15:49:02.112064 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 362, in resolve
[Sun May 17 15:49:02.112073 2020] [:error] [pid 126] for pattern in self.url_patterns:
[Sun May 17 15:49:02.112087 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
[Sun May 17 15:49:02.112138 2020] [:error] [pid 126] res = instance.__dict__[self.name] = self.func(instance)
[Sun May 17 15:49:02.112182 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns
[Sun May 17 15:49:02.112194 2020] [:error] [pid 126] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Sun May 17 15:49:02.112204 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
[Sun May 17 15:49:02.112229 2020] [:error] [pid 126] res = instance.__dict__[self.name] = self.func(instance)
[Sun May 17 15:49:02.112241 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
[Sun May 17 15:49:02.112251 2020] [:error] [pid 126] return import_module(self.urlconf_name)
[Sun May 17 15:49:02.112277 2020] [:error] [pid 126] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 17 15:49:02.112289 2020] [:error] [pid 126] __import__(name)
[Sun May 17 15:49:02.112299 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/urls.py", line 42, in <module>
[Sun May 17 15:49:02.112317 2020] [:error] [pid 126] url(r'', horizon.base._wrapped_include(horizon.urls)),
[Sun May 17 15:49:02.112347 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 101, in _wrapped_include
[Sun May 17 15:49:02.112359 2020] [:error] [pid 126] return include((pattern_list, app_namespace), namespace=instance_namespace)
[Sun May 17 15:49:02.112379 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 51, in include
[Sun May 17 15:49:02.112575 2020] [:error] [pid 126] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Sun May 17 15:49:02.112595 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 238, in inner
[Sun May 17 15:49:02.112606 2020] [:error] [pid 126] self._setup()
[Sun May 17 15:49:02.112615 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
[Sun May 17 15:49:02.112625 2020] [:error] [pid 126] self._wrapped = self._setupfunc()
[Sun May 17 15:49:02.112634 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
[Sun May 17 15:49:02.112644 2020] [:error] [pid 126] return self._urls()[0]
[Sun May 17 15:49:02.112653 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
[Sun May 17 15:49:02.112663 2020] [:error] [pid 126] _wrapped_include(dash._decorated_urls)))
[Sun May 17 15:49:02.112672 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 548, in _decorated_urls
[Sun May 17 15:49:02.112681 2020] [:error] [pid 126] urlpatterns = self._get_default_urlpatterns()
[Sun May 17 15:49:02.112690 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
[Sun May 17 15:49:02.112699 2020] [:error] [pid 126] urls_mod = import_module('.urls', package_string)
[Sun May 17 15:49:02.112708 2020] [:error] [pid 126] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 17 15:49:02.112717 2020] [:error] [pid 126] __import__(name)
[Sun May 17 15:49:02.112726 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/urls.py", line 17, in <module>
[Sun May 17 15:49:02.112735 2020] [:error] [pid 126] import disaster_recovery.api.rest.urls as rest_urls
[Sun May 17 15:49:02.112746 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/rest/urls.py", line 21, in <module>
[Sun May 17 15:49:02.112760 2020] [:error] [pid 126] from disaster_recovery.api.rest import rest_api
[Sun May 17 15:49:02.112770 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/rest/rest_api.py", line 24, in <module>
[Sun May 17 15:49:02.112780 2020] [:error] [pid 126] import disaster_recovery.api.api as freezer_api
[Sun May 17 15:49:02.112805 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/api.py", line 20, in <module>
[Sun May 17 15:49:02.112825 2020] [:error] [pid 126] from freezerclient import client as freezer_client
[Sun May 17 15:49:02.112836 2020] [:error] [pid 126] ImportError: cannot import name client
[Sun May 17 15:49:02.282176 2020] [:error] [pid 126] Internal Server Error: /admin
[Sun May 17 15:49:02.282247 2020] [:error] [pid 126] Traceback (most recent call last):
[Sun May 17 15:49:02.282264 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
[Sun May 17 15:49:02.282279 2020] [:error] [pid 126] response = get_response(request)
[Sun May 17 15:49:02.282292 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_auth/middleware.py", line 25, in __call__
[Sun May 17 15:49:02.282307 2020] [:error] [pid 126] return self.get_response(request)
[Sun May 17 15:49:02.282321 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
[Sun May 17 15:49:02.282337 2020] [:error] [pid 126] response = response_for_exception(request, exc)
[Sun May 17 15:49:02.282352 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
[Sun May 17 15:49:02.282368 2020] [:error] [pid 126] response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
[Sun May 17 15:49:02.282383 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 142, in handle_uncaught_exception
[Sun May 17 15:49:02.282398 2020] [:error] [pid 126] callback, param_dict = resolver.resolve_error_handler(500)
[Sun May 17 15:49:02.282410 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 418, in resolve_error_handler
[Sun May 17 15:49:02.282425 2020] [:error] [pid 126] callback = getattr(self.urlconf_module, 'handler%s' % view_type, None)
[Sun May 17 15:49:02.282439 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
[Sun May 17 15:49:02.282454 2020] [:error] [pid 126] res = instance.__dict__[self.name] = self.func(instance)
[Sun May 17 15:49:02.282468 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
[Sun May 17 15:49:02.282482 2020] [:error] [pid 126] return import_module(self.urlconf_name)
[Sun May 17 15:49:02.282497 2020] [:error] [pid 126] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 17 15:49:02.282519 2020] [:error] [pid 126] __import__(name)
[Sun May 17 15:49:02.282532 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/urls.py", line 42, in <module>
[Sun May 17 15:49:02.282546 2020] [:error] [pid 126] url(r'', horizon.base._wrapped_include(horizon.urls)),
[Sun May 17 15:49:02.282559 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 101, in _wrapped_include
[Sun May 17 15:49:02.282572 2020] [:error] [pid 126] return include((pattern_list, app_namespace), namespace=instance_namespace)
[Sun May 17 15:49:02.282586 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 51, in include
[Sun May 17 15:49:02.282669 2020] [:error] [pid 126] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Sun May 17 15:49:02.282714 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 238, in inner
[Sun May 17 15:49:02.282730 2020] [:error] [pid 126] self._setup()
[Sun May 17 15:49:02.282744 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
[Sun May 17 15:49:02.282788 2020] [:error] [pid 126] self._wrapped = self._setupfunc()
[Sun May 17 15:49:02.282804 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
[Sun May 17 15:49:02.282846 2020] [:error] [pid 126] return self._urls()[0]
[Sun May 17 15:49:02.282858 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
[Sun May 17 15:49:02.282887 2020] [:error] [pid 126] _wrapped_include(dash._decorated_urls)))
[Sun May 17 15:49:02.282908 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 548, in _decorated_urls
[Sun May 17 15:49:02.282928 2020] [:error] [pid 126] urlpatterns = self._get_default_urlpatterns()
[Sun May 17 15:49:02.282939 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
[Sun May 17 15:49:02.282949 2020] [:error] [pid 126] urls_mod = import_module('.urls', package_string)
[Sun May 17 15:49:02.282958 2020] [:error] [pid 126] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 17 15:49:02.282967 2020] [:error] [pid 126] __import__(name)
[Sun May 17 15:49:02.282977 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/urls.py", line 17, in <module>
[Sun May 17 15:49:02.282986 2020] [:error] [pid 126] import disaster_recovery.api.rest.urls as rest_urls
[Sun May 17 15:49:02.283006 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/rest/urls.py", line 21, in <module>
[Sun May 17 15:49:02.283016 2020] [:error] [pid 126] from disaster_recovery.api.rest import rest_api
[Sun May 17 15:49:02.283041 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/rest/rest_api.py", line 24, in <module>
[Sun May 17 15:49:02.283062 2020] [:error] [pid 126] import disaster_recovery.api.api as freezer_api
[Sun May 17 15:49:02.283073 2020] [:error] [pid 126] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/api.py", line 20, in <module>
[Sun May 17 15:49:02.283093 2020] [:error] [pid 126] from freezerclient import client as freezer_client
[Sun May 17 15:49:02.283121 2020] [:error] [pid 126] ImportError: cannot import name client
[Sun May 17 15:49:02.448871 2020] [:error] [pid 126] [remote 192.168.3.6:0] mod_wsgi (pid=126): Exception occurred processing WSGI script '/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/django.wsgi'.
[Sun May 17 15:49:02.449042 2020] [:error] [pid 126] [remote 192.168.3.6:0] Traceback (most recent call last):
[Sun May 17 15:49:02.449072 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 157, in __call__
[Sun May 17 15:49:02.449130 2020] [:error] [pid 126] [remote 192.168.3.6:0] response = self.get_response(request)
[Sun May 17 15:49:02.449151 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 124, in get_response
[Sun May 17 15:49:02.449180 2020] [:error] [pid 126] [remote 192.168.3.6:0] response = self._middleware_chain(request)
[Sun May 17 15:49:02.449275 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
[Sun May 17 15:49:02.449317 2020] [:error] [pid 126] [remote 192.168.3.6:0] response = response_for_exception(request, exc)
[Sun May 17 15:49:02.449347 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
[Sun May 17 15:49:02.449409 2020] [:error] [pid 126] [remote 192.168.3.6:0] response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
[Sun May 17 15:49:02.449447 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 142, in handle_uncaught_exception
[Sun May 17 15:49:02.449477 2020] [:error] [pid 126] [remote 192.168.3.6:0] callback, param_dict = resolver.resolve_error_handler(500)
[Sun May 17 15:49:02.449494 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 418, in resolve_error_handler
[Sun May 17 15:49:02.449523 2020] [:error] [pid 126] [remote 192.168.3.6:0] callback = getattr(self.urlconf_module, 'handler%s' % view_type, None)
[Sun May 17 15:49:02.449540 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
[Sun May 17 15:49:02.449568 2020] [:error] [pid 126] [remote 192.168.3.6:0] res = instance.__dict__[self.name] = self.func(instance)
[Sun May 17 15:49:02.449585 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
[Sun May 17 15:49:02.449609 2020] [:error] [pid 126] [remote 192.168.3.6:0] return import_module(self.urlconf_name)
[Sun May 17 15:49:02.449627 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 17 15:49:02.449654 2020] [:error] [pid 126] [remote 192.168.3.6:0] __import__(name)
[Sun May 17 15:49:02.449671 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/urls.py", line 42, in <module>
[Sun May 17 15:49:02.449699 2020] [:error] [pid 126] [remote 192.168.3.6:0] url(r'', horizon.base._wrapped_include(horizon.urls)),
[Sun May 17 15:49:02.449716 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 101, in _wrapped_include
[Sun May 17 15:49:02.449768 2020] [:error] [pid 126] [remote 192.168.3.6:0] return include((pattern_list, app_namespace), namespace=instance_namespace)
[Sun May 17 15:49:02.450161 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 51, in include
[Sun May 17 15:49:02.450214 2020] [:error] [pid 126] [remote 192.168.3.6:0] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Sun May 17 15:49:02.450248 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 238, in inner
[Sun May 17 15:49:02.450293 2020] [:error] [pid 126] [remote 192.168.3.6:0] self._setup()
[Sun May 17 15:49:02.450334 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
[Sun May 17 15:49:02.450364 2020] [:error] [pid 126] [remote 192.168.3.6:0] self._wrapped = self._setupfunc()
[Sun May 17 15:49:02.450383 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 849, in url_patterns
[Sun May 17 15:49:02.450423 2020] [:error] [pid 126] [remote 192.168.3.6:0] return self._urls()[0]
[Sun May 17 15:49:02.450455 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 883, in _urls
[Sun May 17 15:49:02.450486 2020] [:error] [pid 126] [remote 192.168.3.6:0] _wrapped_include(dash._decorated_urls)))
[Sun May 17 15:49:02.450504 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 548, in _decorated_urls
[Sun May 17 15:49:02.450557 2020] [:error] [pid 126] [remote 192.168.3.6:0] urlpatterns = self._get_default_urlpatterns()
[Sun May 17 15:49:02.450580 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/horizon/base.py", line 133, in _get_default_urlpatterns
[Sun May 17 15:49:02.450607 2020] [:error] [pid 126] [remote 192.168.3.6:0] urls_mod = import_module('.urls', package_string)
[Sun May 17 15:49:02.450624 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 17 15:49:02.450651 2020] [:error] [pid 126] [remote 192.168.3.6:0] __import__(name)
[Sun May 17 15:49:02.450669 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/urls.py", line 17, in <module>
[Sun May 17 15:49:02.450729 2020] [:error] [pid 126] [remote 192.168.3.6:0] import disaster_recovery.api.rest.urls as rest_urls
[Sun May 17 15:49:02.450749 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/rest/urls.py", line 21, in <module>
[Sun May 17 15:49:02.450778 2020] [:error] [pid 126] [remote 192.168.3.6:0] from disaster_recovery.api.rest import rest_api
[Sun May 17 15:49:02.450802 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/rest/rest_api.py", line 24, in <module>
[Sun May 17 15:49:02.450859 2020] [:error] [pid 126] [remote 192.168.3.6:0] import disaster_recovery.api.api as freezer_api
[Sun May 17 15:49:02.450891 2020] [:error] [pid 126] [remote 192.168.3.6:0] File "/var/lib/kolla/venv/lib/python2.7/site-packages/disaster_recovery/api/api.py", line 20, in <module>
[Sun May 17 15:49:02.450941 2020] [:error] [pid 126] [remote 192.168.3.6:0] from freezerclient import client as freezer_client
[Sun May 17 15:49:02.450991 2020] [:error] [pid 126] [remote 192.168.3.6:0] ImportError: cannot import name client

Tags: rocky
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

It looks like a programming error. The package seems there but does not have the name being imported. Notifying freezer and awaiting their response.

Changed in kolla-ansible:
status: New → Incomplete
Revision history for this message
alpha23 (alpha23) wrote :

Freezer, any update on this? It has been a month and a half without a response.

Revision history for this message
alpha23 (alpha23) wrote :

Any update on this? It has been another 3 months without a response.

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

You might wish to raise this issue on the openstack-discuss mailing list. It could be that no one is watching Freezer bugs.

Revision history for this message
himanshubhatt (vincentiohimanshu) wrote :
Download full text (6.6 KiB)

i also facing a same issue on freezer when i am click on disaster_recovery and then click on jobs section it gives me internal server error i also check horizon logs

Ubuntu 22.04 os
kolla-ansible release master

tail -f /var/log/kolla/horizon/horizon.log

[Thu Jan 19 07:36:13.254488 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] Internal Server Error: /disaster_recovery/
[Thu Jan 19 07:36:13.254554 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] Traceback (most recent call last):
[Thu Jan 19 07:36:13.254564 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] File "/var/lib/kolla/venv/lib/python3.10/site-packages/disaster_recovery/utils.py", line 201, in wrapped_function
[Thu Jan 19 07:36:13.254568 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] return function(view, *args, **kwargs)
[Thu Jan 19 07:36:13.254572 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] File "/var/lib/kolla/venv/lib/python3.10/site-packages/disaster_recovery/jobs/views.py", line 36, in get_actions_in_job_data
[Thu Jan 19 07:36:13.254576 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] if self.kwargs['job_id']:
[Thu Jan 19 07:36:13.254580 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] KeyError: 'job_id'
[Thu Jan 19 07:36:13.254583 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782]
[Thu Jan 19 07:36:13.254587 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] During handling of the above exception, another exception occurred:
[Thu Jan 19 07:36:13.254591 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782]
[Thu Jan 19 07:36:13.254594 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] Traceback (most recent call last):
[Thu Jan 19 07:36:13.254598 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
[Thu Jan 19 07:36:13.254602 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] response = get_response(request)
[Thu Jan 19 07:36:13.254605 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
[Thu Jan 19 07:36:13.254609 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Jan 19 07:36:13.254613 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 51, in dec
[Thu Jan 19 07:36:13.254617 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] return view_func(request, *args, **kwargs)
[Thu Jan 19 07:36:13.254620 2023] [wsgi:error] [pid 34:tid 140468226053696] [remote 192.168.1.54:45782] File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/deco...

Read more...

Revision history for this message
himanshubhatt (vincentiohimanshu) wrote :

freezer error form openstack admin panel jobs section showing this eroor

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.