Openstack Liberty Lab Part Seven: Configure Horizon Dashboard Service

Cpanel/Whm License $3/mo Plesk License $10/mo Cloudlinux License $5/mo

(: August 12, 2017)

Openstack Horizon service is just a web interface that enables cloud administrators and users to manage various OpenStack resources and services.It is powered by django which is a popular web framework.
The Dashboard provides web-based interactions with the OpenStack Compute cloud controller through the OpenStack APIs.
You can customize the dashboard to your liking with Horizon.Core classes and reusable templates and tools are available at your disposal.
Since we’ve installed major Openstack components from previous Openstack Lab guide series, it’s time to easen management of our cloud by bringing Dashboard into the mix.
Previous Articles are:

Openstack Liberty Lab Part One: Setup Networking and all Prerequisites

Openstack Liberty Lab Part Two: Install Openstack Packages

Openstack Liberty Lab Part Three: Configuring Keystone identity service

Openstack Liberty Lab Part Four: Configuring Glance Image Service

Openstack Liberty Lab Part Five: Configure Nova Compute Service

Openstack Liberty Lab Part Six: Configure Neutron Network Service

It’s easy to setup Openstack Horizon service,Packages to be installed are available in Part Two of this series. After installing, Configure it as shown below:

[[email protected] ~]# vim /etc/openstack-dashboard/local_settings

Modify sections given here:{text-align:left} img{margin:0 auto 0 0}
  • Change Openstack Host to ip address of the controller/server.
  • Allow connection to Dashboard from any host:

You can also allow only specified ip addresses.

  • Configure Memcache to look like this:

'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
  •  Set Timezone to the one used by the server:
TIME_ZONE = "Africa/Nairobi"
  • Openstack Neutron Patameters:



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

Restart httpd and memcached to effect changes made:

[[email protected] ~]# systemctl restart httpd.service memcached.service

Start and enable novncproxy:

[[email protected] ~]#  systemctl start openstack-nova-novncproxy
[[email protected] ~]#  systemctl enable openstack-nova-novncproxy
  • Change ownership of /usr/share/openstack-dashboard/staticto apache user.
[[email protected] ~]# chown -R apache. /usr/share/openstack-dashboard/static

Configure vnc if you didn’t do it on nova configuration part:

openstack-config --set /etc/nova/nova.conf vnc enabled True 
openstack-config --set /etc/nova/nova.conf vnc vncserver_listen 
openstack-config --set /etc/nova/nova.conf vnc vncserver_proxyclient_address
openstack-config --set /etc/nova/nova.conf vnc novncproxy_base_url

You may now access Dashboard by typing:


Login with user admin and password you set in step 3 for admin user.

Openstack Liberty Lab Part Six: Configure Neutron Network Service

NEXT ARTICLE:{text-align:left} img{margin:0 auto 0 0}

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More