XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhos-16.2.z
    • python-django
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Critical

      After installing the RPM from https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=3493538 inside the Horizon container, and reloading Apache with kill -USR1 1, Horizon crashed with:

      [Thu Feb 06 11:42:58.987391 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328] mod_wsgi (pid=15425): Failed to exec Python script file '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
      [Thu Feb 06 11:42:58.987457 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328] mod_wsgi (pid=15425): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
      [Thu Feb 06 11:42:58.989546 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328] Traceback (most recent call last):
      [Thu Feb 06 11:42:58.989673 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
      [Thu Feb 06 11:42:58.989678 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     application = get_wsgi_application()
      [Thu Feb 06 11:42:58.989683 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
      [Thu Feb 06 11:42:58.989686 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     django.setup(set_prefix=False)
      [Thu Feb 06 11:42:58.989708 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/_init_.py", line 24, in setup
      [Thu Feb 06 11:42:58.989711 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     apps.populate(settings.INSTALLED_APPS)
      [Thu Feb 06 11:42:58.989715 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/apps/registry.py", line 112, in populate
      [Thu Feb 06 11:42:58.989733 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     app_config.import_models()
      [Thu Feb 06 11:42:58.989738 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models
      [Thu Feb 06 11:42:58.989741 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     self.models_module = import_module(models_module_name)
      [Thu Feb 06 11:42:58.989745 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib64/python3.6/importlib/_init_.py", line 126, in import_module
      [Thu Feb 06 11:42:58.989748 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     return _bootstrap._gcd_import(name[level:], package, level)
      [Thu Feb 06 11:42:58.989753 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      [Thu Feb 06 11:42:58.989757 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      [Thu Feb 06 11:42:58.989772 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      [Thu Feb 06 11:42:58.989777 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
      [Thu Feb 06 11:42:58.989781 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      [Thu Feb 06 11:42:58.989802 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      [Thu Feb 06 11:42:58.989807 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/contrib/auth/models.py", line 94, in <module>
      [Thu Feb 06 11:42:58.989810 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     class Group(models.Model):
      [Thu Feb 06 11:42:58.989814 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 152, in _new_
      [Thu Feb 06 11:42:58.989817 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     new_class.add_to_class(obj_name, obj)
      [Thu Feb 06 11:42:58.989821 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 315, in add_to_class
      [Thu Feb 06 11:42:58.989824 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     value.contribute_to_class(cls, name)
      [Thu Feb 06 11:42:58.989828 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/db/models/fields/related.py", line 1586, in contribute_to_class
      [Thu Feb 06 11:42:58.989831 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     self.remote_field.through = create_many_to_many_intermediary_model(self, cls)
      [Thu Feb 06 11:42:58.989836 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/db/models/fields/related.py", line 1051, in create_many_to_many_intermediary_model
      [Thu Feb 06 11:42:58.989839 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     'verbose_name': ('%(from)s-%(to)s relationship') % {'from': from, 'to': to},
      [Thu Feb 06 11:42:58.989843 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/utils/functional.py", line 148, in _mod_
      [Thu Feb 06 11:42:58.989846 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     return str(self) % rhs
      [Thu Feb 06 11:42:58.989850 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/utils/functional.py", line 112, in __text_cast
      [Thu Feb 06 11:42:58.989852 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     return func(*self._args, **self._kw)
      [Thu Feb 06 11:42:58.989857 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/utils/translation/_init_.py", line 77, in gettext
      [Thu Feb 06 11:42:58.989859 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     return _trans.gettext(message)
      [Thu Feb 06 11:42:58.989864 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/utils/translation/trans_real.py", line 312, in gettext
      [Thu Feb 06 11:42:58.989866 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     _default = _default or translation(settings.LANGUAGE_CODE)
      [Thu Feb 06 11:42:58.989870 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/utils/translation/trans_real.py", line 221, in translation
      [Thu Feb 06 11:42:58.989873 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     _translations[language] = DjangoTranslation(language)
      [Thu Feb 06 11:42:58.989877 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]   File "/usr/lib/python3.6/site-packages/django/utils/translation/trans_real.py", line 127, in _init_
      [Thu Feb 06 11:42:58.989885 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328]     raise IOError("No translation files found for default language %s." % settings.LANGUAGE_CODE)
      [Thu Feb 06 11:42:58.989899 2025] [wsgi:error] [pid 15425] [remote 172.17.1.51:50328] OSError: No translation files found for default language en.

              rhn-engineering-rdopiera Radomir Dopieralski
              rhn-engineering-rdopiera Radomir Dopieralski
              rhos-dfg-ui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: