← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475279] [NEW] Horizon failing with os profiler issue

 

Public bug reported:

Whenever i try to open horizon i will get an error and horizon won't
show up .The following is the error i got

[Thu Jul 16 08:11:48.966357 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270] Traceback (most recent call last):, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966400 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966534 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     application = get_wsgi_application(), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966572 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966677 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     django.setup(), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966708 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 20, in setup, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966807 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.966844 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 46, in __getattr__, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967004 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     self._setup(name), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967034 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967086 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     self._wrapped = Settings(settings_module), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967112 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 94, in __init__, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967150 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     mod = importlib.import_module(self.SETTINGS_MODULE), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967178 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967284 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     __import__(name), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967314 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 27, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967512 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from openstack_dashboard import exceptions, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967582 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../openstack_dashboard/exceptions.py", line 22, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967706 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import exceptions as keystoneclient, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967737 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/__init__.py", line 34, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.967946 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import client, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968005 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/client.py", line 13, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968132 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import discover, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968162 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/discover.py", line 20, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968432 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import session as client_session, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968467 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/session.py", line 32, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968875 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     osprofiler_web = importutils.try_import("osprofiler.web"), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.968909 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../oslo_utils/importutils.py", line 71, in try_import, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969054 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     return import_module(import_str), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969086 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../oslo_utils/importutils.py", line 57, in import_module, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969128 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     __import__(import_str), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969152 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../osprofiler/__init__.py", line 23, in <module>, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969252 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     utils.import_modules_from_package("osprofiler._notifiers"), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969282 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../osprofiler/_utils.py", line 172, in import_modules_from_package, referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969428 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     __import__(module_name), referer: https://10.35.58.13:5290/project/
[Thu Jul 16 08:11:48.969501 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270] ValueError: Empty module name, referer: https://10.35.58.13:5290/project/


I have my settings file in the same directory as it should be and iam
still getting this error.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1475279

Title:
  Horizon failing with os profiler issue

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Whenever i try to open horizon i will get an error and horizon won't
  show up .The following is the error i got

  [Thu Jul 16 08:11:48.966357 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270] Traceback (most recent call last):, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966400 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966534 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     application = get_wsgi_application(), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966572 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966677 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     django.setup(), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966708 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 20, in setup, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966807 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.966844 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 46, in __getattr__, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967004 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     self._setup(name), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967034 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967086 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     self._wrapped = Settings(settings_module), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967112 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 94, in __init__, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967150 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     mod = importlib.import_module(self.SETTINGS_MODULE), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967178 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967284 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     __import__(name), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967314 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 27, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967512 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from openstack_dashboard import exceptions, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967582 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../openstack_dashboard/exceptions.py", line 22, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967706 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import exceptions as keystoneclient, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967737 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/__init__.py", line 34, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.967946 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import client, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968005 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/client.py", line 13, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968132 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import discover, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968162 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/discover.py", line 20, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968432 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     from keystoneclient import session as client_session, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968467 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../keystoneclient/session.py", line 32, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968875 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     osprofiler_web = importutils.try_import("osprofiler.web"), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.968909 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../oslo_utils/importutils.py", line 71, in try_import, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969054 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     return import_module(import_str), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969086 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../oslo_utils/importutils.py", line 57, in import_module, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969128 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     __import__(import_str), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969152 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../osprofiler/__init__.py", line 23, in <module>, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969252 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     utils.import_modules_from_package("osprofiler._notifiers"), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969282 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/wsgi/../../osprofiler/_utils.py", line 172, in import_modules_from_package, referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969428 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270]     __import__(module_name), referer: https://10.35.58.13:5290/project/
  [Thu Jul 16 08:11:48.969501 2015] [:error] [pid 3442:tid 139893606598400] [client 192.168.122.1:37270] ValueError: Empty module name, referer: https://10.35.58.13:5290/project/


  I have my settings file in the same directory as it should be and iam
  still getting this error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1475279/+subscriptions


Follow ups