XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • rhos-18.0 Beta
    • horizon-operator
    • None
    • Important

      ++ /usr/bin/python3 /usr/bin/manage.py collectstatic --noinput --clear
      Traceback (most recent call last):
        File "/usr/bin/manage.py", line 23, in <module>
          execute_from_command_line(sys.argv)
        File "/usr/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
          utility.execute()
        File "/usr/lib/python3.9/site-packages/django/core/management/__init__.py", line 363, in execute
          settings.INSTALLED_APPS
        File "/usr/lib/python3.9/site-packages/django/conf/__init__.py", line 82, in __getattr__
          self._setup(name)
        File "/usr/lib/python3.9/site-packages/django/conf/__init__.py", line 69, in _setup
          self._wrapped = Settings(settings_module)
        File "/usr/lib/python3.9/site-packages/django/conf/__init__.py", line 170, in __init__
          mod = importlib.import_module(self.SETTINGS_MODULE)
        File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
        File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
        File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 850, in exec_module
        File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
        File "/usr/lib/python3.9/site-packages/openstack_dashboard/settings.py", line 245, in <module>
          from local.local_settings import *  # noqa: F403,H303
        File "/usr/lib/python3.9/site-packages/openstack_dashboard/local/local_settings.py", line 72, in <module>
          ALLOWED_HOSTS = [get_pod_ip(), "horizon-openstack.apps.sno.lab.example.com"]
        File "/usr/lib/python3.9/site-packages/openstack_dashboard/local/local_settings.py", line 67, in get_pod_ip
          s.connect(("horizon-openstack.apps.sno.lab.example.com", 80))
      socket.gaierror: [Errno -2] Name or service not known
       

      https://github.com/openstack-k8s-operators/horizon-operator/blob/b48a63e06810bfb08ad073c0c9f77db67f3465ea/templates/horizon/config/local_settings.py#L64-L71

              rhn-gps-hjensas Harald Jensas
              rhn-gps-hjensas Harald Jensas
              rhos-dfg-hardprov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: