OpenStack – Dashboard installation tutorial (CentOS) (Part 7/9)

At the end of the minimal Train installation, after we are done with the networking services, we will install Dashboard (Horizon) so we can login and manage visually our OpenStack.

This will be done on controller node. Further information can be found here –

I will be installing packaged version.


sudo yum install openstack-dashboard


sudo vi /etc/openstack-dashboard/local_settings

Configure the dashboard to use OpenStack services on the controller node:

OPENSTACK_HOST = "controller"

Allow your hosts to access the dashboard:

ALLOWED_HOSTS = ['', '']

I set * for my access, since this is my lab

ALLOWED_HOSTS can also be [‘*’] to accept all hosts. This may be useful for development work, but is potentially insecure and should not be used in production.

Configure memcached section

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

    'default': {
         'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
         'LOCATION': 'controller:11211',

Some of the values were not in the file, and were not predefined. So I added them either below similar values in the file, or to the bottom of the file.

Enable the Identity API version 3


Enable support for domains


Configure API versions

    "identity": 3,
    "image": 2,
    "volume": 3,

Configure default


Configure user as the default role for users that you create via the dashboard


If you chose networking option 1, disable support for layer-3 networking services:

    'enable_router': False,
    'enable_quotas': False,
    'enable_distributed_router': False,
    'enable_ha_router': False,
    'enable_lb': False,
    'enable_firewall': False,
    'enable_vpn': False,
    'enable_fip_topology_check': False,

Optionally, configure the time zone:


Add the following line to /etc/httpd/conf.d/openstack-dashboard.conf if not included.

sudo vi /etc/httpd/conf.d/openstack-dashboard.conf
WSGIApplicationGroup %{GLOBAL}

We can verify if our setup works after visiting


In my case, no luck

After adding one detail to the /etc/openstack-dashboard/local_settings file. I added it bellow OPENSTACK_KEYSTONE… settings

WEBROOT = '/dashboard/'

Restart httpd service

sudo systemctl restart httpd

Lets try again – SUCCESS!!!

Domain would be (if you went from beggining through my tutorial) default, username admin, and the password is what you defined.

This is more or less all for the basic services. I will install Block storage service (cinder) and that will be it for the basic part of the services.

Block storage service installation – cinder