Version
=======
rhos 4.0 running on rhel 6.5 with 2013-12-06.3, openstack-packstack-2013.2.1-0.13.dev876.el6ost
Description
===========
Horizon fails to start due to missing python-pbr.
Note that this occurs only when working with nova-network, since python-pbr is a requirement of neutron:
# rpm -qR openstack-neutron-2013.2-13.el6ost.noarch | grep pbr
python-pbr
Workaround: manually install python-pbr rpm and restart httpd service
From /var/log/httpd/error_log
=============================
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] Traceback (most recent call last):
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] self.load_middleware()
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 39, in load_middleware
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] for middleware_path in settings.MIDDLEWARE_CLASSES:
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] File "/usr/lib/python2.6/site-packages/django/utils/functional.py", line 184, in inner
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] self._setup()
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 42, in _setup
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] self._wrapped = Settings(settings_module)
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 95, in __init__
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
[Sun Dec 08 17:46:45 2013] [error] [client 10.35.7.239] ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path?): No module named pbr.version
[Sun Dec 08 22:07:21 2013] [warn] [client 10.35.200.41] incomplete redirection target of '/dashboard/' for URI '/' modified to 'http://puma10.scl.lab.tlv.redhat.com/dashboard/'
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] mod_wsgi (pid=2011): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] Traceback (most recent call last):
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] self.load_middleware()
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 39, in load_middleware
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] for middleware_path in settings.MIDDLEWARE_CLASSES:
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] File "/usr/lib/python2.6/site-packages/django/utils/functional.py", line 184, in inner
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] self._setup()
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 42, in _setup
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] self._wrapped = Settings(settings_module)
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 95, in __init__
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
[Sun Dec 08 22:07:21 2013] [error] [client 10.35.200.41] ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path?): No module named pbr.version
This looks like a duplicate of bug 1029775 - what's the python-django-horizon version?
(Note the workaround would be to install python-pbr manually in the meantime - but we should have removed the dependency altogether.)