Openstack installation : Dashboard – Horizon

Content from “openstack.org”, listed here with minor/no changes – just noting down what I did – online notes.

Install the packages

apt install --assume-yes openstack-dashboard

Edit the /etc/openstack-dashboard/local_settings.py file and complete the following actions:

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

OPENSTACK_HOST = "controller"

In the Dashboard configuration section (Not Ubuntu configuration section), allow your hosts to access Dashboard:

ALLOWED_HOSTS = ['*']

Configure the memcached session storage service (Comment out any other session storage configuration.)

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller:11211',
}
}

Enable the Identity API version 3:

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST

Enable support for domains:

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

Configure API versions:

OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}

Configure Default as the default domain for users that you create via the dashboard:

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"

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

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

If you chose networking option 1, disable support for layer-3 networking services (Not applicable in my case)

OPENSTACK_NEUTRON_NETWORK = {
. . .
'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,
}

Optionally, configure the time zone:

TIME_ZONE = "Asia/Kolkata"

Add the following line to /etc/apache2/conf-available/openstack-dashboard.conf if not included.

WSGIApplicationGroup %{GLOBAL}

Finalize installation : Reload the web server configuration:

service apache2 reload

Verify by accessing : http://controller/horizon, Login with Domain = default, User = admin, password = {password} (whatever was configured)

About sandeep

Passionate about sharing information on "how to".
This entry was posted in Installation / How To, Notes and tagged , , , , , , , , . Bookmark the permalink.