Ask Your Question
0

Horizon: 500 internal error

asked 2016-12-09 11:47:41 -0500

Marek gravatar image

Hello,

I've installed openstack on two nodes - Ubuntu 16.04 - newton. Install steps: http://docs.openstack.org/newton/install-guide-ubuntu/ All looks fine, but I have a problem with Dashboard. I'm getting 500 Internal server error.

A few last lines from /var/log/apache2/error.log:

    [Fri Dec 09 17:53:51.125732 2016] [core:notice] [pid 21858:tid 140153683265408] AH00051: child pid 23453 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Dec 09 17:53:51.125736 2016] [core:error] [pid 21858:tid 140153683265408] AH00546: no record of generation 0 of exiting child 23453
[Fri Dec 09 17:53:52.125878 2016] [core:notice] [pid 21858:tid 140153683265408] AH00051: child pid 23532 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Dec 09 17:53:52.125912 2016] [core:error] [pid 21858:tid 140153683265408] AH00546: no record of generation 0 of exiting child 23532
[Fri Dec 09 17:53:52.125922 2016] [core:notice] [pid 21858:tid 140153683265408] AH00051: child pid 23533 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Dec 09 17:53:52.125925 2016] [core:error] [pid 21858:tid 140153683265408] AH00546: no record of generation 0 of exiting child 23533
[Fri Dec 09 17:57:53.826689 2016] [mpm_event:notice] [pid 21858:tid 140153683265408] AH00491: caught SIGTERM, shutting down
[Fri Dec 09 17:57:54.925374 2016] [wsgi:warn] [pid 23846:tid 140526517929856] mod_wsgi: Compiled for Python/2.7.11.
[Fri Dec 09 17:57:54.925416 2016] [wsgi:warn] [pid 23846:tid 140526517929856] mod_wsgi: Runtime using Python/2.7.12.
[Fri Dec 09 17:57:54.927308 2016] [mpm_event:notice] [pid 23846:tid 140526517929856] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Fri Dec 09 17:57:54.927374 2016] [core:notice] [pid 23846:tid 140526517929856] AH00094: Command line: '/usr/sbin/apache2'
[Fri Dec 09 18:03:07.152782 2016] [mpm_event:notice] [pid 23846:tid 140526517929856] AH00493: SIGUSR1 received.  Doing graceful restart
[Fri Dec 09 18:03:07.625195 2016] [wsgi:warn] [pid 23846:tid 140526517929856] mod_wsgi: Compiled for Python/2.7.11.
[Fri Dec 09 18:03:07.625227 2016] [wsgi:warn] [pid 23846:tid 140526517929856] mod_wsgi: Runtime using Python/2.7.12.
[Fri Dec 09 18:03:07.632897 2016] [mpm_event:notice] [pid 23846:tid 140526517929856] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Fri Dec 09 18:03:07.632956 2016] [core:notice] [pid 23846:tid 140526517929856] AH00094: Command line: '/usr/sbin/apache2'
[Fri Dec 09 18:12:30.321293 2016] [mpm_event:notice] [pid 23846:tid 140526517929856] AH00493: SIGUSR1 received.  Doing graceful restart
[Fri Dec 09 18:12:30.371626 2016] [wsgi:warn] [pid 23846:tid 140526517929856] mod_wsgi: Compiled for Python/2.7.11.
[Fri Dec 09 18:12:30.371638 2016] [wsgi:warn] [pid 23846:tid 140526517929856] mod_wsgi: Runtime using Python/2.7.12.
[Fri Dec 09 18:12:30.373545 2016 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-09 11:57:52 -0500

Marek gravatar image

FIXED!

Hmm. Fixed. (at least in my environment).

root@mitakamaster:/etc/apache2/conf-enabled# cat openstack-dashboard.conf WSGIScriptAlias /horizon /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 WSGIProcessGroup horizon WSGIApplicationGroup %{GLOBAL} <------ ADDED THIS Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/ Alias /horizon/static /usr/share/openstack-dashboard/openstack_dashboard/static/ <directory usr="" share="" openstack-dashboard="" openstack_dashboard="" wsgi=""> Order allow,deny Allow from all </directory>

Restarted apache, and bingo. Dashboard access on ubuntu 14.04 / mitaka. SOURCE: https://bugs.launchpad.net/horizon/+bug/1573488/comments/6

edit flag offensive delete link more

Comments

Hello, Little help here please, I have a similar problem with Dashboard, I'm getting 500 Internal server error, I've followed the steps from http://docs.openstack.org/mitaka/install-guide-ubuntu/ (http://docs.openstack.org/mitaka/inst...). I don't have these error in /var/log/apache2/error.log though, actually I can't find the error in log.

thamirgv@gmail.com gravatar imagethamirgv@gmail.com ( 2016-12-14 00:18:34 -0500 )edit

what do you recommend to do, if you can give me some ideas, please?

thamirgv@gmail.com gravatar imagethamirgv@gmail.com ( 2016-12-14 00:19:39 -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

1 follower

Stats

Asked: 2016-12-09 11:47:41 -0500

Seen: 772 times

Last updated: Dec 09 '16