Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Openstack – Train : Horizon – Dashboard

Posted on October 11, 2020January 30, 2023 by sandeep

<<< Neutron                                                                                                                                             Cinder >>>

On the controller node :

apt install -y openstack-dashboard

Update configurations as shown below in  /etc/openstack-dashboard/local_settings.py

OPENSTACK_HOST = "controller"

You will find two entries of the following configuration – Change the one at the beginning of file

ALLOWED_HOSTS = 'controller'

Uncomment and update the configuration for session engine

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

Update CACHES configuration – Replaced 127.0.0.1 with ‘controller’

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

Add the following configurations

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = { "identity": 3, "image": 2, "volume": 3, }
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

Updated the following configuration in OPENSTACK_NEUTRON_NETWORK settings

OPENSTACK_NEUTRON_NETWORK = {
...
'enable_fip_topology_check': False,
...
'enable_ipv6': False,
...
}

Added the following to OPENSTACK_NEUTRON_NETWORK settings

OPENSTACK_NEUTRON_NETWORK = {
...
'enable_lb': False,
'enable_firewall': False,
'enable_vpn': False
}

Update time zone configuration

TIME_ZONE = "Asia/Kolkata"

Restart apache

systemctl reload apache2.service

If you plan to access the dashboard from a different system ensure ‘controller’ resolves to the management IP of the Openstack Host.  In my case added one entry

10.99.1.3 controller

in my laptop C:\Windows\system32\drivers\etc\hosts file.

Access the dashboard, Domain = default, username is admin (or) homeuser, password is ‘password’  (credentials used while bootstrapping / installing)

 

Default landing page

Just a personal choice, switched to default theme (right top corner)

In the above overview we find that quotas as set to lower values  – Change them

Admin -> System -> Defaults from LHS menu.

Then click on “Update Deafults” button on right top corner.

Update the values and clieck on “Update Defaults” at bottom on dialog to save.

 

 

<<< Neutron                                                                                                                                             Cinder >>>

Recent Posts

  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server
  • Preparing custom Debian 11 server cloud image
  • Complile Linux Kernel (on Debian 11)
  • Openstack Xena – Test Home Lab
  • Openstack Xena on Ubuntu 20.04 – Horizon
  • Openstack Xena on Ubuntu 20.04 -Home Lab
  • Openstack Xena on Ubuntu 20.04 – Neutron
  • Openstack Xena on Ubuntu 20.04 – Nova

Archives

  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2023 Home Lab | Powered by Minimalist Blog WordPress Theme