Ask Your Question
1

Horizon 500 Error (no module named angular_cookies)

asked 2015-05-01 12:31:34 -0500

Hello, I am unable to access the horizon dashboard. My httpd_error log shows the following every time I try to access the dashboard:

[Fri May 01 13:25:30.424374 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] mod_wsgi (pid=3686): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Fri May 01 13:25:30.424430 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] Traceback (most recent call last): [Fri May 01 13:25:30.424454 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__ [Fri May 01 13:25:30.424498 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] self.load_middleware() [Fri May 01 13:25:30.424509 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 44, in load_middleware [Fri May 01 13:25:30.424525 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] for middleware_path in settings.MIDDLEWARE_CLASSES: [Fri May 01 13:25:30.424537 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__ [Fri May 01 13:25:30.424552 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] self._setup(name) [Fri May 01 13:25:30.424561 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup [Fri May 01 13:25:30.424575 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] self._wrapped = Settings(settings_module) [Fri May 01 13:25:30.424584 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__ [Fri May 01 13:25:30.424598 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] % (self.SETTINGS_MODULE, e) [Fri May 01 13:25:30.424620 2015] [:error] [pid 3686] [remote 192.168.100.155:4172] ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named angular_cookies

I'm not sure what openstack_dashboard.settings is though. I saw a similar post saying a bug was filed for "No module named pathlib". I don't think these are the same. I'm running on RHEL 7, juno is installed. Any help is appreciated. Lastly, installing python-pbr (it was already installed) and restarting httpd didn't solve the issue.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-05-12 14:32:27 -0500

ghebda gravatar image

Run:

 pip install XStatic-Angular-Cookies

It's complaining about a module you don't have. This should fix it.

edit flag offensive delete link more

Comments

Had the same issue on FC21 and 'pip install XStatic-Angular-Cookies' helped! Thank you!

ole_zaz gravatar imageole_zaz ( 2015-05-14 04:50:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-05-01 12:31:34 -0500

Seen: 703 times

Last updated: May 12 '15