Debian 10 Buster
Sponsored Link

OpenStack Rocky : Configure Horizon2019/08/19

Configure OpenStack Dashboard Service (Horizon).
It's possible to control OpenStack on Web GUI to set Dashboard.
[1] Install Horizon. For questions during installation, it's OK to answer with [No] or input any value to them, Configure all with manualy below.
root@dlp ~(keystone)#
apt -y install openstack-dashboard
[2] Configure Horizon.
root@dlp ~(keystone)#
vi /etc/openstack-dashboard/
# line 39 uncomment and add own hostname

ALLOWED_HOSTS = ['', 'localhost'
# line 65: uncomment and change like follows

#    "data-processing": 1.1,
    "identity": 3,
    "image": 2,
    "volume": 3,
    "compute": 2,

# line 76: uncomment and change

# line 98: uncomment

# line 165: change like follows (for [LOCATION], specify your own Memcache host

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

# line 187: change to your own Host

root@dlp ~(keystone)#
vi /etc/apache2/conf-available/openstack-dashboard.conf
# create new

WSGIScriptAlias / /usr/lib/python3/dist-packages/openstack_dashboard/wsgi/django.wsgi process-group=horizon
WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10 display-name=%{GROUP}
WSGIProcessGroup horizon

Alias /static /var/lib/openstack-dashboard/static/
Alias /horizon/static /var/lib/openstack-dashboard/static/

<Directory /usr/lib/python3/dist-packages/openstack_dashboard/wsgi>
  Require all granted

<Directory /var/lib/openstack-dashboard/static>
  Require all granted

root@dlp ~(keystone)#
a2enconf openstack-dashboard

root@dlp ~(keystone)#
systemctl restart apache2 memcached
Access to the URL below with web browser.
⇒ http://(server's hostname or IP address)/
After accessing, following screen is displayed, then you can login with a user in Keystone. It's possible to use all features if you login with admin user when you set it on keystone bootstrap. If you login with a common user, it's possible to use or manage own instances.
[4] If it's OK to login normally, following screen is displayed (with common user). You can control Openstack on this Dashboard.
[5] To access an instance, Click [Instances] on the left menu.
Then, instances' list is shown on the right, next Click the name of instance you'd like to access.
[6] The description of instance is shown, next, Click [Console] tab.
[7] The console of instance is shown. You can operate instances on here.
Matched Content