Red Hat RDO: Horizon '/dashboard' will not load from Internet

asked 2014-08-02 13:28:26 -0600

noplacelike127 gravatar image

updated 2014-08-03 12:52:37 -0600


First question to the OpenStack community. My apologies if it is a silly one, I've been searching around and can not figure it out.

I've installed CentOS with Red Hat's all-in-one config using these instructions:

Things look good. It is on a KVM virtual machine hosted on a physical server in my lab. I use iptables on the physical machine to route traffic to the VM over port 80. I'm using the same rules I used on my devstack instance, which worked fine in the past. iptables -t nat -I PREROUTING -p tcp -d <mypublicip> --dport 80 -j DNAT --to-destination

I can access http://mypublicip/nagios from the Internet. That lets me log in, which tells me my iptables stuff is working properly (I assume). Also, I can access http://mypublicip and get a basic "Index" page.

However, when I try to access http://mypublicip/dashboard I get this message: The requested URL /dashboard was not found on this server.

Now, when I run 'curl' from my physical server inside the hosted subnet (only routing through VM network), I get a response back in text that looks like the OpenStack login dashboard.

What I've tried so far: I edited /etc/openstack-dashboard/local_settings with the following: ALLOWED_HOSTS = ['*']

And rebooted. Still the same issue.

The horizon_error.log is empty and the horizon_access.log only shows entries when I hit it with the working curl command.

If anyone has some insights, I would really appreciate it! Thank you everyone for reading.

  • Chris
edit retag flag offensive close merge delete


Maybe you have some troubles with the configuration of SELinux. Try disabling it for a moment. Change your /etc/selinux/config


and than reboot the node; if, after that change, you can login in from Internet, you definitely have some troubles with the configuration on SELinux.

Antonio G. gravatar imageAntonio G. ( 2014-08-04 02:54:38 -0600 )edit

Thanks for the reply. I had already disabled SELinux prior to installing, though.

noplacelike127 gravatar imagenoplacelike127 ( 2014-08-05 10:46:54 -0600 )edit

4 answers

Sort by ยป oldest newest most voted

answered 2014-08-06 09:02:13 -0600

jpichon gravatar image

This reminds me of : could you see if you have "ServerAlias" defined in /etc/httpd/conf.d/openstack-dashboard.conf or etc/httpd/conf.d/15-horizon_vhost.conf ? Removing them altogether, or adding ServerAlias and restarting httpd should help I think.

edit flag offensive delete link more



That did the trick, thank you so much! I added a ServerAlias line to /etc/httpd/conf.d/15-horizon_vhost.conf that was the public DNS name of my server. Working like a charm. :)

noplacelike127 gravatar imagenoplacelike127 ( 2014-08-06 09:32:21 -0600 )edit

Glad this is resolved!

jpichon gravatar imagejpichon ( 2014-08-06 11:27:31 -0600 )edit

Worked Great. Thanks

Khayam gravatar imageKhayam ( 2015-07-04 08:53:28 -0600 )edit

answered 2018-02-04 23:02:52 -0600

uchihaitachi gravatar image

Check whether you have the following line in your /etc/httpd/conf.d/openstack-dashboard.conf. . WSGIApplicationGroup %{GLOBAL} Because I also faced some problems with Openstack dashboard and it happened that the above line was missing. Once the above line was included in the /etc/httpd/conf.d/openstack-dashboard.conf file the problem was solved. And also check whether your firewall allow the ports.

edit flag offensive delete link more


Thank you, worked with CentOS!

nanasidaniel gravatar imagenanasidaniel ( 2018-10-02 07:34:12 -0600 )edit

answered 2014-08-04 20:54:59 -0600

Can you authenticate using Keystone from your terminal? Also make sure you can resolve FQDN?

We are able to view Horizon & authenticate to Keystone over VPN at all client sites for Grizzly, Havanna & IceHouse.

Sounds like a DNS or Firewall issue; make sure you can perform a nslookup & reverse nslookup from each nameserver... and verify you can hit other nodes in the same range by IP & that the respective ports are open for ingress.

Anything in logs?

edit flag offensive delete link more


I don't think it was related to the firewall as I have no problem access the /nagios directory over the web. And there are no other nodes - it is a single node install. DNS is working fine.

I've given up for now and gone back to devstack on Ubuntu for testing, as that works without issue.

Thanks everyone!

noplacelike127 gravatar imagenoplacelike127 ( 2014-08-05 10:48:55 -0600 )edit

answered 2014-08-03 07:20:01 -0600

Jakub gravatar image

Have you set OPENSTACK_HOST = ip address inside of local_settings?

edit flag offensive delete link more


It was not set. I just tried setting it to and then to the public IP of the physical machine when that did not work. I restarted httpd after each change, but this did not solve the problem.

Note that the login page DOES work, but only from the physical KVM host or from localhost inside the VM.

Thanks for the reply!

noplacelike127 gravatar imagenoplacelike127 ( 2014-08-03 12:54:02 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-02 13:28:26 -0600

Seen: 14,518 times

Last updated: Aug 06 '14