OpenStack Havana Horizon Dashboard Installation on CentOS 6.4/RHEL 6.4 – Part 2
Installing OpenStack Dashboard (Horizon)
Though it is not an ideal situation but we are going to install our dashboard service on service-stack.linxsol.com. We can also install it on a seprate server without any problems. You just need to assure that your Dashboard can access the Identity Service. To install OpenStack Dashboard:
yum install memecached python-memcached mod_wsgi openstack-dashboard
For memecached, we need to change the settings in /etc/openstack-dashboard/local_settings according to the settings defined in /etc/sysconfig/memcached.conf:
Seach for CACHES in /etc/openstack-dashboard/local_settings and make sure in the ‘LOCATION’ matches to address and port number defined in memcached.conf file.
Update Allowed hosts to the hosts you want to access dashboard from:
ALLOWED_HOSTS = [‘localhost’, ‘cloud-stack.linxsol.com‘]
Also change:
OPENSTACK_HOST = “127.0.0.1” to OPENSTACK_HOST = “http://service-stack.linxsol.com“
Start the webserver and memecached:
service httpd start
service memcached start
chkconfig httpd on
chkconfig memcached on
Note: We need to speicify a host in the ALLOWED_HOST file from where we are going to access OpenStack Dashboard, it will not work otherwise.
Access http://service-stack.linxsol.com/dashboard in your browser.
Note: In case you see the OpenStack Dashboard login page but you are not able to login try disabling your SeLinux settings though it is not recommended.
##############################################################################