Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

dashboard error 500 on install

Please, help with installation dashboard on opensuse. Follow the instructions in http://docs.openstack.org/mitaka/install-guide-obs/horizon-install.html and got error 500 then try open dashboard:

[Sun May 08 08:10:09.295384 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Target WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Sun May 08 08:10:09.295417 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Exception occurred processing WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Sun May 08 08:10:09.295437 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] Traceback (most recent call last):
[Sun May 08 08:10:09.295451 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Sun May 08 08:10:09.295499 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     application = get_wsgi_application()
[Sun May 08 08:10:09.295508 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Sun May 08 08:10:09.295537 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     django.setup()
[Sun May 08 08:10:09.295545 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
[Sun May 08 08:10:09.295570 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Sun May 08 08:10:09.295576 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
[Sun May 08 08:10:09.295632 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._setup(name)
[Sun May 08 08:10:09.295639 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
[Sun May 08 08:10:09.295649 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._wrapped = Settings(settings_module)
[Sun May 08 08:10:09.295653 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
[Sun May 08 08:10:09.295660 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Sun May 08 08:10:09.295664 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 08 08:10:09.295693 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     __import__(name)
[Sun May 08 08:10:09.295701 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 379, in <module>
[Sun May 08 08:10:09.295789 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import policy
[Sun May 08 08:10:09.295796 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/policy.py", line 24, in <module>
[Sun May 08 08:10:09.295867 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import user as auth_user
[Sun May 08 08:10:09.295874 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/user.py", line 18, in <module>
[Sun May 08 08:10:09.295962 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth import models
[Sun May 08 08:10:09.295968 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
[Sun May 08 08:10:09.296073 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
[Sun May 08 08:10:09.296079 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 49, in <module>
[Sun May 08 08:10:09.296122 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     class AbstractBaseUser(models.Model):
[Sun May 08 08:10:09.296129 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 94, in __new__
[Sun May 08 08:10:09.296467 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     app_config = apps.get_containing_app_config(module)
[Sun May 08 08:10:09.296479 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
[Sun May 08 08:10:09.296575 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self.check_apps_ready()
[Sun May 08 08:10:09.296582 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
[Sun May 08 08:10:09.296594 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     raise AppRegistryNotReady("Apps aren't loaded yet.")
[Sun May 08 08:10:09.296608 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] AppRegistryNotReady: Apps aren't loaded yet.

dashboard error 500 on install

Please, help with installation dashboard on opensuse. Follow the instructions in http://docs.openstack.org/mitaka/install-guide-obs/horizon-install.html and got error 500 then try open dashboard:

[Sun May 08 08:10:09.295384 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Target WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Sun May 08 08:10:09.295417 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Exception occurred processing WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Sun May 08 08:10:09.295437 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] Traceback (most recent call last):
[Sun May 08 08:10:09.295451 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Sun May 08 08:10:09.295499 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     application = get_wsgi_application()
[Sun May 08 08:10:09.295508 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Sun May 08 08:10:09.295537 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     django.setup()
[Sun May 08 08:10:09.295545 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
[Sun May 08 08:10:09.295570 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Sun May 08 08:10:09.295576 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
[Sun May 08 08:10:09.295632 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._setup(name)
[Sun May 08 08:10:09.295639 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
[Sun May 08 08:10:09.295649 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._wrapped = Settings(settings_module)
[Sun May 08 08:10:09.295653 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
[Sun May 08 08:10:09.295660 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Sun May 08 08:10:09.295664 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 08 08:10:09.295693 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     __import__(name)
[Sun May 08 08:10:09.295701 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 379, in <module>
[Sun May 08 08:10:09.295789 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import policy
[Sun May 08 08:10:09.295796 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/policy.py", line 24, in <module>
[Sun May 08 08:10:09.295867 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import user as auth_user
[Sun May 08 08:10:09.295874 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/user.py", line 18, in <module>
[Sun May 08 08:10:09.295962 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth import models
[Sun May 08 08:10:09.295968 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
[Sun May 08 08:10:09.296073 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
[Sun May 08 08:10:09.296079 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 49, in <module>
[Sun May 08 08:10:09.296122 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     class AbstractBaseUser(models.Model):
[Sun May 08 08:10:09.296129 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 94, in __new__
[Sun May 08 08:10:09.296467 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     app_config = apps.get_containing_app_config(module)
[Sun May 08 08:10:09.296479 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
[Sun May 08 08:10:09.296575 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self.check_apps_ready()
[Sun May 08 08:10:09.296582 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
[Sun May 08 08:10:09.296594 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     raise AppRegistryNotReady("Apps aren't loaded yet.")
[Sun May 08 08:10:09.296608 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] AppRegistryNotReady: Apps aren't loaded yet.

dashboard error 500 on install

Please, help with installation dashboard on opensuse. Follow the instructions in http://docs.openstack.org/mitaka/install-guide-obs/horizon-install.html and got error 500 then try open dashboard:

[Sun May 08 08:10:09.295384 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Target WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Sun May 08 08:10:09.295417 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Exception occurred processing WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Sun May 08 08:10:09.295437 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] Traceback (most recent call last):
[Sun May 08 08:10:09.295451 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Sun May 08 08:10:09.295499 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     application = get_wsgi_application()
[Sun May 08 08:10:09.295508 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Sun May 08 08:10:09.295537 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     django.setup()
[Sun May 08 08:10:09.295545 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
[Sun May 08 08:10:09.295570 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Sun May 08 08:10:09.295576 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
[Sun May 08 08:10:09.295632 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._setup(name)
[Sun May 08 08:10:09.295639 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
[Sun May 08 08:10:09.295649 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._wrapped = Settings(settings_module)
[Sun May 08 08:10:09.295653 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
[Sun May 08 08:10:09.295660 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Sun May 08 08:10:09.295664 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 08 08:10:09.295693 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     __import__(name)
[Sun May 08 08:10:09.295701 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 379, in <module>
[Sun May 08 08:10:09.295789 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import policy
[Sun May 08 08:10:09.295796 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/policy.py", line 24, in <module>
[Sun May 08 08:10:09.295867 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import user as auth_user
[Sun May 08 08:10:09.295874 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/user.py", line 18, in <module>
[Sun May 08 08:10:09.295962 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth import models
[Sun May 08 08:10:09.295968 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
[Sun May 08 08:10:09.296073 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
[Sun May 08 08:10:09.296079 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 49, in <module>
[Sun May 08 08:10:09.296122 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     class AbstractBaseUser(models.Model):
[Sun May 08 08:10:09.296129 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 94, in __new__
[Sun May 08 08:10:09.296467 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     app_config = apps.get_containing_app_config(module)
[Sun May 08 08:10:09.296479 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
[Sun May 08 08:10:09.296575 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self.check_apps_ready()
[Sun May 08 08:10:09.296582 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
[Sun May 08 08:10:09.296594 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     raise AppRegistryNotReady("Apps aren't loaded yet.")
[Sun May 08 08:10:09.296608 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] AppRegistryNotReady: Apps aren't loaded yet.

dashboard error 500 on install

Please, help with installation dashboard on opensuse. Follow the instructions in http://docs.openstack.org/mitaka/install-guide-obs/horizon-install.html and got error 500 then try open dashboard:

[Sun May 08 08:10:09.295384 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Target WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Sun May 08 08:10:09.295417 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Exception occurred processing WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Sun May 08 08:10:09.295437 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] Traceback (most recent call last):
[Sun May 08 08:10:09.295451 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Sun May 08 08:10:09.295499 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     application = get_wsgi_application()
[Sun May 08 08:10:09.295508 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Sun May 08 08:10:09.295537 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     django.setup()
[Sun May 08 08:10:09.295545 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
[Sun May 08 08:10:09.295570 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Sun May 08 08:10:09.295576 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
[Sun May 08 08:10:09.295632 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._setup(name)
[Sun May 08 08:10:09.295639 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
[Sun May 08 08:10:09.295649 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._wrapped = Settings(settings_module)
[Sun May 08 08:10:09.295653 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
[Sun May 08 08:10:09.295660 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Sun May 08 08:10:09.295664 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 08 08:10:09.295693 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     __import__(name)
[Sun May 08 08:10:09.295701 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 379, in <module>
[Sun May 08 08:10:09.295789 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import policy
[Sun May 08 08:10:09.295796 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/policy.py", line 24, in <module>
[Sun May 08 08:10:09.295867 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import user as auth_user
[Sun May 08 08:10:09.295874 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/user.py", line 18, in <module>
[Sun May 08 08:10:09.295962 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth import models
[Sun May 08 08:10:09.295968 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
[Sun May 08 08:10:09.296073 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
[Sun May 08 08:10:09.296079 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 49, in <module>
[Sun May 08 08:10:09.296122 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     class AbstractBaseUser(models.Model):
[Sun May 08 08:10:09.296129 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 94, in __new__
[Sun May 08 08:10:09.296467 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     app_config = apps.get_containing_app_config(module)
[Sun May 08 08:10:09.296479 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
[Sun May 08 08:10:09.296575 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self.check_apps_ready()
[Sun May 08 08:10:09.296582 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
[Sun May 08 08:10:09.296594 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     raise AppRegistryNotReady("Apps aren't loaded yet.")
[Sun May 08 08:10:09.296608 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] AppRegistryNotReady: Apps aren't loaded yet.

When comment in settings.py lines 379

#from openstack_auth import policy
#POLICY_CHECK_FUNCTION = policy.check

and 399

#from openstack_auth import utils as auth_utils
#auth_utils.patch_middleware_get_user()

I can start from manage.py runserver. Butn not from apache.


django version =1.9.2

dashboard error 500 on install

Please, help with installation dashboard on opensuse. Follow the instructions in http://docs.openstack.org/mitaka/install-guide-obs/horizon-install.html and got error 500 then try open dashboard:dashboard.

When comment in settings.py lines 379

#from openstack_auth import policy
#POLICY_CHECK_FUNCTION = policy.check

and 399

#from openstack_auth import utils as auth_utils
#auth_utils.patch_middleware_get_user()

I can start from manage.py runserver. Butn not from apache.


django version =1.9.2

[Sun May 08 08:10:09.295384 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Target WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Sun May 08 08:10:09.295417 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] mod_wsgi (pid=2016): Exception occurred processing WSGI script '/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Sun May 08 08:10:09.295437 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] Traceback (most recent call last):
[Sun May 08 08:10:09.295451 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Sun May 08 08:10:09.295499 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     application = get_wsgi_application()
[Sun May 08 08:10:09.295508 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Sun May 08 08:10:09.295537 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     django.setup()
[Sun May 08 08:10:09.295545 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
[Sun May 08 08:10:09.295570 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Sun May 08 08:10:09.295576 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
[Sun May 08 08:10:09.295632 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._setup(name)
[Sun May 08 08:10:09.295639 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
[Sun May 08 08:10:09.295649 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self._wrapped = Settings(settings_module)
[Sun May 08 08:10:09.295653 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
[Sun May 08 08:10:09.295660 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Sun May 08 08:10:09.295664 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun May 08 08:10:09.295693 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     __import__(name)
[Sun May 08 08:10:09.295701 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/srv/www/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 379, in <module>
[Sun May 08 08:10:09.295789 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import policy
[Sun May 08 08:10:09.295796 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/policy.py", line 24, in <module>
[Sun May 08 08:10:09.295867 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from openstack_auth import user as auth_user
[Sun May 08 08:10:09.295874 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/openstack_auth/user.py", line 18, in <module>
[Sun May 08 08:10:09.295962 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth import models
[Sun May 08 08:10:09.295968 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
[Sun May 08 08:10:09.296073 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
[Sun May 08 08:10:09.296079 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 49, in <module>
[Sun May 08 08:10:09.296122 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     class AbstractBaseUser(models.Model):
[Sun May 08 08:10:09.296129 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 94, in __new__
[Sun May 08 08:10:09.296467 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     app_config = apps.get_containing_app_config(module)
[Sun May 08 08:10:09.296479 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
[Sun May 08 08:10:09.296575 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     self.check_apps_ready()
[Sun May 08 08:10:09.296582 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
[Sun May 08 08:10:09.296594 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168]     raise AppRegistryNotReady("Apps aren't loaded yet.")
[Sun May 08 08:10:09.296608 2016] [wsgi:error] [pid 2016] [client 127.0.0.1:45168] AppRegistryNotReady: Apps aren't loaded yet.

When comment in settings.py lines 379

#from openstack_auth import policy
#POLICY_CHECK_FUNCTION = policy.check

and 399

#from openstack_auth import utils as auth_utils
#auth_utils.patch_middleware_get_user()

I can start from manage.py runserver. Butn not from apache.


django version =1.9.2