Ask Your Question
0

Can't access horizon dashboard - IOError: [Errno 13] Permission denied [closed]

asked 2015-07-21 06:03:34 -0500

mickt gravatar image

updated 2015-07-21 06:33:05 -0500

I've setup a docker container for kilo horizon on CentOS7.1 but I can't access the dashboard due to the following. Anyone able to guide me towards the solution?

curl http://localhost/dashboard:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</p>
<p>More information about this error may be available in the server error log.</p>
</body></html>

cat /var/log/httpd/horizon_error.log:

[Tue Jul 21 08:56:07.904572 2015] [:error] [pid 38] [remote ::1:236] mod_wsgi (pid=38): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Tue Jul 21 08:56:07.904695 2015] [:error] [pid 38] [remote ::1:236] mod_wsgi (pid=38): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Tue Jul 21 08:56:07.904731 2015] [:error] [pid 38] [remote ::1:236] Traceback (most recent call last):
[Tue Jul 21 08:56:07.904749 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Tue Jul 21 08:56:07.904786 2015] [:error] [pid 38] [remote ::1:236]     application = get_wsgi_application()
[Tue Jul 21 08:56:07.904796 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Tue Jul 21 08:56:07.904825 2015] [:error] [pid 38] [remote ::1:236]     django.setup()
[Tue Jul 21 08:56:07.904835 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 20, in setup
[Tue Jul 21 08:56:07.904856 2015] [:error] [pid 38] [remote ::1:236]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Tue Jul 21 08:56:07.904865 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 46, in __getattr__
[Tue Jul 21 08:56:07.904905 2015] [:error] [pid 38] [remote ::1:236]     self._setup(name)
[Tue Jul 21 08:56:07.904912 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 42, in _setup
[Tue Jul 21 08:56:07.904922 2015] [:error] [pid 38] [remote ::1:236]     self._wrapped = Settings(settings_module)
[Tue Jul 21 08:56:07.904928 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 94, in __init__
[Tue Jul 21 08:56:07.904935 2015] [:error] [pid 38] [remote ::1:236]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Jul 21 08:56:07.904941 2015] [:error] [pid 38] [remote ::1:236]   File "/usr/lib64/python2.7/importlib/__init__.py ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mickt
close date 2015-07-24 09:02:27.072053

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-23 09:38:24 -0500

mickt gravatar image

Redefined LOCAL_PATH definition in /etc/openstack-dashboard/local_settings file. In my case I set it to /tmp.

edit flag offensive delete link more

Comments

Thanks .. that solved my problem... just make sure it "/tmp" not just /tmp

cheers :-)

rackerstacker gravatar imagerackerstacker ( 2016-01-25 11:19:19 -0500 )edit

how did you fix it, i have same problem, can't fix it, thanks

zeorstar gravatar imagezeorstar ( 2016-05-15 07:36:20 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-21 06:03:34 -0500

Seen: 4,257 times

Last updated: Jul 23 '15